[PATCHv2 0/2] a new flag VIR_DOMAIN_CPU_STATS_VCPU

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: root <root@KERNEL-128.(none)>

This series adds a new flag VIR_DOMAIN_CPU_STATS_VCPU to
virDomainGetCPUStats, which is for getting statistics of
physical cpu time consumed by virtual cpus.

Changes:

v2:
  - added detailed documentation
  - added some error checks and fix some memleaks
  - the two patches rearranged slightly

Hu Tao (2):
  Add a new flag VIR_DOMAIN_CPU_STATS_VCPU to virDomainGetCPUStats
  Adds support to VIR_DOMAIN_CPU_STATS_VCPU in qemu_driver.

 include/libvirt/libvirt.h.in |    8 ++
 src/libvirt.c                |    9 ++-
 src/qemu/qemu_driver.c       |  186 ++++++++++++++++++++++++++++++++++++++----
 src/util/cgroup.c            |    4 +-
 tools/virsh.c                |   16 +++-
 5 files changed, 199 insertions(+), 24 deletions(-)

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


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux