]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemu: caps: Add capability for incremental backup support
authorPeter Krempa <pkrempa@redhat.com>
Thu, 26 Sep 2019 11:01:30 +0000 (13:01 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 30 Sep 2019 11:12:56 +0000 (13:12 +0200)
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>
src/qemu/qemu_capabilities.c
src/qemu/qemu_capabilities.h

index 72e070e8abb43bf1d3259607e51326a037a5edb2..2edbb3fdfe417919248d2a35ce2c5879b89a776b 100644 (file)
@@ -540,6 +540,9 @@ VIR_ENUM_IMPL(virQEMUCaps,
               "dbus-vmstate",
               "vhost-user-gpu",
               "vhost-user-vga",
+
+              /* 340 */
+              "incremental-backup",
     );
 
 
index 137b7161a5f3ba5c7055fbb405dd8df6aceece34..5e990ce01e837f72f6b3c2b1bb563bde364f092d 100644 (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;