diff options
author | KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> | 2012-01-28 15:20:28 +0900 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2012-01-28 07:18:27 -0700 |
commit | e1eea7470b79000289c6a537cab2b4ee014c7df1 (patch) | |
tree | 0384b51e7f413b2c590cd0512716204c607e48ad /python/generator.py | |
parent | virsh: Expose new virDomainPMSuspendForDuration API (diff) | |
download | libvirt-e1eea7470b79000289c6a537cab2b4ee014c7df1.tar.gz libvirt-e1eea7470b79000289c6a537cab2b4ee014c7df1.tar.bz2 libvirt-e1eea7470b79000289c6a537cab2b4ee014c7df1.zip |
Add new public API virDomainGetCPUStats()
add new API virDomainGetCPUStats() for getting cpu accounting information
per real cpus which is used by a domain. The API is designed to allow
future extensions for additional statistics.
based on ideas by Lai Jiangshan and Eric Blake.
* src/libvirt_public.syms: add API for LIBVIRT_0.9.10
* src/libvirt.c: define virDomainGetCPUStats()
* include/libvirt/libvirt.h.in: add virDomainGetCPUStats() header
* src/driver.h: add driver API
* python/generator.py: add python API (as not implemented)
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'python/generator.py')
-rwxr-xr-x | python/generator.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/python/generator.py b/python/generator.py index 791b267a5..6f813ae0d 100755 --- a/python/generator.py +++ b/python/generator.py @@ -423,6 +423,7 @@ skip_impl = ( 'virDomainGetBlockIoTune', 'virDomainSetInterfaceParameters', 'virDomainGetInterfaceParameters', + 'virDomainGetCPUStats' # not implemented now. ) qemu_skip_impl = ( |