]> xenbits.xensource.com Git - libvirt.git/commitdiff
qemu: fix domain memory 'last-update' timestamp
authorPavel Hrdina <phrdina@redhat.com>
Wed, 27 Jul 2016 13:33:44 +0000 (15:33 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Wed, 27 Jul 2016 13:39:47 +0000 (15:39 +0200)
This fixes commit 200a40f9 which introduced 'last-update' timestamp.

Signed-off-by: Derbyshev Dmitry <dderbyshev@virtuozzo.com>
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
include/libvirt/libvirt-domain.h
tools/virsh.pod

index 59a05b9b2d8a8ce1f8e49a544a95741a5a026a01..7300f3a74992b3907b07e43212f5ea79d2fe8df4 100644 (file)
@@ -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,
 
     /*
index 9a2390563a106fbe6dbc6772f1e1b1c93c0f8809..2b45ff1553302e7315938dccfc19f5504b4213f3 100644 (file)
@@ -821,6 +821,7 @@ B<Explanation of fields>:
   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