]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuxml2(argv|xml)test: Modernize testing of USB controllers on aarch64
authorPeter Krempa <pkrempa@redhat.com>
Fri, 24 Mar 2023 15:33:06 +0000 (16:33 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 11 Apr 2023 08:08:32 +0000 (10:08 +0200)
commit24499071121a7cf5bc88e7c8a210f896a0571a71
treeb91aed2f161027289a416bdaafd5af7459b26b8e
parentc42753524ed57d64e3a431f9c8ed3fc5308abfd5
qemuxml2(argv|xml)test: Modernize testing of USB controllers on aarch64

All supported qemu versions at this point support both 'qemu-xhci' and
'nec-xhci' controllers. To allow using real capabilities restructure the
tests so that we test both controllers explicitly as well as the
selection of the default model.

Also add a xml2xml test invocation of the unified test.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tests/qemuxml2argvdata/aarch64-usb-controller-qemu-xhci.args [deleted file]
tests/qemuxml2argvdata/aarch64-usb-controller-qemu-xhci.xml [deleted file]
tests/qemuxml2argvdata/aarch64-usb-controller.aarch64-latest.args [moved from tests/qemuxml2argvdata/aarch64-usb-controller-nec-xhci.args with 55% similarity]
tests/qemuxml2argvdata/aarch64-usb-controller.xml [moved from tests/qemuxml2argvdata/aarch64-usb-controller-nec-xhci.xml with 61% similarity]
tests/qemuxml2argvtest.c
tests/qemuxml2xmloutdata/aarch64-usb-controller.aarch64-latest.xml [new file with mode: 0644]
tests/qemuxml2xmltest.c