[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