mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
tests: qemuxml2xml: Convert virtio-*transitional to TEST_CAPS
Convert these test cases to use DO_TEST_CAPS_LATEST * virtio-transitional * virtio-non-transitional Reviewed-by: Andrea Bolognani <abologna@redhat.com> Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
parent
bbd1f171d3
commit
7339f4d79b
@ -1319,24 +1319,8 @@ mymain(void)
|
||||
DO_TEST("riscv64-virt-pci",
|
||||
QEMU_CAPS_OBJECT_GPEX);
|
||||
|
||||
DO_TEST("virtio-transitional",
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY,
|
||||
QEMU_CAPS_DEVICE_PCIE_PCI_BRIDGE,
|
||||
QEMU_CAPS_DEVICE_PCIE_ROOT_PORT,
|
||||
QEMU_CAPS_DEVICE_VIRTIO_RNG,
|
||||
QEMU_CAPS_VIRTIO_PCI_DISABLE_LEGACY,
|
||||
QEMU_CAPS_DEVICE_VHOST_VSOCK,
|
||||
QEMU_CAPS_VIRTIO_INPUT_HOST,
|
||||
QEMU_CAPS_VIRTIO_SCSI);
|
||||
DO_TEST("virtio-non-transitional",
|
||||
QEMU_CAPS_DEVICE_VIDEO_PRIMARY,
|
||||
QEMU_CAPS_DEVICE_PCIE_PCI_BRIDGE,
|
||||
QEMU_CAPS_DEVICE_PCIE_ROOT_PORT,
|
||||
QEMU_CAPS_DEVICE_VIRTIO_RNG,
|
||||
QEMU_CAPS_VIRTIO_PCI_DISABLE_LEGACY,
|
||||
QEMU_CAPS_DEVICE_VHOST_VSOCK,
|
||||
QEMU_CAPS_VIRTIO_INPUT_HOST,
|
||||
QEMU_CAPS_VIRTIO_SCSI);
|
||||
DO_TEST_CAPS_LATEST("virtio-transitional");
|
||||
DO_TEST_CAPS_LATEST("virtio-non-transitional");
|
||||
|
||||
if (getenv("LIBVIRT_SKIP_CLEANUP") == NULL)
|
||||
virFileDeleteTree(fakerootdir);
|
||||
|
Loading…
x
Reference in New Issue
Block a user