mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-26 07:36:19 +00:00
7ba2208add
QEMU requires an extra wrapper object where only the "file" member is populated. This is basically a placeholder for establishing the format layer. We did the same in qemuDiskSourceGetProps for the old-school JSON usage with -drive but forgot to adopt this for -blockdev. https://bugzilla.redhat.com/show_bug.cgi?id=1804617 Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
16 lines
229 B
JSON
16 lines
229 B
JSON
(
|
|
source only properties:
|
|
{
|
|
"driver": "nvme",
|
|
"device": "0000:01:00.0",
|
|
"namespace": 1
|
|
}
|
|
backing store string:
|
|
json:{"file":{
|
|
"driver": "nvme",
|
|
"device": "0000:01:00.0",
|
|
"namespace": 1
|
|
}
|
|
}
|
|
)
|