Re: [PATCH v4 0/3] qemu: expand domain memory statistics

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



08.06.2016 16:30, Derbyshev Dmitriy пишет:

From: Derbyshev Dmitry <dderbyshev@xxxxxxxxxxxxx>

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:
  * 3rd patch added

Derbyshev Dmitry (3):
   qemu: expand domain memory statistics with 'usable'
   qemu: expand domain memory statistics with 'last-update' timestamp
   qemu: return balloon statistics alongside all domain stats

  include/libvirt/libvirt-domain.h | 11 +++++-
  src/libvirt-domain.c             |  5 +++
  src/qemu/qemu_driver.c           | 84 +++++++++++++++++++++++++++++++---------
  src/qemu/qemu_monitor_json.c     | 22 ++++++-----
  tools/virsh-domain-monitor.c     |  4 ++
  5 files changed, 98 insertions(+), 28 deletions(-)



Please ignore this version of the series as it had a bug causing libvirt to crash on simultaneous qemuMonitorSend call.
v5 series is sent.

Maxim

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




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]