1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-27 07:22:07 +03:00
libvirt/tests/qemublocktestdata/xml2json/file-qcow2-backing-chain-noopts-srconly.json
Peter Krempa 5f3b4a3727 qemublocktest: Test backing store strings
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>
2020-03-24 14:17:47 +01:00

91 lines
1.8 KiB
JSON

(
source only properties:
{
"driver": "file",
"filename": "/var/lib/libvirt/images/rhel7.3.1507297895"
}
backing store string:
/var/lib/libvirt/images/rhel7.3.1507297895
)
(
source only properties:
{
"driver": "file",
"filename": "/var/lib/libvirt/images/rhel7.3.1484071872"
}
backing store string:
/var/lib/libvirt/images/rhel7.3.1484071872
)
(
source only properties:
{
"driver": "file",
"filename": "/var/lib/libvirt/images/rhel7.3.1483615252"
}
backing store string:
/var/lib/libvirt/images/rhel7.3.1483615252
)
(
source only properties:
{
"driver": "file",
"filename": "/var/lib/libvirt/images/rhel7.3.1483605924"
}
backing store string:
/var/lib/libvirt/images/rhel7.3.1483605924
)
(
source only properties:
{
"driver": "file",
"filename": "/var/lib/libvirt/images/rhel7.3.1483605920"
}
backing store string:
/var/lib/libvirt/images/rhel7.3.1483605920
)
(
source only properties:
{
"driver": "file",
"filename": "/var/lib/libvirt/images/rhel7.3.1483546244"
}
backing store string:
/var/lib/libvirt/images/rhel7.3.1483546244
)
(
source only properties:
{
"driver": "file",
"filename": "/var/lib/libvirt/images/rhel7.3.1483545901"
}
backing store string:
/var/lib/libvirt/images/rhel7.3.1483545901
)
(
source only properties:
{
"driver": "file",
"filename": "/var/lib/libvirt/images/rhel7.3.1483545313"
}
backing store string:
/var/lib/libvirt/images/rhel7.3.1483545313
)
(
source only properties:
{
"driver": "file",
"filename": "/var/lib/libvirt/images/rhel7.3.1483536402"
}
backing store string:
/var/lib/libvirt/images/rhel7.3.1483536402
)
(
source only properties:
{
"driver": "file",
"filename": "/var/lib/libvirt/images/rhel7.3.qcow2"
}
backing store string:
/var/lib/libvirt/images/rhel7.3.qcow2
)