mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 19:45:21 +00:00
b54af513d6
Formats supporting backing chain such as qed, vmdk, don't have any other parameters than the backing store and 'qcow' has only encryption params which will be tested extra. Add this test case so they are covered since any further test cases will mainly care about 'qcow2' and 'raw'. The top level disk image would generate the following '-drive' cmdline: -drive file=/var/lib/libvirt/images/a,format=qed,if=none,id=drive-dummy -device virtio-blk-pci,scsi=off,drive=drive-dummy,id=dummy Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: John Ferlan <jferlan@redhat.com>
52 lines
995 B
JSON
52 lines
995 B
JSON
{
|
|
"node-name": "node-a-f",
|
|
"read-only": false,
|
|
"driver": "qed",
|
|
"file": {
|
|
"driver": "file",
|
|
"filename": "/var/lib/libvirt/images/a",
|
|
"node-name": "node-a-s",
|
|
"read-only": false,
|
|
"discard": "unmap"
|
|
},
|
|
"backing": "node-b-f"
|
|
}
|
|
{
|
|
"node-name": "node-b-f",
|
|
"read-only": true,
|
|
"driver": "qcow",
|
|
"file": {
|
|
"driver": "file",
|
|
"filename": "/var/lib/libvirt/images/b",
|
|
"node-name": "node-b-s",
|
|
"read-only": true,
|
|
"discard": "unmap"
|
|
},
|
|
"backing": "node-c-f"
|
|
}
|
|
{
|
|
"node-name": "node-c-f",
|
|
"read-only": true,
|
|
"driver": "vmdk",
|
|
"file": {
|
|
"driver": "file",
|
|
"filename": "/var/lib/libvirt/images/c",
|
|
"node-name": "node-c-s",
|
|
"read-only": true,
|
|
"discard": "unmap"
|
|
},
|
|
"backing": "node-d-f"
|
|
}
|
|
{
|
|
"node-name": "node-d-f",
|
|
"read-only": true,
|
|
"driver": "raw",
|
|
"file": {
|
|
"driver": "file",
|
|
"filename": "/var/lib/libvirt/images/d",
|
|
"node-name": "node-d-s",
|
|
"read-only": true,
|
|
"discard": "unmap"
|
|
}
|
|
}
|