Re: [PATCH 26/35] tests: qemublock: Add tests for all other format without special options

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 04/25/2018 11:15 AM, Peter Krempa wrote:
> Similarly to the 'raw' case add tests for bochs, cloop, dmg, ploop, vdi
> vhd, and vpc. Covering all supproted non-backing formats.

supported

> 
> 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@xxxxxxxxxx>
> ---
>  tests/qemublocktest.c                                   |  7 +++++++
>  tests/qemublocktestdata/xml2json/file-bochs-noopts.json | 12 ++++++++++++
>  tests/qemublocktestdata/xml2json/file-bochs-noopts.xml  | 12 ++++++++++++
>  tests/qemublocktestdata/xml2json/file-cloop-noopts.json | 12 ++++++++++++
>  tests/qemublocktestdata/xml2json/file-cloop-noopts.xml  | 12 ++++++++++++
>  tests/qemublocktestdata/xml2json/file-dmg-noopts.json   | 12 ++++++++++++
>  tests/qemublocktestdata/xml2json/file-dmg-noopts.xml    | 12 ++++++++++++
>  tests/qemublocktestdata/xml2json/file-ploop-noopts.json | 12 ++++++++++++
>  tests/qemublocktestdata/xml2json/file-ploop-noopts.xml  | 12 ++++++++++++
>  tests/qemublocktestdata/xml2json/file-vdi-noopts.json   | 12 ++++++++++++
>  tests/qemublocktestdata/xml2json/file-vdi-noopts.xml    | 12 ++++++++++++
>  tests/qemublocktestdata/xml2json/file-vhd-noopts.json   | 12 ++++++++++++
>  tests/qemublocktestdata/xml2json/file-vhd-noopts.xml    | 12 ++++++++++++
>  tests/qemublocktestdata/xml2json/file-vpc-noopts.json   | 12 ++++++++++++
>  tests/qemublocktestdata/xml2json/file-vpc-noopts.xml    | 12 ++++++++++++
>  15 files changed, 175 insertions(+)
>  create mode 100644 tests/qemublocktestdata/xml2json/file-bochs-noopts.json
>  create mode 100644 tests/qemublocktestdata/xml2json/file-bochs-noopts.xml
>  create mode 100644 tests/qemublocktestdata/xml2json/file-cloop-noopts.json
>  create mode 100644 tests/qemublocktestdata/xml2json/file-cloop-noopts.xml
>  create mode 100644 tests/qemublocktestdata/xml2json/file-dmg-noopts.json
>  create mode 100644 tests/qemublocktestdata/xml2json/file-dmg-noopts.xml
>  create mode 100644 tests/qemublocktestdata/xml2json/file-ploop-noopts.json
>  create mode 100644 tests/qemublocktestdata/xml2json/file-ploop-noopts.xml
>  create mode 100644 tests/qemublocktestdata/xml2json/file-vdi-noopts.json
>  create mode 100644 tests/qemublocktestdata/xml2json/file-vdi-noopts.xml
>  create mode 100644 tests/qemublocktestdata/xml2json/file-vhd-noopts.json
>  create mode 100644 tests/qemublocktestdata/xml2json/file-vhd-noopts.xml
>  create mode 100644 tests/qemublocktestdata/xml2json/file-vpc-noopts.json
>  create mode 100644 tests/qemublocktestdata/xml2json/file-vpc-noopts.xml
> 

Reviewed-by: John Ferlan <jferlan@xxxxxxxxxx>

John

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux