mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-27 16:15:23 +00:00
5f3b4a3727
With -blockdev libvirt provides the string which is recorded as 'backing store' property of an image to qemu. Add testing for qemuBlockGetBackingStoreString which generates these strings as there's logic which determines which format to use. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
19 lines
312 B
JSON
19 lines
312 B
JSON
(
|
|
source only properties:
|
|
{
|
|
"driver": "file",
|
|
"filename": "/var/lib/libvirt/images/a"
|
|
}
|
|
backing store string:
|
|
/var/lib/libvirt/images/a
|
|
)
|
|
(
|
|
source only properties:
|
|
{
|
|
"driver": "file",
|
|
"filename": "/var/lib/libvirt/images/b"
|
|
}
|
|
backing store string:
|
|
/var/lib/libvirt/images/b
|
|
)
|