Re: [libvirt] [PATCH 1/n] dumpxml: add flag to virDomainGetXMLDesc

2014-11-18 Thread Eric Blake
On 10/23/2014 07:52 AM, Adam Litke wrote: > On 17/09/14 08:43 -0600, Eric Blake wrote: >> + * If @flags contains VIR_DOMAIN_XML_BLOCK_INFO, the listing for each >> + * device will contain additional information such as capacity >> + * and allocation, similar to what is displayed by >> virStorageVo

Re: [libvirt] [PATCH 1/n] dumpxml: add flag to virDomainGetXMLDesc

2014-10-23 Thread Adam Litke
On 17/09/14 08:43 -0600, Eric Blake wrote: + * If @flags contains VIR_DOMAIN_XML_BLOCK_INFO, the listing for each + * device will contain additional information such as capacity + * and allocation, similar to what is displayed by virStorageVolGetXMLDesc(), + * and avoiding the need to call virDo

[libvirt] [PATCH 1/n] dumpxml: add flag to virDomainGetXMLDesc

2014-09-17 Thread Eric Blake
The information in virDomainGetBlockInfo() is important for clients that use qcow2 format on LVM block devices - by tracking the allocation in relation to the physical size, management can tell if a disk needs to be expanded before the guest (file system contents) and/or qemu (copy-on-write differi