Re: [PATCHv4 8/8] qemu: bulk stats: add block allocation information

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

 



On 09/12/14 13:48, Francesco Romani wrote:
> Management software wants to be able to allocate disk space on demand.
> To support this they need keep track of the space occupation
> of the block device.
> This information is reported by qemu as part of block stats.
> 
> This patch extend the block information in the bulk stats with
> the allocation information.
> 
> To keep the same behaviour a helper is extracted from
> qemuMonitorJSONGetBlockExtent in order to get per-device
> allocation information.
> 
> Signed-off-by: Francesco Romani <fromani@xxxxxxxxxx>
> ---
>  src/libvirt.c                |  2 +
>  src/qemu/qemu_driver.c       | 18 +++++++++
>  src/qemu/qemu_monitor.h      |  1 +
>  src/qemu/qemu_monitor_json.c | 91 ++++++++++++++++++++++++++++++++++----------
>  4 files changed, 92 insertions(+), 20 deletions(-)
> 

The error reporting is a bit unusual, but should work fine. Thus:

ACK

Peter

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]