
On Thu, May 17, 2012 at 03:56:46PM -0600, Eric Blake wrote:
This is my enhancements to Hu's series. If it still works for his testing, then I'm ready to push it.
Thanks Eric. v5 works here. But I don't have a cpu-hotplug/hotunplug environment, so this case is not tested.
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.
I'll look into this later.
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
-- Thanks, Hu Tao