From f57fbd6c4a5dfc8e725f036791e6333d1ab6f04e Mon Sep 17 00:00:00 2001 From: Pavel Hrdina Date: Wed, 27 Jul 2016 15:33:44 +0200 Subject: [PATCH] qemu: fix domain memory 'last-update' timestamp This fixes commit 200a40f9 which introduced 'last-update' timestamp. Signed-off-by: Derbyshev Dmitry Signed-off-by: Pavel Hrdina --- include/libvirt/libvirt-domain.h | 2 +- tools/virsh.pod | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/libvirt/libvirt-domain.h b/include/libvirt/libvirt-domain.h index 59a05b9b2d..7300f3a749 100644 --- a/include/libvirt/libvirt-domain.h +++ b/include/libvirt/libvirt-domain.h @@ -609,7 +609,7 @@ typedef enum { */ VIR_DOMAIN_MEMORY_STAT_USABLE = 8, - /* Timestamp of the last update of statistics */ + /* Timestamp of the last update of statistics, in seconds. */ VIR_DOMAIN_MEMORY_STAT_LAST_UPDATE = 9, /* diff --git a/tools/virsh.pod b/tools/virsh.pod index 9a2390563a..2b45ff1553 100644 --- a/tools/virsh.pod +++ b/tools/virsh.pod @@ -821,6 +821,7 @@ B: rss - Resident Set Size of the running domain's process (in kB) usable - The amount of memory which can be reclaimed by balloon without causing host swapping (in KB) + last-update - Timestamp of the last update of statistics (in seconds) For QEMU/KVM with a memory balloon, setting the optional I<--period> to a value larger than 0 in seconds will allow the balloon driver to return -- GitLab