]> xenbits.xensource.com Git - libvirt.git/commit
qemu: expand domain memory statistics with 'last-update' timestamp
authorDerbyshev Dmitry <dderbyshev@virtuozzo.com>
Wed, 1 Jun 2016 17:07:07 +0000 (20:07 +0300)
committerPavel Hrdina <phrdina@redhat.com>
Tue, 26 Jul 2016 15:30:01 +0000 (17:30 +0200)
commit200a40f94ec9427eb7187d9d5396ad3a3f2925c8
tree3e0825d32ed2b1b42367ba370899f7eb3f9d17a5
parent65bf044686c7502ba16f1bee5763fd3e448994fd
qemu: expand domain memory statistics with 'last-update' timestamp

QEMU reports timestamp along with other memory statistics, but this information is not saved into domain statistics.
It could be useful to determine if the data reported is fresh or not.
Balloon statistics are not reported in hrf, so no modifications are made in qemu_monitor_text.c.

Signed-off-by: Derbyshev Dmitry <dderbyshev@virtuozzo.com>
include/libvirt/libvirt-domain.h
src/libvirt-domain.c
src/qemu/qemu_monitor_json.c
tools/virsh-domain-monitor.c