提交 f57fbd6c 编写于 作者: P Pavel Hrdina

qemu: fix domain memory 'last-update' timestamp

This fixes commit 200a40f9 which introduced 'last-update' timestamp.
Signed-off-by: NDerbyshev Dmitry <dderbyshev@virtuozzo.com>
Signed-off-by: NPavel Hrdina <phrdina@redhat.com>
上级 29fca399
......@@ -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,
/*
......
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册