mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 21:34:54 +03:00
656d88f906
This test case shows that we now reject invalid spapr-vio addresses. Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
18 lines
562 B
XML
18 lines
562 B
XML
<domain type='qemu'>
|
|
<name>guest</name>
|
|
<uuid>b35969f7-e7cf-4d90-a9a0-4dd9000f9824</uuid>
|
|
<memory unit='KiB'>4194304</memory>
|
|
<vcpu placement='static'>4</vcpu>
|
|
<os>
|
|
<type arch='ppc64le' machine='pseries'>hvm</type>
|
|
</os>
|
|
<devices>
|
|
<emulator>/usr/bin/qemu-system-ppc64</emulator>
|
|
<serial type='pty'>
|
|
<!-- spapr-vio addresses are 32-bit, so they can go up to 0xffffffff:
|
|
the value below is too big and should be rejected -->
|
|
<address type='spapr-vio' reg='0x0000000100000000'/>
|
|
</serial>
|
|
</devices>
|
|
</domain>
|