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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux