[libvirt] [PATCH v2 24/25] conf: domaincaps: Add 'backup' feature flag

Eric Blake eblake at redhat.com
Mon Dec 9 18:57:52 UTC 2019


On 12/3/19 11:17 AM, Peter Krempa wrote:
> This flag will allow figuring out whether the hypervisor supports the
> incremental backup and checkpoint features.
> 
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---
>   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='yes'/>
>       <genid supported='yes'/>
>       <backingStoreInput supported='yes'/>
> +    <backup supported='yes'/>
>       <sev>
>         <cbitpos>47</cbitpos>
>         <reduced-phys-bits>1</reduced-phys-bits>
> @@ -560,6 +561,13 @@
>       the disk to a running guest, or similar.
>       </p>
> 
> +    <h4><a id="featureBackup">backup</a></h4>
> +
> +    <p>Reports whether the hypervisor supports the backup,checkpoint and related

space after comma.

Reviewed-by: Eric Blake <eblake at redhat.com>

Hmm - as of this series, the test driver supports checkpoints but not 
(yet) backups.  Are there plans to get rudimentary backup support into 
the test driver as well, so that we can declare the feature there as 
well as in qemu?

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org




More information about the libvir-list mailing list