tests: Check GIC-related XMLs in qemuxml2xmltest

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
Martin Kletzander 2015-09-30 16:36:24 +02:00
parent a9fe620372
commit 7d19413955
3 changed files with 39 additions and 24 deletions

View File

@ -1,26 +1,32 @@
<domain type="qemu"> <domain type='qemu'>
<name>aarch64test</name> <name>aarch64test</name>
<uuid>6ba410c5-1e5c-4d57-bee7-2228e7ffa32f</uuid> <uuid>6ba410c5-1e5c-4d57-bee7-2228e7ffa32f</uuid>
<memory>1048576</memory> <memory unit='KiB'>1048576</memory>
<currentMemory>1048576</currentMemory> <currentMemory unit='KiB'>1048576</currentMemory>
<vcpu>1</vcpu> <vcpu placement='static'>1</vcpu>
<os>
<type arch='aarch64' machine='virt'>hvm</type>
<kernel>/aarch64.kernel</kernel>
<initrd>/aarch64.initrd</initrd>
<cmdline>console=ttyAMA0</cmdline>
<boot dev='hd'/>
</os>
<features> <features>
<acpi/> <acpi/>
<gic version='2'/> <gic version='2'/>
</features> </features>
<cpu match='exact'> <cpu mode='custom' match='exact'>
<model>cortex-a53</model> <model fallback='allow'>cortex-a53</model>
</cpu> </cpu>
<os> <clock offset='utc'/>
<type arch="aarch64" machine="virt">hvm</type> <on_poweroff>destroy</on_poweroff>
<kernel>/aarch64.kernel</kernel> <on_reboot>restart</on_reboot>
<initrd>/aarch64.initrd</initrd> <on_crash>destroy</on_crash>
<cmdline>console=ttyAMA0</cmdline>
</os>
<devices> <devices>
<emulator>/usr/bin/qemu-system-aarch64</emulator> <emulator>/usr/bin/qemu-system-aarch64</emulator>
<interface type='user'> <interface type='user'>
<mac address='52:54:00:09:a4:37'/> <mac address='52:54:00:09:a4:37'/>
<model type='virtio'/>
</interface> </interface>
</devices> </devices>
</domain> </domain>

View File

@ -1,26 +1,32 @@
<domain type="qemu"> <domain type='qemu'>
<name>aarch64test</name> <name>aarch64test</name>
<uuid>6ba410c5-1e5c-4d57-bee7-2228e7ffa32f</uuid> <uuid>6ba410c5-1e5c-4d57-bee7-2228e7ffa32f</uuid>
<memory>1048576</memory> <memory unit='KiB'>1048576</memory>
<currentMemory>1048576</currentMemory> <currentMemory unit='KiB'>1048576</currentMemory>
<vcpu>1</vcpu> <vcpu placement='static'>1</vcpu>
<os>
<type arch='aarch64' machine='virt'>hvm</type>
<kernel>/aarch64.kernel</kernel>
<initrd>/aarch64.initrd</initrd>
<cmdline>console=ttyAMA0</cmdline>
<boot dev='hd'/>
</os>
<features> <features>
<acpi/> <acpi/>
<gic version='3'/> <gic version='3'/>
</features> </features>
<cpu match='exact'> <cpu mode='custom' match='exact'>
<model>cortex-a53</model> <model fallback='allow'>cortex-a53</model>
</cpu> </cpu>
<os> <clock offset='utc'/>
<type arch="aarch64" machine="virt">hvm</type> <on_poweroff>destroy</on_poweroff>
<kernel>/aarch64.kernel</kernel> <on_reboot>restart</on_reboot>
<initrd>/aarch64.initrd</initrd> <on_crash>destroy</on_crash>
<cmdline>console=ttyAMA0</cmdline>
</os>
<devices> <devices>
<emulator>/usr/bin/qemu-system-aarch64</emulator> <emulator>/usr/bin/qemu-system-aarch64</emulator>
<interface type='user'> <interface type='user'>
<mac address='52:54:00:09:a4:37'/> <mac address='52:54:00:09:a4:37'/>
<model type='virtio'/>
</interface> </interface>
</devices> </devices>
</domain> </domain>

View File

@ -625,6 +625,9 @@ mymain(void)
DO_TEST("smbios-multiple-type2"); DO_TEST("smbios-multiple-type2");
DO_TEST("aarch64-aavmf-virtio-mmio"); DO_TEST("aarch64-aavmf-virtio-mmio");
DO_TEST("aarch64-gic");
DO_TEST("aarch64-gicv3");
DO_TEST("memory-hotplug"); DO_TEST("memory-hotplug");
DO_TEST("memory-hotplug-nonuma"); DO_TEST("memory-hotplug-nonuma");
DO_TEST("memory-hotplug-dimm"); DO_TEST("memory-hotplug-dimm");