[libvirt] [PATCH 19/23] tests: qemumonitorjson: Add case for two disks sharing a backing image
Eric Blake
eblake at redhat.com
Thu Mar 23 22:19:40 UTC 2017
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170323/a8b373dd/attachment-0001.sig>
More information about the libvir-list
mailing list