[libvirt] [RFC: PATCH 0/2] Display allocation during dumpxml

Eric Blake eblake at redhat.com
Wed Sep 17 14:43:09 UTC 2014


I'm still working on code to populate the latest numbers for
each disk of a domain, including getting numbers for offline
domains, but have confirmed that with these two patches alone
I'm able to see <capacity> and <allocation> numbers for block
volumes of live domains (thanks to how we populate backing
chain information).  So while there are more patches to come,
I'd like to get review started on my proposed API addition.

Eric Blake (2):
  dumpxml: add flag to virDomainGetXMLDesc
  dumpxml: prepare to output block info

 docs/schemas/domaincommon.rng | 22 ++++++++++++++++++++++
 include/libvirt/libvirt.h.in  |  1 +
 src/conf/domain_conf.c        | 16 +++++++++++++++-
 src/libvirt.c                 | 15 +++++++++++----
 src/util/virstoragefile.h     |  3 ++-
 tools/virsh-domain.c          |  6 ++++++
 tools/virsh.pod               |  6 ++++--
 7 files changed, 61 insertions(+), 8 deletions(-)

-- 
1.9.3




More information about the libvir-list mailing list