Info provided in virDomainGetCPUStats is currently missed in all
domain stats. This patch removes this discrepancy.

You may need not yet merged patch 
'qemu: fix crash on getting block stats for empty cdrom' to test this
series.

diff from v1:
================

1. reuse code (patches 1, 2)
2. move per cpu stats to a distinct stats group
3. add documentation

Nikolay Shirokovskiy (3):
  cgroup: extract interface part from virCgroupGetPercpuStats
  cgroup: reuse virCgroupGetPercpuTime in virCgroupGetPercpuVcpuSum
  add per cpu stats to all domain stats

 docs/news.xml                    |   9 ++
 include/libvirt/libvirt-domain.h |   1 +
 src/libvirt-domain.c             |   7 ++
 src/libvirt_private.syms         |   2 +
 src/qemu/qemu_driver.c           |  64 ++++++++++++++
 src/util/vircgroup.c             | 178 +++++++++++++++++++++++++++------------
 src/util/vircgroup.h             |  17 ++++
 tools/virsh-domain-monitor.c     |   7 ++
 tools/virsh.pod                  |  11 ++-
 9 files changed, 238 insertions(+), 58 deletions(-)

-- 
1.8.3.1

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

Reply via email to