[libvirt] [PATCH 0/4] snapshot: listing children

Eric Blake eblake at redhat.com
Thu Sep 29 19:02:26 UTC 2011


My previous API added parent traversal; this one adds child traversal.

virsh snapshot-list domain snapshot --tree

is a nice end result for limiting the output to a particular subset
of the overall hierarchy.

Again, same story about not wiring up ESX and VBox support yet, but
I'll play with that next.

Eric Blake (4):
  snapshot: new virDomainSnapshotListChildrenNames API
  snapshot: virsh snapshot-list and children
  snapshot: remote protocol for snapshot children
  snapshot: implement snapshot children listing in qemu

 include/libvirt/libvirt.h.in    |   27 +++++++--
 python/generator.py             |    4 ++
 python/libvirt-override-api.xml |   12 +++-
 python/libvirt-override.c       |   45 ++++++++++++++++
 src/conf/domain_conf.c          |   51 ++++++++++++++++++
 src/conf/domain_conf.h          |    7 +++
 src/driver.h                    |   12 ++++
 src/libvirt.c                   |  111 +++++++++++++++++++++++++++++++++++++++
 src/libvirt_private.syms        |    2 +
 src/libvirt_public.syms         |    2 +
 src/qemu/qemu_driver.c          |   87 ++++++++++++++++++++++++++++++
 src/remote/remote_driver.c      |    2 +
 src/remote/remote_protocol.x    |   25 ++++++++-
 src/remote_protocol-structs     |   20 +++++++
 tools/virsh.c                   |   64 +++++++++++++++++++---
 tools/virsh.pod                 |    9 +++-
 16 files changed, 459 insertions(+), 21 deletions(-)

-- 
1.7.4.4




More information about the libvir-list mailing list