libvirt/tests/qemublocktestdata/xml2json/file-qcow2-backing-chain-unterminated.json
Peter Krempa b8240fe704 qemu: block: Don't nest storage layer properties into format layer
Reference the storage via node name rather than inlining it. This is
the approach that will be used with -blockdev/blockdev-add since it
allows more control and is more future proof.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
2018-05-23 13:18:23 +02:00

28 lines
528 B
JSON

{
"node-name": "#block126",
"read-only": false,
"driver": "qcow2",
"file": "#block004",
"backing": "#block313"
}
{
"driver": "file",
"filename": "/var/lib/libvirt/images/rhel7.3.1507297895",
"node-name": "#block004",
"read-only": false,
"discard": "unmap"
}
{
"node-name": "#block313",
"read-only": true,
"driver": "qcow2",
"file": "#block256"
}
{
"driver": "file",
"filename": "/var/lib/libvirt/images/rhel7.3.1484071872",
"node-name": "#block256",
"read-only": true,
"discard": "unmap"
}