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>
69 lines
1.2 KiB
JSON
69 lines
1.2 KiB
JSON
{
|
|
"node-name": "node-a-f",
|
|
"read-only": false,
|
|
"discard": "ignore",
|
|
"detect-zeroes": "on",
|
|
"driver": "qcow",
|
|
"file": "node-a-s",
|
|
"backing": "node-b-f"
|
|
}
|
|
{
|
|
"driver": "file",
|
|
"filename": "/var/lib/libvirt/images/a",
|
|
"node-name": "node-a-s",
|
|
"read-only": false,
|
|
"discard": "unmap"
|
|
}
|
|
{
|
|
"node-name": "node-b-f",
|
|
"read-only": true,
|
|
"discard": "ignore",
|
|
"driver": "qed",
|
|
"file": "node-b-s",
|
|
"backing": "node-c-f"
|
|
}
|
|
{
|
|
"driver": "file",
|
|
"filename": "/var/lib/libvirt/images/b",
|
|
"node-name": "node-b-s",
|
|
"read-only": true,
|
|
"discard": "unmap"
|
|
}
|
|
{
|
|
"node-name": "node-c-f",
|
|
"read-only": true,
|
|
"discard": "ignore",
|
|
"driver": "vmdk",
|
|
"file": "node-c-s",
|
|
"backing": "node-d-f"
|
|
}
|
|
{
|
|
"driver": "gluster",
|
|
"volume": "images",
|
|
"path": "c",
|
|
"server": [
|
|
{
|
|
"type": "inet",
|
|
"host": "test.org",
|
|
"port": "24007"
|
|
}
|
|
],
|
|
"node-name": "node-c-s",
|
|
"read-only": true,
|
|
"discard": "unmap"
|
|
}
|
|
{
|
|
"node-name": "node-d-f",
|
|
"read-only": true,
|
|
"discard": "ignore",
|
|
"driver": "raw",
|
|
"file": "node-d-s"
|
|
}
|
|
{
|
|
"driver": "file",
|
|
"filename": "/var/lib/libvirt/images/d",
|
|
"node-name": "node-d-s",
|
|
"read-only": true,
|
|
"discard": "unmap"
|
|
}
|