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(a)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