This is my enhancements to Hu's series. If it still works for
his testing, then I'm ready to push it.
I also think we should port virDomainGetCPUStats to LXC; at least the
overall statistics are available since LXC sets up a cgroup, although
I'm not quite as sure whether vcpu statistics are possible.
Hu Tao (2):
Add a new param 'vcpu_time' to virDomainGetCPUStats
Adds support to param 'vcpu_time' in qemu_driver.
include/libvirt/libvirt.h.in | 10 +++-
src/qemu/qemu_driver.c | 123 ++++++++++++++++++++++++++++++++++++++---
src/util/cgroup.c | 4 +-
tools/virsh.c | 14 +++--
4 files changed, 134 insertions(+), 17 deletions(-)
--
1.7.7.6