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

[libvirt] [PATCH 0/6] refactor 'virsh snapshot-list'

I'm in the middle of writing a patch series for virDomainListAllSnapshots;
this series is preliminary to that, and I'd like to get the review
started now.

The end result of this series is a net gain in lines of code, but a
much nicer framework for changing just one point in the code to use
new APIs and having everything else continue to work as before.

Eric Blake (6):
  buf: support peeking at string contents
  virsh: remove limits on tree listing
  virsh: make tree listing more flexible
  snapshot: virsh indentation cleanup
  snapshot: new virsh function factored from snapshot-list
  snapshot: use new virsh function for snapshot-list

 src/libvirt_private.syms |    1 +
 src/util/buf.c           |   22 +-
 src/util/buf.h           |    1 +
 tests/virbuftest.c       |    8 +
 tools/virsh.c            |  735 +++++++++++++++++++++++++++-------------------
 5 files changed, 466 insertions(+), 301 deletions(-)


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