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