]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
tests: qemu: Drop 'drive' from disk tests
authorPeter Krempa <pkrempa@redhat.com>
Thu, 19 Jul 2018 08:29:29 +0000 (10:29 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 23 Jul 2018 13:32:33 +0000 (15:32 +0200)
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
120 files changed:
tests/qemuxml2argvdata/disk-address-conflict.xml [moved from tests/qemuxml2argvdata/disk-drive-address-conflict.xml with 100% similarity]
tests/qemuxml2argvdata/disk-boot-cdrom.args [moved from tests/qemuxml2argvdata/disk-drive-boot-cdrom.args with 100% similarity]
tests/qemuxml2argvdata/disk-boot-cdrom.xml [moved from tests/qemuxml2argvdata/disk-drive-boot-cdrom.xml with 100% similarity]
tests/qemuxml2argvdata/disk-boot-disk.args [moved from tests/qemuxml2argvdata/disk-drive-boot-disk.args with 100% similarity]
tests/qemuxml2argvdata/disk-boot-disk.xml [moved from tests/qemuxml2argvdata/disk-drive-boot-disk.xml with 100% similarity]
tests/qemuxml2argvdata/disk-cache-directsync.args [moved from tests/qemuxml2argvdata/disk-drive-cache-directsync.args with 100% similarity]
tests/qemuxml2argvdata/disk-cache-directsync.xml [moved from tests/qemuxml2argvdata/disk-drive-cache-directsync.xml with 100% similarity]
tests/qemuxml2argvdata/disk-cache-unsafe.args [moved from tests/qemuxml2argvdata/disk-drive-cache-unsafe.args with 100% similarity]
tests/qemuxml2argvdata/disk-cache-unsafe.xml [moved from tests/qemuxml2argvdata/disk-drive-cache-unsafe.xml with 100% similarity]
tests/qemuxml2argvdata/disk-cache-v2-none.args [moved from tests/qemuxml2argvdata/disk-drive-cache-v2-none.args with 100% similarity]
tests/qemuxml2argvdata/disk-cache-v2-none.xml [moved from tests/qemuxml2argvdata/disk-drive-cache-v2-none.xml with 100% similarity]
tests/qemuxml2argvdata/disk-cache-v2-wb.args [moved from tests/qemuxml2argvdata/disk-drive-cache-v2-wb.args with 100% similarity]
tests/qemuxml2argvdata/disk-cache-v2-wb.xml [moved from tests/qemuxml2argvdata/disk-drive-cache-v2-wb.xml with 100% similarity]
tests/qemuxml2argvdata/disk-cache-v2-wt.args [moved from tests/qemuxml2argvdata/disk-drive-cache-v2-wt.args with 100% similarity]
tests/qemuxml2argvdata/disk-cache-v2-wt.xml [moved from tests/qemuxml2argvdata/disk-drive-cache-v2-wt.xml with 100% similarity]
tests/qemuxml2argvdata/disk-copy-on-read.xml [moved from tests/qemuxml2argvdata/disk-drive-copy-on-read.xml with 100% similarity]
tests/qemuxml2argvdata/disk-detect-zeroes.args [moved from tests/qemuxml2argvdata/disk-drive-detect-zeroes.args with 100% similarity]
tests/qemuxml2argvdata/disk-detect-zeroes.xml [moved from tests/qemuxml2argvdata/disk-drive-detect-zeroes.xml with 100% similarity]
tests/qemuxml2argvdata/disk-discard.args [moved from tests/qemuxml2argvdata/disk-drive-discard.args with 100% similarity]
tests/qemuxml2argvdata/disk-discard.xml [moved from tests/qemuxml2argvdata/disk-drive-discard.xml with 100% similarity]
tests/qemuxml2argvdata/disk-error-policy.args [moved from tests/qemuxml2argvdata/disk-drive-error-policy.args with 100% similarity]
tests/qemuxml2argvdata/disk-error-policy.x86_64-latest.args [moved from tests/qemuxml2argvdata/disk-drive-error-policy.x86_64-latest.args with 100% similarity]
tests/qemuxml2argvdata/disk-error-policy.xml [moved from tests/qemuxml2argvdata/disk-drive-error-policy.xml with 100% similarity]
tests/qemuxml2argvdata/disk-fmt-cow.xml [moved from tests/qemuxml2argvdata/disk-drive-fmt-cow.xml with 100% similarity]
tests/qemuxml2argvdata/disk-fmt-dir.xml [moved from tests/qemuxml2argvdata/disk-drive-fmt-dir.xml with 100% similarity]
tests/qemuxml2argvdata/disk-fmt-iso.xml [moved from tests/qemuxml2argvdata/disk-drive-fmt-iso.xml with 100% similarity]
tests/qemuxml2argvdata/disk-fmt-qcow.args [moved from tests/qemuxml2argvdata/disk-drive-fmt-qcow.args with 100% similarity]
tests/qemuxml2argvdata/disk-fmt-qcow.xml [moved from tests/qemuxml2argvdata/disk-drive-fmt-qcow.xml with 100% similarity]
tests/qemuxml2argvdata/disk-ide-split.args [moved from tests/qemuxml2argvdata/disk-ide-drive-split.args with 100% similarity]
tests/qemuxml2argvdata/disk-ide-split.xml [moved from tests/qemuxml2argvdata/disk-ide-drive-split.xml with 100% similarity]
tests/qemuxml2argvdata/disk-network-gluster.args [moved from tests/qemuxml2argvdata/disk-drive-network-gluster.args with 100% similarity]
tests/qemuxml2argvdata/disk-network-gluster.xml [moved from tests/qemuxml2argvdata/disk-drive-network-gluster.xml with 100% similarity]
tests/qemuxml2argvdata/disk-network-iscsi-auth-secrettype-invalid.xml [moved from tests/qemuxml2argvdata/disk-drive-network-iscsi-auth-secrettype-invalid.xml with 100% similarity]
tests/qemuxml2argvdata/disk-network-iscsi-auth-wrong-secrettype.xml [moved from tests/qemuxml2argvdata/disk-drive-network-iscsi-auth-wrong-secrettype.xml with 100% similarity]
tests/qemuxml2argvdata/disk-network-iscsi-auth.args [moved from tests/qemuxml2argvdata/disk-drive-network-iscsi-auth.args with 100% similarity]
tests/qemuxml2argvdata/disk-network-iscsi-auth.xml [moved from tests/qemuxml2argvdata/disk-drive-network-iscsi-auth.xml with 100% similarity]
tests/qemuxml2argvdata/disk-network-iscsi-lun.args [moved from tests/qemuxml2argvdata/disk-drive-network-iscsi-lun.args with 100% similarity]
tests/qemuxml2argvdata/disk-network-iscsi-lun.xml [moved from tests/qemuxml2argvdata/disk-drive-network-iscsi-lun.xml with 100% similarity]
tests/qemuxml2argvdata/disk-network-iscsi.args [moved from tests/qemuxml2argvdata/disk-drive-network-iscsi.args with 100% similarity]
tests/qemuxml2argvdata/disk-network-iscsi.xml [moved from tests/qemuxml2argvdata/disk-drive-network-iscsi.xml with 100% similarity]
tests/qemuxml2argvdata/disk-network-nbd-export.args [moved from tests/qemuxml2argvdata/disk-drive-network-nbd-export.args with 100% similarity]
tests/qemuxml2argvdata/disk-network-nbd-export.xml [moved from tests/qemuxml2argvdata/disk-drive-network-nbd-export.xml with 100% similarity]
tests/qemuxml2argvdata/disk-network-nbd-ipv6-export.args [moved from tests/qemuxml2argvdata/disk-drive-network-nbd-ipv6-export.args with 100% similarity]
tests/qemuxml2argvdata/disk-network-nbd-ipv6-export.xml [moved from tests/qemuxml2argvdata/disk-drive-network-nbd-ipv6-export.xml with 100% similarity]
tests/qemuxml2argvdata/disk-network-nbd-ipv6.args [moved from tests/qemuxml2argvdata/disk-drive-network-nbd-ipv6.args with 100% similarity]
tests/qemuxml2argvdata/disk-network-nbd-ipv6.xml [moved from tests/qemuxml2argvdata/disk-drive-network-nbd-ipv6.xml with 100% similarity]
tests/qemuxml2argvdata/disk-network-nbd-unix.args [moved from tests/qemuxml2argvdata/disk-drive-network-nbd-unix.args with 100% similarity]
tests/qemuxml2argvdata/disk-network-nbd-unix.xml [moved from tests/qemuxml2argvdata/disk-drive-network-nbd-unix.xml with 100% similarity]
tests/qemuxml2argvdata/disk-network-nbd.args [moved from tests/qemuxml2argvdata/disk-drive-network-nbd.args with 100% similarity]
tests/qemuxml2argvdata/disk-network-nbd.xml [moved from tests/qemuxml2argvdata/disk-drive-network-nbd.xml with 100% similarity]
tests/qemuxml2argvdata/disk-network-rbd-auth-AES.args [moved from tests/qemuxml2argvdata/disk-drive-network-rbd-auth-AES.args with 100% similarity]
tests/qemuxml2argvdata/disk-network-rbd-auth-AES.xml [moved from tests/qemuxml2argvdata/disk-drive-network-rbd-auth-AES.xml with 100% similarity]
tests/qemuxml2argvdata/disk-network-rbd-auth.args [moved from tests/qemuxml2argvdata/disk-drive-network-rbd-auth.args with 100% similarity]
tests/qemuxml2argvdata/disk-network-rbd-auth.xml [moved from tests/qemuxml2argvdata/disk-drive-network-rbd-auth.xml with 100% similarity]
tests/qemuxml2argvdata/disk-network-rbd-ceph-env.args [moved from tests/qemuxml2argvdata/disk-drive-network-rbd-ceph-env.args with 100% similarity]
tests/qemuxml2argvdata/disk-network-rbd-ceph-env.xml [moved from tests/qemuxml2argvdata/disk-drive-network-rbd-ceph-env.xml with 100% similarity]
tests/qemuxml2argvdata/disk-network-rbd-ipv6.args [moved from tests/qemuxml2argvdata/disk-drive-network-rbd-ipv6.args with 100% similarity]
tests/qemuxml2argvdata/disk-network-rbd-ipv6.xml [moved from tests/qemuxml2argvdata/disk-drive-network-rbd-ipv6.xml with 100% similarity]
tests/qemuxml2argvdata/disk-network-rbd-no-colon.xml [moved from tests/qemuxml2argvdata/disk-drive-network-rbd-no-colon.xml with 100% similarity]
tests/qemuxml2argvdata/disk-network-rbd.args [moved from tests/qemuxml2argvdata/disk-drive-network-rbd.args with 100% similarity]
tests/qemuxml2argvdata/disk-network-rbd.xml [moved from tests/qemuxml2argvdata/disk-drive-network-rbd.xml with 100% similarity]
tests/qemuxml2argvdata/disk-network-sheepdog.args [moved from tests/qemuxml2argvdata/disk-drive-network-sheepdog.args with 100% similarity]
tests/qemuxml2argvdata/disk-network-sheepdog.xml [moved from tests/qemuxml2argvdata/disk-drive-network-sheepdog.xml with 100% similarity]
tests/qemuxml2argvdata/disk-network-source-auth-both.xml [moved from tests/qemuxml2argvdata/disk-drive-network-source-auth-both.xml with 100% similarity]
tests/qemuxml2argvdata/disk-network-source-auth.args [moved from tests/qemuxml2argvdata/disk-drive-network-source-auth.args with 100% similarity]
tests/qemuxml2argvdata/disk-network-source-auth.xml [moved from tests/qemuxml2argvdata/disk-drive-network-source-auth.xml with 100% similarity]
tests/qemuxml2argvdata/disk-network-tlsx509.args [moved from tests/qemuxml2argvdata/disk-drive-network-tlsx509.args with 100% similarity]
tests/qemuxml2argvdata/disk-network-tlsx509.xml [moved from tests/qemuxml2argvdata/disk-drive-network-tlsx509.xml with 100% similarity]
tests/qemuxml2argvdata/disk-network-vxhs.args [moved from tests/qemuxml2argvdata/disk-drive-network-vxhs.args with 100% similarity]
tests/qemuxml2argvdata/disk-network-vxhs.xml [moved from tests/qemuxml2argvdata/disk-drive-network-vxhs.xml with 100% similarity]
tests/qemuxml2argvdata/disk-no-boot.args [moved from tests/qemuxml2argvdata/disk-drive-no-boot.args with 100% similarity]
tests/qemuxml2argvdata/disk-no-boot.xml [moved from tests/qemuxml2argvdata/disk-drive-no-boot.xml with 100% similarity]
tests/qemuxml2argvdata/disk-readonly-disk.args [moved from tests/qemuxml2argvdata/disk-drive-readonly-disk.args with 100% similarity]
tests/qemuxml2argvdata/disk-readonly-disk.xml [moved from tests/qemuxml2argvdata/disk-drive-readonly-disk.xml with 100% similarity]
tests/qemuxml2argvdata/disk-readonly-no-device.args [moved from tests/qemuxml2argvdata/disk-drive-readonly-no-device.args with 100% similarity]
tests/qemuxml2argvdata/disk-readonly-no-device.xml [moved from tests/qemuxml2argvdata/disk-drive-readonly-no-device.xml with 100% similarity]
tests/qemuxml2argvdata/disk-shared-locking.args [moved from tests/qemuxml2argvdata/disk-drive-shared-locking.args with 100% similarity]
tests/qemuxml2argvdata/disk-shared-locking.xml [moved from tests/qemuxml2argvdata/disk-drive-shared-locking.xml with 100% similarity]
tests/qemuxml2argvdata/disk-shared-qcow.xml [moved from tests/qemuxml2argvdata/disk-drive-shared-qcow.xml with 100% similarity]
tests/qemuxml2argvdata/disk-shared.args [moved from tests/qemuxml2argvdata/disk-drive-shared.args with 100% similarity]
tests/qemuxml2argvdata/disk-shared.xml [moved from tests/qemuxml2argvdata/disk-drive-shared.xml with 100% similarity]
tests/qemuxml2argvdata/disk-virtio-queues.args [moved from tests/qemuxml2argvdata/disk-virtio-drive-queues.args with 100% similarity]
tests/qemuxml2argvdata/disk-virtio-queues.xml [moved from tests/qemuxml2argvdata/disk-virtio-drive-queues.xml with 100% similarity]
tests/qemuxml2argvdata/disk-write-cache.x86_64-2.6.0.args [moved from tests/qemuxml2argvdata/disk-drive-write-cache.x86_64-2.6.0.args with 100% similarity]
tests/qemuxml2argvdata/disk-write-cache.x86_64-2.7.0.args [moved from tests/qemuxml2argvdata/disk-drive-write-cache.x86_64-2.7.0.args with 100% similarity]
tests/qemuxml2argvdata/disk-write-cache.x86_64-latest.args [moved from tests/qemuxml2argvdata/disk-drive-write-cache.x86_64-latest.args with 100% similarity]
tests/qemuxml2argvdata/disk-write-cache.xml [moved from tests/qemuxml2argvdata/disk-drive-write-cache.xml with 100% similarity]
tests/qemuxml2argvtest.c
tests/qemuxml2xmloutdata/disk-boot-cdrom.xml [moved from tests/qemuxml2xmloutdata/disk-drive-boot-cdrom.xml with 100% similarity]
tests/qemuxml2xmloutdata/disk-boot-disk.xml [moved from tests/qemuxml2xmloutdata/disk-drive-boot-disk.xml with 100% similarity]
tests/qemuxml2xmloutdata/disk-cache-directsync.xml [moved from tests/qemuxml2xmloutdata/disk-drive-cache-directsync.xml with 100% similarity]
tests/qemuxml2xmloutdata/disk-cache-unsafe.xml [moved from tests/qemuxml2xmloutdata/disk-drive-cache-unsafe.xml with 100% similarity]
tests/qemuxml2xmloutdata/disk-cache-v2-none.xml [moved from tests/qemuxml2xmloutdata/disk-drive-cache-v2-none.xml with 100% similarity]
tests/qemuxml2xmloutdata/disk-cache-v2-wb.xml [moved from tests/qemuxml2xmloutdata/disk-drive-cache-v2-wb.xml with 100% similarity]
tests/qemuxml2xmloutdata/disk-cache-v2-wt.xml [moved from tests/qemuxml2xmloutdata/disk-drive-cache-v2-wt.xml with 100% similarity]
tests/qemuxml2xmloutdata/disk-copy-on-read.xml [moved from tests/qemuxml2xmloutdata/disk-drive-copy-on-read.xml with 100% similarity]
tests/qemuxml2xmloutdata/disk-detect-zeroes.xml [new symlink]
tests/qemuxml2xmloutdata/disk-discard.xml [moved from tests/qemuxml2xmloutdata/disk-drive-discard.xml with 100% similarity]
tests/qemuxml2xmloutdata/disk-drive-detect-zeroes.xml [deleted symlink]
tests/qemuxml2xmloutdata/disk-error-policy.xml [moved from tests/qemuxml2xmloutdata/disk-drive-error-policy.xml with 100% similarity]
tests/qemuxml2xmloutdata/disk-fat.xml [moved from tests/qemuxml2xmloutdata/disk-drive-fat.xml with 100% similarity]
tests/qemuxml2xmloutdata/disk-fmt-qcow.xml [moved from tests/qemuxml2xmloutdata/disk-drive-fmt-qcow.xml with 100% similarity]
tests/qemuxml2xmloutdata/disk-network-gluster.xml [moved from tests/qemuxml2xmloutdata/disk-drive-network-gluster.xml with 100% similarity]
tests/qemuxml2xmloutdata/disk-network-iscsi-auth.xml [moved from tests/qemuxml2xmloutdata/disk-drive-network-iscsi-auth.xml with 100% similarity]
tests/qemuxml2xmloutdata/disk-network-iscsi.xml [moved from tests/qemuxml2xmloutdata/disk-drive-network-iscsi.xml with 100% similarity]
tests/qemuxml2xmloutdata/disk-network-nbd-export.xml [moved from tests/qemuxml2xmloutdata/disk-drive-network-nbd-export.xml with 100% similarity]
tests/qemuxml2xmloutdata/disk-network-nbd-ipv6-export.xml [moved from tests/qemuxml2xmloutdata/disk-drive-network-nbd-ipv6-export.xml with 100% similarity]
tests/qemuxml2xmloutdata/disk-network-nbd-ipv6.xml [moved from tests/qemuxml2xmloutdata/disk-drive-network-nbd-ipv6.xml with 100% similarity]
tests/qemuxml2xmloutdata/disk-network-nbd-unix.xml [moved from tests/qemuxml2xmloutdata/disk-drive-network-nbd-unix.xml with 100% similarity]
tests/qemuxml2xmloutdata/disk-network-nbd.xml [moved from tests/qemuxml2xmloutdata/disk-drive-network-nbd.xml with 100% similarity]
tests/qemuxml2xmloutdata/disk-network-rbd-auth.xml [moved from tests/qemuxml2xmloutdata/disk-drive-network-rbd-auth.xml with 100% similarity]
tests/qemuxml2xmloutdata/disk-network-rbd-ceph-env.xml [moved from tests/qemuxml2xmloutdata/disk-drive-network-rbd-ceph-env.xml with 100% similarity]
tests/qemuxml2xmloutdata/disk-network-rbd-ipv6.xml [moved from tests/qemuxml2xmloutdata/disk-drive-network-rbd-ipv6.xml with 100% similarity]
tests/qemuxml2xmloutdata/disk-network-rbd.xml [moved from tests/qemuxml2xmloutdata/disk-drive-network-rbd.xml with 100% similarity]
tests/qemuxml2xmloutdata/disk-network-sheepdog.xml [moved from tests/qemuxml2xmloutdata/disk-drive-network-sheepdog.xml with 100% similarity]
tests/qemuxml2xmloutdata/disk-network-source-auth.xml [moved from tests/qemuxml2xmloutdata/disk-drive-network-source-auth.xml with 100% similarity]
tests/qemuxml2xmloutdata/disk-network-tlsx509.xml [moved from tests/qemuxml2xmloutdata/disk-drive-network-tlsx509.xml with 100% similarity]
tests/qemuxml2xmloutdata/disk-network-vxhs.xml [moved from tests/qemuxml2xmloutdata/disk-drive-network-vxhs.xml with 100% similarity]
tests/qemuxml2xmloutdata/disk-virtio-queues.xml [moved from tests/qemuxml2xmloutdata/disk-virtio-drive-queues.xml with 100% similarity]
tests/qemuxml2xmltest.c

index 52540a6d0b8c1f88daa4d5ad3d078c8b116c61f3..2708a58d60b0f978b5fd4836089011d5f66642e4 100644 (file)
@@ -1016,65 +1016,65 @@ mymain(void)
             QEMU_CAPS_CCW, QEMU_CAPS_VIRTIO_S390);
     DO_TEST("disk-order",
             QEMU_CAPS_DRIVE_BOOT, QEMU_CAPS_VIRTIO_BLK_SCSI);
-    DO_TEST("disk-virtio-drive-queues",
+    DO_TEST("disk-virtio-queues",
             QEMU_CAPS_VIRTIO_BLK_NUM_QUEUES);
-    DO_TEST("disk-drive-boot-disk",
+    DO_TEST("disk-boot-disk",
             QEMU_CAPS_DRIVE_BOOT);
-    DO_TEST("disk-drive-boot-cdrom",
+    DO_TEST("disk-boot-cdrom",
             QEMU_CAPS_DRIVE_BOOT);
     DO_TEST("floppy-drive-fat",
             QEMU_CAPS_DRIVE_BOOT);
-    DO_TEST("disk-drive-readonly-disk", NONE);
-    DO_TEST("disk-drive-readonly-no-device", NONE);
-    DO_TEST("disk-drive-fmt-qcow",
+    DO_TEST("disk-readonly-disk", NONE);
+    DO_TEST("disk-readonly-no-device", NONE);
+    DO_TEST("disk-fmt-qcow",
             QEMU_CAPS_DRIVE_BOOT);
-    DO_TEST_PARSE_ERROR("disk-drive-fmt-cow", QEMU_CAPS_DRIVE_BOOT);
-    DO_TEST_PARSE_ERROR("disk-drive-fmt-dir", QEMU_CAPS_DRIVE_BOOT);
-    DO_TEST_PARSE_ERROR("disk-drive-fmt-iso", QEMU_CAPS_DRIVE_BOOT);
-    DO_TEST("disk-drive-shared", NONE);
-    DO_TEST_PARSE_ERROR("disk-drive-shared-qcow", NONE);
-    DO_TEST("disk-drive-shared-locking",
+    DO_TEST_PARSE_ERROR("disk-fmt-cow", QEMU_CAPS_DRIVE_BOOT);
+    DO_TEST_PARSE_ERROR("disk-fmt-dir", QEMU_CAPS_DRIVE_BOOT);
+    DO_TEST_PARSE_ERROR("disk-fmt-iso", QEMU_CAPS_DRIVE_BOOT);
+    DO_TEST("disk-shared", NONE);
+    DO_TEST_PARSE_ERROR("disk-shared-qcow", NONE);
+    DO_TEST("disk-shared-locking",
             QEMU_CAPS_VIRTIO_SCSI, QEMU_CAPS_DISK_SHARE_RW);
-    DO_TEST("disk-drive-error-policy", NONE);
-    DO_TEST_CAPS_LATEST("disk-drive-error-policy");
-    DO_TEST("disk-drive-cache-v2-wt", NONE);
-    DO_TEST("disk-drive-cache-v2-wb", NONE);
-    DO_TEST("disk-drive-cache-v2-none", NONE);
-    DO_TEST("disk-drive-cache-directsync", NONE);
-    DO_TEST("disk-drive-cache-unsafe", NONE);
-    DO_TEST_CAPS_VER("disk-drive-write-cache", "2.6.0");
-    DO_TEST_CAPS_VER("disk-drive-write-cache", "2.7.0");
-    DO_TEST_CAPS_LATEST("disk-drive-write-cache");
-    DO_TEST("disk-drive-network-nbd", NONE);
-    DO_TEST("disk-drive-network-nbd-export", NONE);
-    DO_TEST("disk-drive-network-nbd-ipv6", NONE);
-    DO_TEST("disk-drive-network-nbd-ipv6-export", NONE);
-    DO_TEST("disk-drive-network-nbd-unix", NONE);
-    DO_TEST("disk-drive-network-iscsi", NONE);
-    DO_TEST("disk-drive-network-iscsi-auth", NONE);
-    DO_TEST_PARSE_ERROR("disk-drive-network-iscsi-auth-secrettype-invalid", NONE);
-    DO_TEST_PARSE_ERROR("disk-drive-network-iscsi-auth-wrong-secrettype", NONE);
-    DO_TEST_PARSE_ERROR("disk-drive-network-source-auth-both", NONE);
-    DO_TEST("disk-drive-network-iscsi-lun",
+    DO_TEST("disk-error-policy", NONE);
+    DO_TEST_CAPS_LATEST("disk-error-policy");
+    DO_TEST("disk-cache-v2-wt", NONE);
+    DO_TEST("disk-cache-v2-wb", NONE);
+    DO_TEST("disk-cache-v2-none", NONE);
+    DO_TEST("disk-cache-directsync", NONE);
+    DO_TEST("disk-cache-unsafe", NONE);
+    DO_TEST_CAPS_VER("disk-write-cache", "2.6.0");
+    DO_TEST_CAPS_VER("disk-write-cache", "2.7.0");
+    DO_TEST_CAPS_LATEST("disk-write-cache");
+    DO_TEST("disk-network-nbd", NONE);
+    DO_TEST("disk-network-nbd-export", NONE);
+    DO_TEST("disk-network-nbd-ipv6", NONE);
+    DO_TEST("disk-network-nbd-ipv6-export", NONE);
+    DO_TEST("disk-network-nbd-unix", NONE);
+    DO_TEST("disk-network-iscsi", NONE);
+    DO_TEST("disk-network-iscsi-auth", NONE);
+    DO_TEST_PARSE_ERROR("disk-network-iscsi-auth-secrettype-invalid", NONE);
+    DO_TEST_PARSE_ERROR("disk-network-iscsi-auth-wrong-secrettype", NONE);
+    DO_TEST_PARSE_ERROR("disk-network-source-auth-both", NONE);
+    DO_TEST("disk-network-iscsi-lun",
             QEMU_CAPS_VIRTIO_SCSI,
             QEMU_CAPS_SCSI_BLOCK);
-    DO_TEST("disk-drive-network-gluster",
+    DO_TEST("disk-network-gluster",
             QEMU_CAPS_GLUSTER_DEBUG_LEVEL);
-    DO_TEST("disk-drive-network-rbd", NONE);
-    DO_TEST("disk-drive-network-sheepdog", NONE);
-    DO_TEST("disk-drive-network-rbd-auth", NONE);
-    DO_TEST("disk-drive-network-source-auth", NONE);
-    DO_TEST("disk-drive-network-rbd-auth-AES",
+    DO_TEST("disk-network-rbd", NONE);
+    DO_TEST("disk-network-sheepdog", NONE);
+    DO_TEST("disk-network-rbd-auth", NONE);
+    DO_TEST("disk-network-source-auth", NONE);
+    DO_TEST("disk-network-rbd-auth-AES",
             QEMU_CAPS_OBJECT_SECRET, QEMU_CAPS_VIRTIO_SCSI);
-    DO_TEST("disk-drive-network-rbd-ipv6", NONE);
-    DO_TEST_FAILURE("disk-drive-network-rbd-no-colon", NONE);
-    DO_TEST("disk-drive-network-vxhs", QEMU_CAPS_VXHS);
+    DO_TEST("disk-network-rbd-ipv6", NONE);
+    DO_TEST_FAILURE("disk-network-rbd-no-colon", NONE);
+    DO_TEST("disk-network-vxhs", QEMU_CAPS_VXHS);
     driver.config->vxhsTLS = 1;
-    DO_TEST("disk-drive-network-tlsx509", QEMU_CAPS_VXHS,
+    DO_TEST("disk-network-tlsx509", QEMU_CAPS_VXHS,
             QEMU_CAPS_OBJECT_TLS_CREDS_X509, QEMU_CAPS_NBD_TLS);
     driver.config->vxhsTLS = 0;
     VIR_FREE(driver.config->vxhsTLSx509certdir);
-    DO_TEST("disk-drive-no-boot",
+    DO_TEST("disk-no-boot",
             QEMU_CAPS_BOOTINDEX);
     DO_TEST_PARSE_ERROR("disk-device-lun-type-invalid",
                         QEMU_CAPS_VIRTIO_SCSI);
@@ -1129,16 +1129,16 @@ mymain(void)
     DO_TEST("disk-copy_on_read",
             QEMU_CAPS_VIRTIO_TX_ALG,
             QEMU_CAPS_VIRTIO_BLK_SCSI);
-    DO_TEST("disk-drive-discard",
+    DO_TEST("disk-discard",
             QEMU_CAPS_DRIVE_DISCARD);
-    DO_TEST("disk-drive-detect-zeroes",
+    DO_TEST("disk-detect-zeroes",
             QEMU_CAPS_DRIVE_DISCARD,
             QEMU_CAPS_DRIVE_DETECT_ZEROES);
     DO_TEST("disk-snapshot", NONE);
     DO_TEST_PARSE_ERROR("disk-same-targets",
                         QEMU_CAPS_SCSI_LSI,
                         QEMU_CAPS_DEVICE_USB_STORAGE);
-    DO_TEST_PARSE_ERROR("disk-drive-address-conflict",
+    DO_TEST_PARSE_ERROR("disk-address-conflict",
                         QEMU_CAPS_ICH9_AHCI);
     DO_TEST_PARSE_ERROR("disk-hostdev-scsi-address-conflict",
                         QEMU_CAPS_VIRTIO_SCSI,
@@ -1927,7 +1927,7 @@ mymain(void)
     DO_TEST("mach-virt-console-virtio", NONE);
     DO_TEST_PARSE_ERROR("mach-virt-serial-invalid-machine", NONE);
 
-    DO_TEST("disk-ide-drive-split",
+    DO_TEST("disk-ide-split",
             QEMU_CAPS_IDE_CD);
     DO_TEST("disk-ide-wwn",
             QEMU_CAPS_IDE_CD,
diff --git a/tests/qemuxml2xmloutdata/disk-detect-zeroes.xml b/tests/qemuxml2xmloutdata/disk-detect-zeroes.xml
new file mode 120000 (symlink)
index 0000000..17a520c
--- /dev/null
@@ -0,0 +1 @@
+../qemuxml2argvdata/disk-detect-zeroes.xml
\ No newline at end of file
diff --git a/tests/qemuxml2xmloutdata/disk-drive-detect-zeroes.xml b/tests/qemuxml2xmloutdata/disk-drive-detect-zeroes.xml
deleted file mode 120000 (symlink)
index 54af662..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../qemuxml2argvdata/disk-drive-detect-zeroes.xml
\ No newline at end of file
index 5e4adc99ed9acc31f55eb931eeb0750f5c761f30..0373117f06b4fe9b07c891ac641e242d8af94374 100644 (file)
@@ -353,33 +353,33 @@ mymain(void)
     DO_TEST("disk-usb-device", NONE);
     DO_TEST("disk-virtio", NONE);
     DO_TEST("floppy-drive-fat", NONE);
-    DO_TEST("disk-virtio-drive-queues", QEMU_CAPS_VIRTIO_BLK_NUM_QUEUES);
-    DO_TEST("disk-drive-boot-disk", NONE);
-    DO_TEST("disk-drive-boot-cdrom", NONE);
-    DO_TEST("disk-drive-error-policy", NONE);
-    DO_TEST("disk-drive-fmt-qcow", NONE);
-    DO_TEST("disk-drive-copy-on-read", NONE);
-    DO_TEST("disk-drive-cache-v2-wt", NONE);
-    DO_TEST("disk-drive-cache-v2-wb", NONE);
-    DO_TEST("disk-drive-cache-v2-none", NONE);
-    DO_TEST("disk-drive-cache-directsync", NONE);
-    DO_TEST("disk-drive-cache-unsafe", NONE);
-    DO_TEST("disk-drive-network-nbd", NONE);
-    DO_TEST("disk-drive-network-nbd-export", NONE);
-    DO_TEST("disk-drive-network-nbd-ipv6", NONE);
-    DO_TEST("disk-drive-network-nbd-ipv6-export", NONE);
-    DO_TEST("disk-drive-network-nbd-unix", NONE);
-    DO_TEST("disk-drive-network-iscsi", NONE);
-    DO_TEST("disk-drive-network-iscsi-auth", NONE);
-    DO_TEST("disk-drive-network-gluster", NONE);
-    DO_TEST("disk-drive-network-rbd", NONE);
-    DO_TEST("disk-drive-network-rbd-auth", NONE);
-    DO_TEST("disk-drive-network-rbd-ipv6", NONE);
-    DO_TEST("disk-drive-network-rbd-ceph-env", NONE);
-    DO_TEST("disk-drive-network-source-auth", NONE);
-    DO_TEST("disk-drive-network-sheepdog", NONE);
-    DO_TEST("disk-drive-network-vxhs", NONE);
-    DO_TEST("disk-drive-network-tlsx509", NONE);
+    DO_TEST("disk-virtio-queues", QEMU_CAPS_VIRTIO_BLK_NUM_QUEUES);
+    DO_TEST("disk-boot-disk", NONE);
+    DO_TEST("disk-boot-cdrom", NONE);
+    DO_TEST("disk-error-policy", NONE);
+    DO_TEST("disk-fmt-qcow", NONE);
+    DO_TEST("disk-copy-on-read", NONE);
+    DO_TEST("disk-cache-v2-wt", NONE);
+    DO_TEST("disk-cache-v2-wb", NONE);
+    DO_TEST("disk-cache-v2-none", NONE);
+    DO_TEST("disk-cache-directsync", NONE);
+    DO_TEST("disk-cache-unsafe", NONE);
+    DO_TEST("disk-network-nbd", NONE);
+    DO_TEST("disk-network-nbd-export", NONE);
+    DO_TEST("disk-network-nbd-ipv6", NONE);
+    DO_TEST("disk-network-nbd-ipv6-export", NONE);
+    DO_TEST("disk-network-nbd-unix", NONE);
+    DO_TEST("disk-network-iscsi", NONE);
+    DO_TEST("disk-network-iscsi-auth", NONE);
+    DO_TEST("disk-network-gluster", NONE);
+    DO_TEST("disk-network-rbd", NONE);
+    DO_TEST("disk-network-rbd-auth", NONE);
+    DO_TEST("disk-network-rbd-ipv6", NONE);
+    DO_TEST("disk-network-rbd-ceph-env", NONE);
+    DO_TEST("disk-network-source-auth", NONE);
+    DO_TEST("disk-network-sheepdog", NONE);
+    DO_TEST("disk-network-vxhs", NONE);
+    DO_TEST("disk-network-tlsx509", NONE);
     DO_TEST("disk-scsi-device",
             QEMU_CAPS_SCSI_LSI);
     DO_TEST("disk-scsi-vscsi", NONE);
@@ -572,8 +572,8 @@ mymain(void)
     DO_TEST("disk-source-pool", NONE);
     DO_TEST("disk-source-pool-mode", NONE);
 
-    DO_TEST("disk-drive-discard", NONE);
-    DO_TEST("disk-drive-detect-zeroes", NONE);
+    DO_TEST("disk-discard", NONE);
+    DO_TEST("disk-detect-zeroes", NONE);
 
     DO_TEST("disk-serial", NONE);