From f0be06f5a85b3a94eb6ed4e7f5b573fff5aaf894 Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Thu, 26 Sep 2019 13:01:30 +0200 Subject: [PATCH] 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 Reviewed-by: Eric Blake --- src/qemu/qemu_capabilities.c | 3 +++ src/qemu/qemu_capabilities.h | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c index 72e070e8ab..2edbb3fdfe 100644 --- a/src/qemu/qemu_capabilities.c +++ b/src/qemu/qemu_capabilities.c @@ -540,6 +540,9 @@ VIR_ENUM_IMPL(virQEMUCaps, "dbus-vmstate", "vhost-user-gpu", "vhost-user-vga", + + /* 340 */ + "incremental-backup", ); diff --git a/src/qemu/qemu_capabilities.h b/src/qemu/qemu_capabilities.h index 137b7161a5..5e990ce01e 100644 --- a/src/qemu/qemu_capabilities.h +++ b/src/qemu/qemu_capabilities.h @@ -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; -- GitLab