libvirt/tests/qemublocktestdata/xml2json
Peter Krempa 24db3d9993 tests: qemublock: Test handling of 'unmap' and 'detect-zeroes' options
The test cases would correspond to the following -drive command lines:

file-backing_basic-detect.xml:
-drive file=/var/lib/libvirt/images/a,format=qcow,if=none,id=drive-dummy,detect-zeroes=on
-device virtio-blk-pci,scsi=off,drive=drive-dummy,id=dummy

file-backing_basic-unmap-detect.xml:
-drive file=/var/lib/libvirt/images/a,format=qcow,if=none,id=drive-dummy,discard=unmap,detect-zeroes=unmap
-device virtio-blk-pci,scsi=off,drive=drive-dummy,id=dummy

file-backing_basic-unmap-ignore.xml:
-drive file=/var/lib/libvirt/images/a,format=qcow,if=none,id=drive-dummy,discard=ignore,detect-zeroes=on
-device virtio-blk-pci,scsi=off,drive=drive-dummy,id=dummy

file-backing_basic-unmap.xml:
-drive file=/var/lib/libvirt/images/a,format=qcow,if=none,id=drive-dummy,discard=unmap
-device virtio-blk-pci,scsi=off,drive=drive-dummy,id=dummy

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
2018-05-07 16:05:31 +02:00
..
dir-fat-floppy.json tests: qemublock: Add test-case for the 'vvfat' driver in qemu 2018-05-07 15:55:16 +02:00
dir-fat-floppy.xml tests: qemublock: Add test-case for the 'vvfat' driver in qemu 2018-05-07 15:55:16 +02:00
dir-fat-readonly.json tests: qemublock: Add test-case for the 'vvfat' driver in qemu 2018-05-07 15:55:16 +02:00
dir-fat-readonly.xml tests: qemublock: Add test-case for the 'vvfat' driver in qemu 2018-05-07 15:55:16 +02:00
file-backing_basic-aio_threads.json tests: qemublock: Add test cases for 'aio' options of 'file' storage 2018-05-07 15:57:52 +02:00
file-backing_basic-aio_threads.xml tests: qemublock: Add test cases for 'aio' options of 'file' storage 2018-05-07 15:57:52 +02:00
file-backing_basic-detect.json tests: qemublock: Test handling of 'unmap' and 'detect-zeroes' options 2018-05-07 16:05:31 +02:00
file-backing_basic-detect.xml tests: qemublock: Test handling of 'unmap' and 'detect-zeroes' options 2018-05-07 16:05:31 +02:00
file-backing_basic-noopts.json tests: qemublock: Add tests for basic backing chain formats 2018-05-07 15:53:57 +02:00
file-backing_basic-noopts.xml tests: qemublock: Add tests for basic backing chain formats 2018-05-07 15:53:57 +02:00
file-backing_basic-unmap-detect.json tests: qemublock: Test handling of 'unmap' and 'detect-zeroes' options 2018-05-07 16:05:31 +02:00
file-backing_basic-unmap-detect.xml tests: qemublock: Test handling of 'unmap' and 'detect-zeroes' options 2018-05-07 16:05:31 +02:00
file-backing_basic-unmap-ignore.json tests: qemublock: Test handling of 'unmap' and 'detect-zeroes' options 2018-05-07 16:05:31 +02:00
file-backing_basic-unmap-ignore.xml tests: qemublock: Test handling of 'unmap' and 'detect-zeroes' options 2018-05-07 16:05:31 +02:00
file-backing_basic-unmap.json tests: qemublock: Test handling of 'unmap' and 'detect-zeroes' options 2018-05-07 16:05:31 +02:00
file-backing_basic-unmap.xml tests: qemublock: Test handling of 'unmap' and 'detect-zeroes' options 2018-05-07 16:05:31 +02:00
file-bochs-noopts.json tests: qemublock: Add tests for all other format without special options 2018-05-07 15:53:12 +02:00
file-bochs-noopts.xml tests: qemublock: Add tests for all other format without special options 2018-05-07 15:53:12 +02:00
file-cloop-noopts.json tests: qemublock: Add tests for all other format without special options 2018-05-07 15:53:12 +02:00
file-cloop-noopts.xml tests: qemublock: Add tests for all other format without special options 2018-05-07 15:53:12 +02:00
file-dmg-noopts.json tests: qemublock: Add tests for all other format without special options 2018-05-07 15:53:12 +02:00
file-dmg-noopts.xml tests: qemublock: Add tests for all other format without special options 2018-05-07 15:53:12 +02:00
file-ploop-noopts.json tests: qemublock: Add tests for all other format without special options 2018-05-07 15:53:12 +02:00
file-ploop-noopts.xml tests: qemublock: Add tests for all other format without special options 2018-05-07 15:53:12 +02:00
file-qcow2-backing-chain-encryption.json tests: qemublock: basic qcow2 tests 2018-05-07 16:01:09 +02:00
file-qcow2-backing-chain-encryption.xml tests: qemublock: basic qcow2 tests 2018-05-07 16:01:09 +02:00
file-qcow2-backing-chain-noopts.json tests: qemublock: basic qcow2 tests 2018-05-07 16:01:09 +02:00
file-qcow2-backing-chain-noopts.xml tests: qemublock: basic qcow2 tests 2018-05-07 16:01:09 +02:00
file-qcow2-backing-chain-unterminated.json tests: qemublock: basic qcow2 tests 2018-05-07 16:01:09 +02:00
file-qcow2-backing-chain-unterminated.xml tests: qemublock: basic qcow2 tests 2018-05-07 16:01:09 +02:00
file-raw-aio_native.json tests: qemublock: Add test cases for 'aio' options of 'file' storage 2018-05-07 15:57:52 +02:00
file-raw-aio_native.xml tests: qemublock: Add test cases for 'aio' options of 'file' storage 2018-05-07 15:57:52 +02:00
file-raw-luks.json tests: qemublock: Add test for raw luks disk format 2018-05-07 15:58:51 +02:00
file-raw-luks.xml tests: qemublock: Add test for raw luks disk format 2018-05-07 15:58:51 +02:00
file-raw-noopts.json
file-raw-noopts.xml
file-vdi-noopts.json tests: qemublock: Add tests for all other format without special options 2018-05-07 15:53:12 +02:00
file-vdi-noopts.xml tests: qemublock: Add tests for all other format without special options 2018-05-07 15:53:12 +02:00
file-vhd-noopts.json tests: qemublock: Add tests for all other format without special options 2018-05-07 15:53:12 +02:00
file-vhd-noopts.xml tests: qemublock: Add tests for all other format without special options 2018-05-07 15:53:12 +02:00
file-vpc-noopts.json tests: qemublock: Add tests for all other format without special options 2018-05-07 15:53:12 +02:00
file-vpc-noopts.xml tests: qemublock: Add tests for all other format without special options 2018-05-07 15:53:12 +02:00
network-qcow2-backing-chain-encryption_auth.json tests: qemublock: Add test combining authentication and encryption 2018-05-07 16:03:46 +02:00
network-qcow2-backing-chain-encryption_auth.xml tests: qemublock: Add test combining authentication and encryption 2018-05-07 16:03:46 +02:00
nodename-long-format.xml
nodename-long-protocol.xml