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

Eric Blake posted 5 patches 5 years, 1 month ago
Test syntax-check passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20190308060512.17733-1-eblake@redhat.com
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(-)
[libvirt] [PATCH 0/5] snapshots: topological sorting (incremental backup saga)
Posted by Eric Blake 5 years, 1 month ago
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(-)

-- 
2.20.1

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH 0/5] snapshots: topological sorting (incremental backup saga)
Posted by Eric Blake 5 years, 1 month ago
[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

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list