From: Derbyshev Dmitry <dderbys...@virtuozzo.com>

QEMU reports timestamp and available along with other memory statistics.
This information was not saved into domain statistics.

Also, to collect all balloon statistics for all guests it was necessary to make
several libvirt requests (one per VE).
Last patch allows doing this via qemuConnectGetAllDomainStats in one request.

Changes since v1:
 * Enum numeration fixed
 * Macro getting "usage" field fixed
Changes since v2:
 * Previous patches were on wrong branch
 * qemu's stat name was "stat-available-memory"
Changes since v3:
 * domstats patch added
Changes since v4:
 * Formatted and rephrased commit messages
 * Fixed libvirt crash, caused by simultaneous incorrect QUERY job execution
Changes since v5:
 * Updated virsh.pod
 * Splitted patch about domstats into 2 patches
 * Do not report balloon.current as balloon.actual

Derbyshev Dmitry (5):
  virsh: Add balloon stats description to .pod
  qemu: expand domain memory statistics with 'usable'
  qemu: expand domain memory statistics with 'last-update' timestamp
  qemu: split qemuDomainMemoryStats into internal and external functions
  qemu: return balloon statistics when all domain statistics reported

 include/libvirt/libvirt-domain.h | 11 ++++-
 src/libvirt-domain.c             |  5 +++
 src/qemu/qemu_driver.c           | 94 ++++++++++++++++++++++++++++++----------
 src/qemu/qemu_monitor_json.c     | 24 ++++++----
 tools/virsh-domain-monitor.c     |  4 ++
 tools/virsh.pod                  | 29 ++++++++++++-
 6 files changed, 133 insertions(+), 34 deletions(-)

-- 
1.9.5.msysgit.0

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to