mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-06 20:00:05 +00:00
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>
37 lines
624 B
JSON
37 lines
624 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
|
|
)
|
|
(
|
|
source only properties:
|
|
{
|
|
"driver": "file",
|
|
"filename": "/var/lib/libvirt/images/c"
|
|
}
|
|
backing store string:
|
|
/var/lib/libvirt/images/c
|
|
)
|
|
(
|
|
source only properties:
|
|
{
|
|
"driver": "file",
|
|
"filename": "/var/lib/libvirt/images/d"
|
|
}
|
|
backing store string:
|
|
/var/lib/libvirt/images/d
|
|
)
|