Re: [PATCH 27/35] tests: qemublock: Add tests for basic backing chain formats

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

 




On 04/25/2018 11:15 AM, Peter Krempa wrote:
> Formats supporting backing chain such as qed, vmdk, don't have any other
> parameters than the backing store and 'qcow' has only encryption params
> which will be tested extra. Add this test case so they are covered since
> any further test cases will mainly care about 'qcow2' and 'raw'.
> 
> The top level disk image would generate the following '-drive' cmdline:
> 
> -drive file=/var/lib/libvirt/images/a,format=qed,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                              |  2 +
>  .../xml2json/file-backing_basic-noopts.json        | 51 ++++++++++++++++++++++
>  .../xml2json/file-backing_basic-noopts.xml         | 46 +++++++++++++++++++
>  3 files changed, 99 insertions(+)
>  create mode 100644 tests/qemublocktestdata/xml2json/file-backing_basic-noopts.json
>  create mode 100644 tests/qemublocktestdata/xml2json/file-backing_basic-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