qemu: fix domain memory 'last-update' timestamp

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>
This commit is contained in:
Pavel Hrdina 2016-07-27 15:33:44 +02:00
parent 29fca3994b
commit f57fbd6c4a
2 changed files with 2 additions and 1 deletions

View 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,
/*

View 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