mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
qemuxml2xmltest: Use same parameters as in qemuxml2argvtest for 'riscv64-virt'
The main idea of the test is to validate config when PCIe is compiled out. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
03be1ce8cd
commit
6443d77239
@ -20,24 +20,8 @@
|
|||||||
<driver name='qemu' type='raw'/>
|
<driver name='qemu' type='raw'/>
|
||||||
<source file='/var/lib/libvirt/images/stage4-disk.img'/>
|
<source file='/var/lib/libvirt/images/stage4-disk.img'/>
|
||||||
<target dev='vda' bus='virtio'/>
|
<target dev='vda' bus='virtio'/>
|
||||||
<address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
|
<address type='virtio-mmio'/>
|
||||||
</disk>
|
</disk>
|
||||||
<controller type='pci' index='0' model='pcie-root'/>
|
|
||||||
<controller type='pci' index='1' model='pcie-root-port'>
|
|
||||||
<model name='pcie-root-port'/>
|
|
||||||
<target chassis='1' port='0x8'/>
|
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/>
|
|
||||||
</controller>
|
|
||||||
<controller type='pci' index='2' model='pcie-root-port'>
|
|
||||||
<model name='pcie-root-port'/>
|
|
||||||
<target chassis='2' port='0x9'/>
|
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
|
|
||||||
</controller>
|
|
||||||
<controller type='pci' index='3' model='pcie-root-port'>
|
|
||||||
<model name='pcie-root-port'/>
|
|
||||||
<target chassis='3' port='0xa'/>
|
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
|
|
||||||
</controller>
|
|
||||||
<serial type='pty'>
|
<serial type='pty'>
|
||||||
<target type='system-serial' port='0'>
|
<target type='system-serial' port='0'>
|
||||||
<model name='16550a'/>
|
<model name='16550a'/>
|
||||||
@ -48,7 +32,7 @@
|
|||||||
</console>
|
</console>
|
||||||
<audio id='1' type='none'/>
|
<audio id='1' type='none'/>
|
||||||
<memballoon model='virtio'>
|
<memballoon model='virtio'>
|
||||||
<address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
|
<address type='virtio-mmio'/>
|
||||||
</memballoon>
|
</memballoon>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -904,7 +904,10 @@ mymain(void)
|
|||||||
DO_TEST_CAPS_LATEST("vhost-user-fs-hugepages");
|
DO_TEST_CAPS_LATEST("vhost-user-fs-hugepages");
|
||||||
DO_TEST_CAPS_LATEST("vhost-user-fs-sock");
|
DO_TEST_CAPS_LATEST("vhost-user-fs-sock");
|
||||||
|
|
||||||
DO_TEST_CAPS_ARCH_LATEST("riscv64-virt", "riscv64");
|
DO_TEST_CAPS_ARCH_LATEST_FULL("riscv64-virt", "riscv64",
|
||||||
|
ARG_QEMU_CAPS_DEL,
|
||||||
|
QEMU_CAPS_OBJECT_GPEX,
|
||||||
|
QEMU_CAPS_LAST);
|
||||||
DO_TEST_CAPS_ARCH_LATEST("riscv64-virt-pci", "riscv64");
|
DO_TEST_CAPS_ARCH_LATEST("riscv64-virt-pci", "riscv64");
|
||||||
|
|
||||||
DO_TEST_CAPS_LATEST("x86-kvm-32-on-64");
|
DO_TEST_CAPS_LATEST("x86-kvm-32-on-64");
|
||||||
|
Loading…
Reference in New Issue
Block a user