libvirt/tests/qemublocktestdata/xml2json
Peter Krempa c4f0e16f5a tests: qemublock: Add tests for all other format without special options
Similarly to the 'raw' case add tests for bochs, cloop, dmg, ploop, vdi
vhd, and vpc. Covering all supported non-backing formats.

Note that the JSON name for 'ploop' maps to 'parallels' and 'vhd' maps
to 'vhdx'.

Files added here would result in the followint configs:

file-bochs-noopts.xml:
-drive file=/path/to/i.img,format=bochs,if=none,id=drive-dummy
-device virtio-blk-pci,scsi=off,drive=drive-dummy,id=dummy

file-cloop-noopts.xml:
-drive file=/path/to/i.img,format=cloop,if=none,id=drive-dummy
-device virtio-blk-pci,scsi=off,drive=drive-dummy,id=dummy

file-dmg-noopts.xml:
-drive file=/path/to/i.img,format=dmg,if=none,id=drive-dummy
-device virtio-blk-pci,scsi=off,drive=drive-dummy,id=dummy

file-ploop-noopts.xml:
-drive file=/path/to/i.img,format=ploop,if=none,id=drive-dummy
-device virtio-blk-pci,scsi=off,drive=drive-dummy,id=dummy

file-vdi-noopts.xml:
-drive file=/path/to/i.img,format=vdi,if=none,id=drive-dummy
-device virtio-blk-pci,scsi=off,drive=drive-dummy,id=dummy

file-vhd-noopts.xml:
-drive file=/path/to/i.img,format=vhd,if=none,id=drive-dummy
-device virtio-blk-pci,scsi=off,drive=drive-dummy,id=dummy

file-vpc-noopts.xml:
-drive file=/path/to/i.img,format=vpc,if=none,id=drive-dummy
-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 15:53:12 +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-raw-noopts.json tests: qemublock: Add basic 'raw' file test 2018-05-07 15:51:45 +02:00
file-raw-noopts.xml tests: qemublock: Add basic 'raw' file test 2018-05-07 15:51:45 +02:00
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
nodename-long-format.xml
nodename-long-protocol.xml