mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-27 08:05:24 +00:00
b8240fe704
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>
28 lines
528 B
JSON
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"
|
|
}
|