See patch 1 and patch 4 for the purpose of this series.
patches 1,2 are for libvirt.
patch 3 is for ocaml-libvirt.
patch 4 is for virt-top.
Hu Tao (2):
Add a new flag VIR_DOMAIN_CPU_STATS_F_VCPU to virDomainGetCPUStats
Adds support to VIR_DOMAIN_CPU_STATS_F_VCPU in qemu_driver.
include/libvirt/libvirt.h.in | 10 +++
src/qemu/qemu_driver.c | 152 +++++++++++++++++++++++++++++++++++++-----
src/util/cgroup.c | 4 +-
tools/virsh.c | 17 +++--
4 files changed, 160 insertions(+), 23 deletions(-)