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

Peter Krempa pkrempa at redhat.com
Tue Dec 10 09:19:59 UTC 2019


On Mon, Dec 09, 2019 at 12:57:52 -0600, Eric Blake wrote:
> 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?

I think I'll spend my time on adding snapshot and blockjob support with
checkpoints rather than test driver support.




More information about the libvir-list mailing list