[libvirt] [PATCH 0/5] snapshots: topological sorting (incremental backup saga)

Eric Blake eblake at redhat.com
Tue Mar 12 15:29:07 UTC 2019


[resending with widened cc, since Jan reviewed my bulk import patches
that are built on top of this]

On 3/8/19 12:05 AM, Eric Blake wrote:
> While working to add new API for bulk dumpxml/redefine, and turn
> virDomainSnapshotObjList into a base class for sharing with
> checkpoints, I realized how trivial it would be to take advantage of
> information already present on the server, instead of using a lot of
> CPU time with 'virsh snapshot-list --tree' to reconstruct a DAG on
> the client side.
> 
> Eric Blake (5):
>   snapshots: Add flag to guarantee topological sort
>   snapshots: Support topological visits
>   test: Support topological visits
>   qemu: Support topological visits
>   virsh: Add snapshot-list --topological
> 
>  include/libvirt/libvirt-domain-snapshot.h |  4 +++
>  src/conf/snapshot_conf.c                  | 15 +++++---
>  src/libvirt-domain-snapshot.c             | 42 ++++++++++++++++++++++-
>  src/qemu/qemu_driver.c                    |  6 ++++
>  src/test/test_driver.c                    |  6 ++++
>  tools/virsh-snapshot.c                    | 16 +++++++--
>  tools/virsh.pod                           |  7 +++-
>  7 files changed, 86 insertions(+), 10 deletions(-)
> 

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190312/517a70db/attachment-0001.sig>


More information about the libvir-list mailing list