[libvirt] [PATCHv2 07/11] qemu: bulk stats: implement balloon group

Eric Blake eblake at redhat.com
Tue Sep 2 22:53:41 UTC 2014


On 09/02/2014 06:31 AM, Francesco Romani wrote:
> This patch implements the VIR_DOMAIN_STATS_BALLOON
> group of statistics.
> 
> Signed-off-by: Francesco Romani <fromani at redhat.com>
> ---
>  include/libvirt/libvirt.h.in |  1 +
>  src/libvirt.c                |  4 ++++
>  src/qemu/qemu_driver.c       | 32 ++++++++++++++++++++++++++++++++
>  3 files changed, 37 insertions(+)

>   *
> + * VIR_DOMAIN_STATS_BALLOON: Return memory balloon device informations.

s/informations/information/

> + * The typed parameter keys are in this format:
> + * "balloon.current" - the memory in KBytes currently used
> + * "balloon.maximum" - the maximum memory in KBytes allowed

Missing type information of unsigned long long.

KBytes is not quite the right abbreviated unit name; kibibytes (kiB)
would be more accurate.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 539 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140902/5f0d98ee/attachment-0001.sig>


More information about the libvir-list mailing list