mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-24 14:45:24 +00:00
qemu: capabilities: Add QEMU_CAPS_BLOCKDEV_REOPEN
This capability will be asserted once qemu stabilizes 'blockdev-reopen'. For now we just add the capability so that we can introduce some code that will use the reopening call. This will show our willingness to adopt use of reopen and help qemu developers stabilize it. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
parent
d2c43a5b51
commit
ecdd929761
@ -566,6 +566,7 @@ VIR_ENUM_IMPL(virQEMUCaps,
|
|||||||
"vhost-user-fs",
|
"vhost-user-fs",
|
||||||
"query-named-block-nodes.flat",
|
"query-named-block-nodes.flat",
|
||||||
"blockdev-snapshot.allow-write-only-overlay",
|
"blockdev-snapshot.allow-write-only-overlay",
|
||||||
|
"blockdev-reopen",
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
@ -547,6 +547,7 @@ typedef enum { /* virQEMUCapsFlags grouping marker for syntax-check */
|
|||||||
QEMU_CAPS_DEVICE_VHOST_USER_FS, /* -device vhost-user-fs */
|
QEMU_CAPS_DEVICE_VHOST_USER_FS, /* -device vhost-user-fs */
|
||||||
QEMU_CAPS_QMP_QUERY_NAMED_BLOCK_NODES_FLAT, /* query-named-block-nodes supports the 'flat' option */
|
QEMU_CAPS_QMP_QUERY_NAMED_BLOCK_NODES_FLAT, /* query-named-block-nodes supports the 'flat' option */
|
||||||
QEMU_CAPS_BLOCKDEV_SNAPSHOT_ALLOW_WRITE_ONLY, /* blockdev-snapshot has the 'allow-write-only-overlay' feature */
|
QEMU_CAPS_BLOCKDEV_SNAPSHOT_ALLOW_WRITE_ONLY, /* blockdev-snapshot has the 'allow-write-only-overlay' feature */
|
||||||
|
QEMU_CAPS_BLOCKDEV_REOPEN, /* 'blockdev-reopen' qmp command is supported */
|
||||||
|
|
||||||
QEMU_CAPS_LAST /* this must always be the last item */
|
QEMU_CAPS_LAST /* this must always be the last item */
|
||||||
} virQEMUCapsFlags;
|
} virQEMUCapsFlags;
|
||||||
|
Loading…
Reference in New Issue
Block a user