[libvirt] [PATCH v2 0/7] optionally expose disk usage during dumpxml

Eric Blake eblake at redhat.com
Tue Nov 18 13:31:46 UTC 2014


v1 was here:
https://www.redhat.com/archives/libvir-list/2014-September/msg01077.html

This adds the framework for exposing disk of all disks from a single
dumpxml command.  I'm still working on a followup patch to further
list usage of disks in the backing chain, rather than just the
top-level disk, but want to get review started on this code.

Eric Blake (7):
  dumpxml: add flag to virDomainGetXMLDesc
  qemu: refactor dumpxml job handling
  qemu: refactor blockinfo job handling
  dumpxml: let blockinfo reuse virStorageSource
  qemu: refactor blockinfo data gathering
  dumpxml: query disk limits as needed for qemu
  dumpxml: add output of block info

 docs/schemas/domaincommon.rng    |  22 +++
 include/libvirt/libvirt-domain.h |   1 +
 src/conf/domain_conf.c           |  16 +-
 src/libvirt-domain-snapshot.c    |   5 +-
 src/libvirt-domain.c             |  10 +-
 src/qemu/qemu_driver.c           | 397 ++++++++++++++++++++++-----------------
 src/util/virstoragefile.h        |   3 +-
 tools/virsh-domain.c             |   6 +
 tools/virsh.pod                  |   6 +-
 9 files changed, 284 insertions(+), 182 deletions(-)

-- 
1.9.3




More information about the libvir-list mailing list