diff --git a/tests/qemuxml2xmloutdata/disk-cache.xml b/tests/qemuxml2xmloutdata/disk-cache.x86_64-1.5.3.xml similarity index 97% rename from tests/qemuxml2xmloutdata/disk-cache.xml rename to tests/qemuxml2xmloutdata/disk-cache.x86_64-1.5.3.xml index a622db347e..749b931e42 100644 --- a/tests/qemuxml2xmloutdata/disk-cache.xml +++ b/tests/qemuxml2xmloutdata/disk-cache.x86_64-1.5.3.xml @@ -43,7 +43,7 @@ - +
diff --git a/tests/qemuxml2xmloutdata/disk-cache.x86_64-2.12.0.xml b/tests/qemuxml2xmloutdata/disk-cache.x86_64-2.12.0.xml new file mode 100644 index 0000000000..880eb71d04 --- /dev/null +++ b/tests/qemuxml2xmloutdata/disk-cache.x86_64-2.12.0.xml @@ -0,0 +1,60 @@ + + QEMUGuest1 + c7a5fdbd-edaf-9455-926a-d65c16db1809 + 219136 + 219136 + 1 + + hvm + + + + destroy + restart + destroy + + /usr/bin/qemu-system-x86_64 + + + + +
+ + + + + +
+ + + + + +
+ + + + + +
+ + + + + + + +
+ + +
+ + + +
+ + + + + + diff --git a/tests/qemuxml2xmloutdata/disk-cache.x86_64-2.6.0.xml b/tests/qemuxml2xmloutdata/disk-cache.x86_64-2.6.0.xml new file mode 100644 index 0000000000..880eb71d04 --- /dev/null +++ b/tests/qemuxml2xmloutdata/disk-cache.x86_64-2.6.0.xml @@ -0,0 +1,60 @@ + + QEMUGuest1 + c7a5fdbd-edaf-9455-926a-d65c16db1809 + 219136 + 219136 + 1 + + hvm + + + + destroy + restart + destroy + + /usr/bin/qemu-system-x86_64 + + + + +
+ + + + + +
+ + + + + +
+ + + + + +
+ + + + + + + +
+ + +
+ + + +
+ + + + + + diff --git a/tests/qemuxml2xmloutdata/disk-cache.x86_64-2.7.0.xml b/tests/qemuxml2xmloutdata/disk-cache.x86_64-2.7.0.xml new file mode 100644 index 0000000000..880eb71d04 --- /dev/null +++ b/tests/qemuxml2xmloutdata/disk-cache.x86_64-2.7.0.xml @@ -0,0 +1,60 @@ + + QEMUGuest1 + c7a5fdbd-edaf-9455-926a-d65c16db1809 + 219136 + 219136 + 1 + + hvm + + + + destroy + restart + destroy + + /usr/bin/qemu-system-x86_64 + + + + +
+ + + + + +
+ + + + + +
+ + + + + +
+ + + + + + + +
+ + +
+ + + +
+ + + + + + diff --git a/tests/qemuxml2xmloutdata/disk-cache.x86_64-latest.xml b/tests/qemuxml2xmloutdata/disk-cache.x86_64-latest.xml new file mode 100644 index 0000000000..e992d9db1c --- /dev/null +++ b/tests/qemuxml2xmloutdata/disk-cache.x86_64-latest.xml @@ -0,0 +1,63 @@ + + QEMUGuest1 + c7a5fdbd-edaf-9455-926a-d65c16db1809 + 219136 + 219136 + 1 + + hvm + + + + qemu64 + + + destroy + restart + destroy + + /usr/bin/qemu-system-x86_64 + + + + +
+ + + + + +
+ + + + + +
+ + + + + +
+ + + + + + + +
+ + +
+ + + +
+ + + + + + diff --git a/tests/qemuxml2xmltest.c b/tests/qemuxml2xmltest.c index 65ffaf9cfc..2c62de8fe8 100644 --- a/tests/qemuxml2xmltest.c +++ b/tests/qemuxml2xmltest.c @@ -321,7 +321,11 @@ mymain(void) DO_TEST("disk-boot-cdrom", NONE); DO_TEST("disk-error-policy", NONE); DO_TEST("disk-fmt-qcow", NONE); - DO_TEST("disk-cache", QEMU_CAPS_SCSI_LSI); + DO_TEST_CAPS_VER("disk-cache", "1.5.3"); + DO_TEST_CAPS_VER("disk-cache", "2.6.0"); + DO_TEST_CAPS_VER("disk-cache", "2.7.0"); + DO_TEST_CAPS_VER("disk-cache", "2.12.0"); + DO_TEST_CAPS_LATEST("disk-cache"); DO_TEST("disk-network-nbd", NONE); DO_TEST("disk-network-iscsi", QEMU_CAPS_VIRTIO_SCSI); DO_TEST("disk-network-gluster", NONE);