From: Michal Privoznik Date: Fri, 1 Dec 2017 14:18:49 +0000 (+0100) Subject: tests: Drop qemuxml2argv- prefix for qemuxml2argv-*.xml test cases X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=2e02f2b2df45e314f7be5d7e651e1d9fa44ebd44;p=libvirt.git tests: Drop qemuxml2argv- prefix for qemuxml2argv-*.xml test cases These XMLs live in a separate directory, there's no need for them to have a special prefix in addition. It also doesn't play nicely with ':e' completion in Vim, finding proper file based on qemuxml2argvtest.c is also needlessly complicated. The files were renamed using the following commands. From qemuxml2argvdata: for i in qemuxml2argv-*.xml; do mv $i ${i#qemuxml2argv-}; done and then (to fix broken symlinks) from qemuxml2argvdata and qemuxml2xmloutdata: for i in $(find . -xtype l); do \ ln -sf $(readlink $i | sed 's/qemuxml2argv-//') $i; done Signed-off-by: Michal Privoznik --- diff --git a/tests/qemuxml2argvdata/440fx-ide-address-conflict.xml b/tests/qemuxml2argvdata/440fx-ide-address-conflict.xml new file mode 100644 index 0000000000..4195880aac --- /dev/null +++ b/tests/qemuxml2argvdata/440fx-ide-address-conflict.xml @@ -0,0 +1,25 @@ + + QEMUGuest1 + c7a5fdbd-edaf-9455-926a-d65c16db1809 + 219100 + 219100 + + hvm + + + + destroy + restart + destroy + + /usr/bin/qemu-system-i686 + + + + + + +
+ + + diff --git a/tests/qemuxml2argvdata/440fx-wrong-root.xml b/tests/qemuxml2argvdata/440fx-wrong-root.xml new file mode 100644 index 0000000000..8e4802d557 --- /dev/null +++ b/tests/qemuxml2argvdata/440fx-wrong-root.xml @@ -0,0 +1,28 @@ + + QEMUGuest1 + c7a5fdbd-edaf-9455-926a-d65c16db1809 + A description of the test machine. + + A test of qemu's minimal configuration. + This test also tests the description and title elements. + + 219100 + 219100 + + hvm + + + + destroy + restart + destroy + + /usr/bin/qemu-system-i686 + + + + + + + + diff --git a/tests/qemuxml2argvdata/aarch64-aavmf-virtio-mmio.xml b/tests/qemuxml2argvdata/aarch64-aavmf-virtio-mmio.xml new file mode 100644 index 0000000000..5d7217307b --- /dev/null +++ b/tests/qemuxml2argvdata/aarch64-aavmf-virtio-mmio.xml @@ -0,0 +1,49 @@ + + aarch64test + 496d7ea8-9739-544b-4ebd-ef08be936e8b + 1048576 + 1048576 + 1 + + hvm + /aarch64.kernel + /aarch64.initrd + earlyprintk console=ttyAMA0,115200n8 rw root=/dev/vda rootwait + /aarch64.dtb + + + + + + + + + cortex-a53 + + + destroy + restart + restart + + /usr/bin/qemu-system-aarch64 + + + +
+ + + + + + + + + + +
+ + + /dev/random + + + diff --git a/tests/qemuxml2argvdata/aarch64-acpi-nouefi.xml b/tests/qemuxml2argvdata/aarch64-acpi-nouefi.xml new file mode 100644 index 0000000000..cda1b1bdc6 --- /dev/null +++ b/tests/qemuxml2argvdata/aarch64-acpi-nouefi.xml @@ -0,0 +1,22 @@ + + guest + 496d7ea8-9739-544b-4ebd-ef08be936e8b + 1048576 + 1 + + hvm + /var/lib/libvirt/images/guest.vmlinuz + /var/lib/libvirt/images/guest.initramfs + console=ttyAMA0 rw root=/dev/vda rootwait + + + + + + cortex-a57 + + + /usr/bin/qemu-system-aarch64 + + + diff --git a/tests/qemuxml2argvdata/aarch64-acpi-uefi.xml b/tests/qemuxml2argvdata/aarch64-acpi-uefi.xml new file mode 100644 index 0000000000..5de2eb5d3c --- /dev/null +++ b/tests/qemuxml2argvdata/aarch64-acpi-uefi.xml @@ -0,0 +1,21 @@ + + guest + 496d7ea8-9739-544b-4ebd-ef08be936e8b + 1048576 + 1 + + hvm + /usr/share/AAVMF/AAVMF_CODE.fd + /var/lib/libvirt/qemu/nvram/guest_VARS.fd + + + + + + cortex-a57 + + + /usr/bin/qemu-system-aarch64 + + + diff --git a/tests/qemuxml2argvdata/aarch64-cpu-passthrough.xml b/tests/qemuxml2argvdata/aarch64-cpu-passthrough.xml new file mode 100644 index 0000000000..0dda095049 --- /dev/null +++ b/tests/qemuxml2argvdata/aarch64-cpu-passthrough.xml @@ -0,0 +1,26 @@ + + aarch64test + 496d7ea8-9739-544b-4ebd-ef08be936e8b + 1048576 + 1048576 + 1 + + hvm + + + + + + + + destroy + restart + restart + + /usr/bin/qemu-system-aarch64 + + + + + + diff --git a/tests/qemuxml2argvdata/aarch64-gic-default.xml b/tests/qemuxml2argvdata/aarch64-gic-default.xml new file mode 100644 index 0000000000..b219972b38 --- /dev/null +++ b/tests/qemuxml2argvdata/aarch64-gic-default.xml @@ -0,0 +1,22 @@ + + aarch64test + 6ba410c5-1e5c-4d57-bee7-2228e7ffa32f + 1048576 + 1048576 + 1 + + hvm + + + + + + + + destroy + restart + destroy + + /usr/bin/qemu-system-aarch64 + + diff --git a/tests/qemuxml2argvdata/aarch64-gic-host.xml b/tests/qemuxml2argvdata/aarch64-gic-host.xml new file mode 100644 index 0000000000..b14d14281f --- /dev/null +++ b/tests/qemuxml2argvdata/aarch64-gic-host.xml @@ -0,0 +1,22 @@ + + aarch64test + 6ba410c5-1e5c-4d57-bee7-2228e7ffa32f + 1048576 + 1048576 + 1 + + hvm + + + + + + + + destroy + restart + destroy + + /usr/bin/qemu-system-aarch64 + + diff --git a/tests/qemuxml2argvdata/aarch64-gic-invalid.xml b/tests/qemuxml2argvdata/aarch64-gic-invalid.xml new file mode 100644 index 0000000000..1cf9ea88db --- /dev/null +++ b/tests/qemuxml2argvdata/aarch64-gic-invalid.xml @@ -0,0 +1,22 @@ + + aarch64test + 6ba410c5-1e5c-4d57-bee7-2228e7ffa32f + 1048576 + 1048576 + 1 + + hvm + + + + + + + + destroy + restart + destroy + + /usr/bin/qemu-system-aarch64 + + diff --git a/tests/qemuxml2argvdata/aarch64-gic-none-both.xml b/tests/qemuxml2argvdata/aarch64-gic-none-both.xml new file mode 120000 index 0000000000..6108e04018 --- /dev/null +++ b/tests/qemuxml2argvdata/aarch64-gic-none-both.xml @@ -0,0 +1 @@ +aarch64-gic-none.xml \ No newline at end of file diff --git a/tests/qemuxml2argvdata/aarch64-gic-none-tcg.xml b/tests/qemuxml2argvdata/aarch64-gic-none-tcg.xml new file mode 100644 index 0000000000..0aa33dbec9 --- /dev/null +++ b/tests/qemuxml2argvdata/aarch64-gic-none-tcg.xml @@ -0,0 +1,17 @@ + + guest + 6ba410c5-1e5c-4d57-bee7-2228e7ffa32f + 1048576 + 1 + + hvm + + + + cortex-a57 + + + /usr/bin/qemu-system-aarch64 + + + diff --git a/tests/qemuxml2argvdata/aarch64-gic-none-v2.xml b/tests/qemuxml2argvdata/aarch64-gic-none-v2.xml new file mode 120000 index 0000000000..6108e04018 --- /dev/null +++ b/tests/qemuxml2argvdata/aarch64-gic-none-v2.xml @@ -0,0 +1 @@ +aarch64-gic-none.xml \ No newline at end of file diff --git a/tests/qemuxml2argvdata/aarch64-gic-none-v3.xml b/tests/qemuxml2argvdata/aarch64-gic-none-v3.xml new file mode 120000 index 0000000000..93a0febf51 --- /dev/null +++ b/tests/qemuxml2argvdata/aarch64-gic-none-v3.xml @@ -0,0 +1 @@ +aarch64-gic-none-v2.xml \ No newline at end of file diff --git a/tests/qemuxml2argvdata/aarch64-gic-none.xml b/tests/qemuxml2argvdata/aarch64-gic-none.xml new file mode 100644 index 0000000000..272d0c8575 --- /dev/null +++ b/tests/qemuxml2argvdata/aarch64-gic-none.xml @@ -0,0 +1,19 @@ + + aarch64test + 6ba410c5-1e5c-4d57-bee7-2228e7ffa32f + 1048576 + 1048576 + 1 + + hvm + + + + + destroy + restart + destroy + + /usr/bin/qemu-system-aarch64 + + diff --git a/tests/qemuxml2argvdata/aarch64-gic-not-arm.xml b/tests/qemuxml2argvdata/aarch64-gic-not-arm.xml new file mode 100644 index 0000000000..3b907bc411 --- /dev/null +++ b/tests/qemuxml2argvdata/aarch64-gic-not-arm.xml @@ -0,0 +1,22 @@ + + aarch64test + 6ba410c5-1e5c-4d57-bee7-2228e7ffa32f + 1048576 + 1048576 + 1 + + hvm + + + + + + + + destroy + restart + destroy + + /usr/bin/qemu-system-ppc64 + + diff --git a/tests/qemuxml2argvdata/aarch64-gic-not-virt.xml b/tests/qemuxml2argvdata/aarch64-gic-not-virt.xml new file mode 100644 index 0000000000..256664ed84 --- /dev/null +++ b/tests/qemuxml2argvdata/aarch64-gic-not-virt.xml @@ -0,0 +1,22 @@ + + aarch64test + 6ba410c5-1e5c-4d57-bee7-2228e7ffa32f + 1048576 + 1048576 + 1 + + hvm + + + + + + + + destroy + restart + destroy + + /usr/bin/qemu-system-aarch64 + + diff --git a/tests/qemuxml2argvdata/aarch64-gic-v2.xml b/tests/qemuxml2argvdata/aarch64-gic-v2.xml new file mode 100644 index 0000000000..8b99837522 --- /dev/null +++ b/tests/qemuxml2argvdata/aarch64-gic-v2.xml @@ -0,0 +1,22 @@ + + aarch64test + 6ba410c5-1e5c-4d57-bee7-2228e7ffa32f + 1048576 + 1048576 + 1 + + hvm + + + + + + + + destroy + restart + destroy + + /usr/bin/qemu-system-aarch64 + + diff --git a/tests/qemuxml2argvdata/aarch64-gic-v3.xml b/tests/qemuxml2argvdata/aarch64-gic-v3.xml new file mode 100644 index 0000000000..bde94e16c0 --- /dev/null +++ b/tests/qemuxml2argvdata/aarch64-gic-v3.xml @@ -0,0 +1,22 @@ + + aarch64test + 6ba410c5-1e5c-4d57-bee7-2228e7ffa32f + 1048576 + 1048576 + 1 + + hvm + + + + + + + + destroy + restart + destroy + + /usr/bin/qemu-system-aarch64 + + diff --git a/tests/qemuxml2argvdata/aarch64-kvm-32-on-64.xml b/tests/qemuxml2argvdata/aarch64-kvm-32-on-64.xml new file mode 100644 index 0000000000..0df5e4c926 --- /dev/null +++ b/tests/qemuxml2argvdata/aarch64-kvm-32-on-64.xml @@ -0,0 +1,35 @@ + + armtest + 496d7ea8-9739-544b-4ebd-ef08be936e6a + 1048576 + 1048576 + 1 + + hvm + /arm.kernel + /arm.initrd + console=ttyAMA0,115200n8 rw root=/dev/vda rootwait physmap.enabled=0 + + + + + + + + + destroy + restart + restart + + /usr/bin/qemu-system-arm + + + + + + + + + + + diff --git a/tests/qemuxml2argvdata/aarch64-noacpi-nouefi.xml b/tests/qemuxml2argvdata/aarch64-noacpi-nouefi.xml new file mode 100644 index 0000000000..e8551ed2d9 --- /dev/null +++ b/tests/qemuxml2argvdata/aarch64-noacpi-nouefi.xml @@ -0,0 +1,19 @@ + + guest + 496d7ea8-9739-544b-4ebd-ef08be936e8b + 1048576 + 1 + + hvm + /var/lib/libvirt/images/guest.vmlinuz + /var/lib/libvirt/images/guest.initramfs + console=ttyAMA0 rw root=/dev/vda rootwait + + + cortex-a57 + + + /usr/bin/qemu-system-aarch64 + + + diff --git a/tests/qemuxml2argvdata/aarch64-noacpi-uefi.xml b/tests/qemuxml2argvdata/aarch64-noacpi-uefi.xml new file mode 100644 index 0000000000..e66b805da4 --- /dev/null +++ b/tests/qemuxml2argvdata/aarch64-noacpi-uefi.xml @@ -0,0 +1,18 @@ + + guest + 496d7ea8-9739-544b-4ebd-ef08be936e8b + 1048576 + 1 + + hvm + /usr/share/AAVMF/AAVMF_CODE.fd + /var/lib/libvirt/qemu/nvram/guest_VARS.fd + + + cortex-a57 + + + /usr/bin/qemu-system-aarch64 + + + diff --git a/tests/qemuxml2argvdata/aarch64-pci-serial.xml b/tests/qemuxml2argvdata/aarch64-pci-serial.xml new file mode 100644 index 0000000000..0df12102c9 --- /dev/null +++ b/tests/qemuxml2argvdata/aarch64-pci-serial.xml @@ -0,0 +1,16 @@ + + aarch64test + 496d7ea8-9739-544b-4ebd-ef08be936e8b + 1048576 + 1 + + hvm + + + /usr/bin/qemu-system-aarch64 + + + + + + diff --git a/tests/qemuxml2argvdata/aarch64-usb-controller-nec-xhci.xml b/tests/qemuxml2argvdata/aarch64-usb-controller-nec-xhci.xml new file mode 100644 index 0000000000..1b7320f433 --- /dev/null +++ b/tests/qemuxml2argvdata/aarch64-usb-controller-nec-xhci.xml @@ -0,0 +1,16 @@ + + QEMUGuest1 + c7a5fdbd-edaf-9455-926a-d65c16db1809 + 219100 + 1 + + hvm + + + /usr/bin/qemu-system-aarch64 + +
+ + + + diff --git a/tests/qemuxml2argvdata/aarch64-usb-controller-qemu-xhci.xml b/tests/qemuxml2argvdata/aarch64-usb-controller-qemu-xhci.xml new file mode 100644 index 0000000000..1b7320f433 --- /dev/null +++ b/tests/qemuxml2argvdata/aarch64-usb-controller-qemu-xhci.xml @@ -0,0 +1,16 @@ + + QEMUGuest1 + c7a5fdbd-edaf-9455-926a-d65c16db1809 + 219100 + 1 + + hvm + + + /usr/bin/qemu-system-aarch64 + +
+ + + + diff --git a/tests/qemuxml2argvdata/aarch64-video-default.xml b/tests/qemuxml2argvdata/aarch64-video-default.xml new file mode 100644 index 0000000000..bc4ea48f09 --- /dev/null +++ b/tests/qemuxml2argvdata/aarch64-video-default.xml @@ -0,0 +1,17 @@ + + aarch64-vgpu + f3197c89-6457-44fe-b26d-897090ba6541 + 1048576 + 1048576 + 1 + + hvm + + + cortex-a57 + + + /usr/bin/qemu-system-aarch64 + + + diff --git a/tests/qemuxml2argvdata/aarch64-video-virtio-gpu-pci.xml b/tests/qemuxml2argvdata/aarch64-video-virtio-gpu-pci.xml new file mode 100644 index 0000000000..3695ebef70 --- /dev/null +++ b/tests/qemuxml2argvdata/aarch64-video-virtio-gpu-pci.xml @@ -0,0 +1,33 @@ + + aarch64-vgpu + f3197c89-6457-44fe-b26d-897090ba6541 + 1048576 + 1048576 + 1 + + hvm + + + cortex-a57 + + + /usr/bin/qemu-system-aarch64 + + +
+ + +
+ + + + + +
+ +