[libvirt] [PATCH 18/23] tests: qemumonitorjson: Add long backing chain test case for node name detection

Eric Blake eblake at redhat.com
Thu Mar 23 22:18:03 UTC 2017


On 03/15/2017 11:37 AM, Peter Krempa wrote:
> ---
>  .../qemumonitorjson-nodename-2.json                | 2270 ++++++++++++++++++++
>  .../qemumonitorjson-nodename-2.result              |   60 +
>  tests/qemumonitorjsontest.c                        |    1 +
>  3 files changed, 2331 insertions(+)
>  create mode 100644 tests/qemumonitorjsondata/qemumonitorjson-nodename-2.json
>  create mode 100644 tests/qemumonitorjsondata/qemumonitorjson-nodename-2.result

Big, but gets the point made.


> +++ b/tests/qemumonitorjsondata/qemumonitorjson-nodename-2.result
> @@ -0,0 +1,60 @@
> +filename    : '/var/lib/libvirt/images/rhel7.3.1484071880'
> +format node : '#block161'
> +storage node: '#block013'
> +backingfile : '/var/lib/libvirt/images/rhel7.3.1484071877'
> +backing ptr : '#block316'
> +  filename    : '/var/lib/libvirt/images/rhel7.3.1484071877'

> +                      filename    : '/var/lib/libvirt/images/rhel7.3.qcow2'

12 or so levels of external snapshots. Makes for some noisy JSON from qemu.

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/1129d0d9/attachment-0001.sig>


More information about the libvir-list mailing list