mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-05 22:05:47 +00:00
conf: domaincaps: Add 'backup' feature flag
This flag will allow figuring out whether the hypervisor supports the incremental backup and checkpoint features. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
9400302477
commit
528191c754
@ -517,6 +517,7 @@
|
|||||||
<vmcoreinfo supported='yes'/>
|
<vmcoreinfo supported='yes'/>
|
||||||
<genid supported='yes'/>
|
<genid supported='yes'/>
|
||||||
<backingStoreInput supported='yes'/>
|
<backingStoreInput supported='yes'/>
|
||||||
|
<backup supported='yes'/>
|
||||||
<sev>
|
<sev>
|
||||||
<cbitpos>47</cbitpos>
|
<cbitpos>47</cbitpos>
|
||||||
<reduced-phys-bits>1</reduced-phys-bits>
|
<reduced-phys-bits>1</reduced-phys-bits>
|
||||||
@ -560,6 +561,13 @@
|
|||||||
the disk to a running guest, or similar.
|
the disk to a running guest, or similar.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
<h4><a id="featureBackup">backup</a></h4>
|
||||||
|
|
||||||
|
<p>Reports whether the hypervisor supports the backup, checkpoint, and
|
||||||
|
related features. (<code>virDomainBackupBegin</code>,
|
||||||
|
<code>virDomainCheckpointCreateXML</code> etc).
|
||||||
|
</p>
|
||||||
|
|
||||||
<h4><a id="elementsSEV">SEV capabilities</a></h4>
|
<h4><a id="elementsSEV">SEV capabilities</a></h4>
|
||||||
|
|
||||||
<p>AMD Secure Encrypted Virtualization (SEV) capabilities are exposed under
|
<p>AMD Secure Encrypted Virtualization (SEV) capabilities are exposed under
|
||||||
|
@ -210,6 +210,9 @@
|
|||||||
<optional>
|
<optional>
|
||||||
<ref name='backingStoreInput'/>
|
<ref name='backingStoreInput'/>
|
||||||
</optional>
|
</optional>
|
||||||
|
<optional>
|
||||||
|
<ref name='backup'/>
|
||||||
|
</optional>
|
||||||
<optional>
|
<optional>
|
||||||
<ref name='sev'/>
|
<ref name='sev'/>
|
||||||
</optional>
|
</optional>
|
||||||
@ -241,6 +244,12 @@
|
|||||||
</element>
|
</element>
|
||||||
</define>
|
</define>
|
||||||
|
|
||||||
|
<define name='backup'>
|
||||||
|
<element name='backup'>
|
||||||
|
<ref name='supported'/>
|
||||||
|
</element>
|
||||||
|
</define>
|
||||||
|
|
||||||
<define name='sev'>
|
<define name='sev'>
|
||||||
<element name='sev'>
|
<element name='sev'>
|
||||||
<ref name='supported'/>
|
<ref name='supported'/>
|
||||||
|
@ -41,6 +41,7 @@ VIR_ENUM_IMPL(virDomainCapsFeature,
|
|||||||
"vmcoreinfo",
|
"vmcoreinfo",
|
||||||
"genid",
|
"genid",
|
||||||
"backingStoreInput",
|
"backingStoreInput",
|
||||||
|
"backup",
|
||||||
);
|
);
|
||||||
|
|
||||||
static virClassPtr virDomainCapsClass;
|
static virClassPtr virDomainCapsClass;
|
||||||
|
@ -163,6 +163,7 @@ typedef enum {
|
|||||||
VIR_DOMAIN_CAPS_FEATURE_VMCOREINFO,
|
VIR_DOMAIN_CAPS_FEATURE_VMCOREINFO,
|
||||||
VIR_DOMAIN_CAPS_FEATURE_GENID,
|
VIR_DOMAIN_CAPS_FEATURE_GENID,
|
||||||
VIR_DOMAIN_CAPS_FEATURE_BACKING_STORE_INPUT,
|
VIR_DOMAIN_CAPS_FEATURE_BACKING_STORE_INPUT,
|
||||||
|
VIR_DOMAIN_CAPS_FEATURE_BACKUP,
|
||||||
|
|
||||||
VIR_DOMAIN_CAPS_FEATURE_LAST
|
VIR_DOMAIN_CAPS_FEATURE_LAST
|
||||||
} virDomainCapsFeature;
|
} virDomainCapsFeature;
|
||||||
|
Loading…
Reference in New Issue
Block a user