qemu: caps: Add capability for incremental backup support

Add a new all-covering capability which will be used to interlock
incremental backup support until all bits are ready.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
Peter Krempa 2019-09-26 13:01:30 +02:00
parent 421c9550f5
commit f0be06f5a8
2 changed files with 6 additions and 0 deletions

View File

@ -540,6 +540,9 @@ VIR_ENUM_IMPL(virQEMUCaps,
"dbus-vmstate",
"vhost-user-gpu",
"vhost-user-vga",
/* 340 */
"incremental-backup",
);

View File

@ -522,6 +522,9 @@ typedef enum { /* virQEMUCapsFlags grouping marker for syntax-check */
QEMU_CAPS_DEVICE_VHOST_USER_GPU, /* -device vhost-user-gpu */
QEMU_CAPS_DEVICE_VHOST_USER_VGA, /* -device vhost-user-vga */
/* 340 */
QEMU_CAPS_INCREMENTAL_BACKUP, /* incremental backup is supported */
QEMU_CAPS_LAST /* this must always be the last item */
} virQEMUCapsFlags;