summaryrefslogtreecommitdiffstats
path: root/generator.py
diff options
context:
space:
mode:
authorKAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>2012-01-28 15:20:28 +0900
committerEric Blake <eblake@redhat.com>2012-01-28 07:18:27 -0700
commitfc722a66facfa375ffc458f6e2d0820c18b811e8 (patch)
tree7e1cffd2ad4629fa5c1279dcf2bd40b0c908c628 /generator.py
parentc5a79519d11c2e4388a1791bac114fc16131bd13 (diff)
downloadlibvirt-python-split-fc722a66facfa375ffc458f6e2d0820c18b811e8.tar.gz
libvirt-python-split-fc722a66facfa375ffc458f6e2d0820c18b811e8.tar.xz
libvirt-python-split-fc722a66facfa375ffc458f6e2d0820c18b811e8.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 'generator.py')
-rwxr-xr-xgenerator.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/generator.py b/generator.py
index 791b267..6f813ae 100755
--- a/generator.py
+++ b/generator.py
@@ -423,6 +423,7 @@ skip_impl = (
'virDomainGetBlockIoTune',
'virDomainSetInterfaceParameters',
'virDomainGetInterfaceParameters',
+ 'virDomainGetCPUStats' # not implemented now.
)
qemu_skip_impl = (