From nobody Mon Feb 9 07:25:40 2026
Delivered-To: importer@patchew.org
Received-SPF: pass (zohomail.com: domain of redhat.com designates
205.139.110.61 as permitted sender) client-ip=205.139.110.61;
envelope-from=libvir-list-bounces@redhat.com;
helo=us-smtp-delivery-1.mimecast.com;
Authentication-Results: mx.zohomail.com;
dkim=pass;
spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as
permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com;
dmarc=pass(p=none dis=none) header.from=redhat.com
ARC-Seal: i=1; a=rsa-sha256; t=1575393516; cv=none;
d=zohomail.com; s=zohoarc;
b=OccjFWalJ2oJEXqZr6J9dNSY2h++S9qLLM4BoXBCSiNhQcldssvR4U17yxn0hShSOf705fL9HJsw3+2Yu1JPZYrCTiTGxz+lBatJdI5FkUocVt3F3m1XgcdUnHFV6HOS7X3+ra4TIervpXytfKJSRwd4e+WBpIP+X7qkB1dhClc=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com;
s=zohoarc;
t=1575393516;
h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To;
bh=j/PvEkuMGDb5oBQcKb/k17mendzNdNTOxJ24vMx5H9U=;
b=KrXINZMN+g+viEsttRP1iJiaY50lguCC1RPLOSQXTn+TEosh57Ak+L/mvY+E33AQCH2uGluK40sp3e1kzP/R4wm/HH9ThZHVnAb3Tyn9GcDuZKIu4AdDNvSkm4mPdYDP+pulVYFJxdGEjRvGkWJ6R4OlPiQLQ9+n3U6Fmh5KGfY=
ARC-Authentication-Results: i=1; mx.zohomail.com;
dkim=pass;
spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as
permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com;
dmarc=pass header.from= (p=none dis=none)
header.from=
Return-Path:
Received: from us-smtp-delivery-1.mimecast.com (us-smtp-1.mimecast.com
[205.139.110.61]) by mx.zohomail.com
with SMTPS id 1575393516762387.5314649555311;
Tue, 3 Dec 2019 09:18:36 -0800 (PST)
Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com
[209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id
us-mta-386-R9yPS4CiNdKqtDsV0zsC0w-1; Tue, 03 Dec 2019 12:18:34 -0500
Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com
[10.5.11.12])
(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
(No client certificate requested)
by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 2B3EC800D41;
Tue, 3 Dec 2019 17:18:28 +0000 (UTC)
Received: from colo-mx.corp.redhat.com
(colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20])
by smtp.corp.redhat.com (Postfix) with ESMTPS id 045D360C80;
Tue, 3 Dec 2019 17:18:28 +0000 (UTC)
Received: from lists01.pubmisc.prod.ext.phx2.redhat.com
(lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33])
by colo-mx.corp.redhat.com (Postfix) with ESMTP id A7E4518034FC;
Tue, 3 Dec 2019 17:18:27 +0000 (UTC)
Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com
[10.5.11.11])
by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP
id xB3HIFku003107 for ;
Tue, 3 Dec 2019 12:18:15 -0500
Received: by smtp.corp.redhat.com (Postfix)
id 54B54600D1; Tue, 3 Dec 2019 17:18:15 +0000 (UTC)
Received: from angien.redhat.com (unknown [10.43.2.48])
by smtp.corp.redhat.com (Postfix) with ESMTP id D2021600C8
for ; Tue, 3 Dec 2019 17:18:14 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;
s=mimecast20190719; t=1575393515;
h=from:from:sender:sender:reply-to:subject:subject:date:date:
message-id:message-id:to:to:cc:mime-version:mime-version:
content-type:content-type:
content-transfer-encoding:content-transfer-encoding:
in-reply-to:in-reply-to:references:references:list-id:list-help:
list-unsubscribe:list-subscribe:list-post;
bh=j/PvEkuMGDb5oBQcKb/k17mendzNdNTOxJ24vMx5H9U=;
b=NPiaEcgomJnijj1TbPIrYMQQopnCikCZzMiLq4CjiPWxGsuPB83iz0Sqfv5GKgvSWsQRDZ
VpZm45MQ1evcpULugTdZS9lgYvhSkr/w4H3YKhKQFcl5dAMlQbqXskzjwj+CRxUbmEM1NJ
nl9vBM6RGa6bD1GsF+AZiZk35ofLmLk=
From: Peter Krempa
To: libvir-list@redhat.com
Date: Tue, 3 Dec 2019 18:17:46 +0100
Message-Id:
<5792c9eba959f9e421222b7459749623e6cb6c7f.1575392645.git.pkrempa@redhat.com>
In-Reply-To:
References:
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11
X-loop: libvir-list@redhat.com
Subject: [libvirt] [PATCH v2 24/25] conf: domaincaps: Add 'backup' feature
flag
X-BeenThere: libvir-list@redhat.com
X-Mailman-Version: 2.1.12
Precedence: junk
List-Id: Development discussions about the libvirt library & tools
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Sender: libvir-list-bounces@redhat.com
Errors-To: libvir-list-bounces@redhat.com
X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12
X-MC-Unique: R9yPS4CiNdKqtDsV0zsC0w-1
X-Mimecast-Spam-Score: 0
Content-Transfer-Encoding: quoted-printable
X-ZohoMail-DKIM: pass (identity @redhat.com)
Content-Type: text/plain; charset="utf-8"
This flag will allow figuring out whether the hypervisor supports the
incremental backup and checkpoint features.
Signed-off-by: Peter Krempa
Reviewed-by: Daniel P. Berrang=C3=A9
Reviewed-by: Eric Blake
---
docs/formatdomaincaps.html.in | 8 ++++++++
docs/schemas/domaincaps.rng | 9 +++++++++
src/conf/domain_capabilities.c | 1 +
src/conf/domain_capabilities.h | 1 +
4 files changed, 19 insertions(+)
diff --git a/docs/formatdomaincaps.html.in b/docs/formatdomaincaps.html.in
index 0bafb67705..85226328a8 100644
--- a/docs/formatdomaincaps.html.in
+++ b/docs/formatdomaincaps.html.in
@@ -517,6 +517,7 @@
<vmcoreinfo supported=3D'yes'/>
<genid supported=3D'yes'/>
<backingStoreInput supported=3D'yes'/>
+ <backup supported=3D'yes'/>
<sev>
<cbitpos>47</cbitpos>
<reduced-phys-bits>1</reduced-phys-bits>
@@ -560,6 +561,13 @@
the disk to a running guest, or similar.
+
+
+ Reports whether the hypervisor supports the backup,checkpoint and r=
elated
+ features. (virDomainBackupBegin,
+ virDomainCheckpointCreateXML etc).
+
+
AMD Secure Encrypted Virtualization (SEV) capabilities are exposed =
under
diff --git a/docs/schemas/domaincaps.rng b/docs/schemas/domaincaps.rng
index 88b545ec2a..682cc82177 100644
--- a/docs/schemas/domaincaps.rng
+++ b/docs/schemas/domaincaps.rng
@@ -210,6 +210,9 @@
[
]
+
+ [
+ ]
[
]
@@ -241,6 +244,12 @@
+
+
+ [
+ ]
+
+
[
diff --git a/src/conf/domain_capabilities.c b/src/conf/domain_capabilities.c
index ca208f2340..921d795630 100644
--- a/src/conf/domain_capabilities.c
+++ b/src/conf/domain_capabilities.c
@@ -41,6 +41,7 @@ VIR_ENUM_IMPL(virDomainCapsFeature,
"vmcoreinfo",
"genid",
"backingStoreInput",
+ "backup",
);
static virClassPtr virDomainCapsClass;
diff --git a/src/conf/domain_capabilities.h b/src/conf/domain_capabilities.h
index 4ec9fe006c..9f4a23d015 100644
--- a/src/conf/domain_capabilities.h
+++ b/src/conf/domain_capabilities.h
@@ -163,6 +163,7 @@ typedef enum {
VIR_DOMAIN_CAPS_FEATURE_VMCOREINFO,
VIR_DOMAIN_CAPS_FEATURE_GENID,
VIR_DOMAIN_CAPS_FEATURE_BACKING_STORE_INPUT,
+ VIR_DOMAIN_CAPS_FEATURE_BACKUP,
VIR_DOMAIN_CAPS_FEATURE_LAST
} virDomainCapsFeature;
--=20
2.23.0
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
]