[libvirt] [PATCH v2 05/25] backup: Introduce virDomainBackup APIs

Ján Tomko jtomko at redhat.com
Mon Dec 9 14:42:20 UTC 2019


On Tue, Dec 03, 2019 at 06:17:27PM +0100, Peter Krempa wrote:
>From: Eric Blake <eblake at redhat.com>
>
>Introduce a few new public APIs related to incremental backups.  This
>builds on the previous notion of a checkpoint (without an existing
>checkpoint, the new API is a full backup, differing from
>virDomainBlockCopy in the point of time chosen and in operation on
>multiple disks at once); and also allows creation of a new checkpoint
>at the same time as starting the backup (after all, an incremental
>backup is only useful if it covers the state since the previous
>backup).
>
>A backup job also affects filtering a listing of domains, as well as
>adding event reporting for signaling when a push model backup
>completes (where the hypervisor creates the backup); note that the
>pull model does not have an event (starting the backup lets a third
>party access the data, and only the third party knows when it is
>finished).
>
>The full list of new APIs:
>        virDomainBackupBegin;
>        virDomainBackupGetXMLDesc;
>
>Signed-off-by: Eric Blake <eblake at redhat.com>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> include/libvirt/libvirt-domain.h |  19 +++-
> src/driver-hypervisor.h          |  12 +++
> src/libvirt-domain-checkpoint.c  |   7 +-
> src/libvirt-domain.c             | 143 +++++++++++++++++++++++++++++++
> src/libvirt_public.syms          |   6 ++
> 5 files changed, 183 insertions(+), 4 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20191209/5d74e6f0/attachment-0001.sig>


More information about the libvir-list mailing list