[virt-tools-list] [PATCH 0/2] use libvirt virConnectGetAllDomainStats

Simon Kobyda skobyda at redhat.com
Fri Sep 7 11:52:40 UTC 2018


Statistics for all domains are obtained in connection class. Statistics
of each domain are passed to .tick() method.
Reduces number of polling.
If virConnectGetAllDomainStats() is not supported, virt-manager
fallbacks to use of old methods.

https://bugzilla.redhat.com/show_bug.cgi?id=1264684

Simon Kobyda (2):
  domain: Prepare domain for new stats API
  manager: Implement virConnectGetAllDomainStats API

 virtManager/connection.py |  29 ++++++-
 virtManager/domain.py     | 176 +++++++++++++++++++++++---------------
 2 files changed, 134 insertions(+), 71 deletions(-)

-- 
2.17.1




More information about the virt-tools-list mailing list