Re: [PATCH 19/23] tests: qemumonitorjson: Add case for two disks sharing a backing image

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

 



On 03/15/2017 11:37 AM, Peter Krempa wrote:
> Since we have to match the images by filename a common backing image
> will break the detection process. Add a test case to see that the code
> correctly did not continue the detection process.

Maybe qemu can be enhanced to add a new command that makes querying
relationships easier (won't happen any sooner than qemu 2.10).  Or maybe
libvirt just learns to always invent its own node names via
blockdev-add.  But in the meantime, testing our limitations is the best
we can do.

> ---
>  .../qemumonitorjson-nodename-same-backing.json     | 316 +++++++++++++++++++++
>  .../qemumonitorjson-nodename-same-backing.result   |  11 +
>  tests/qemumonitorjsontest.c                        |   1 +
>  3 files changed, 328 insertions(+)
>  create mode 100644 tests/qemumonitorjsondata/qemumonitorjson-nodename-same-backing.json
>  create mode 100644 tests/qemumonitorjsondata/qemumonitorjson-nodename-same-backing.result

ACK.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
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