summaryrefslogtreecommitdiffstats
path: root/libvirt-override-api.xml
diff options
context:
space:
mode:
authorGuannan Ren <gren@redhat.com>2012-03-28 09:41:05 -0600
committerDaniel Veillard <veillard@redhat.com>2012-04-05 11:37:47 +0800
commit0354f6de747e8e2968cb28374f2488cd1a1b3aeb (patch)
tree54efc2bbb9d18e0f48efc0c3efcc7d65df057625 /libvirt-override-api.xml
parent804d6c4cf70f1884902f5cf3f9273e3e68c5ed7d (diff)
downloadlibvirt-python-v6-0354f6de747e8e2968cb28374f2488cd1a1b3aeb.tar.gz
libvirt-python-v6-0354f6de747e8e2968cb28374f2488cd1a1b3aeb.tar.xz
libvirt-python-v6-0354f6de747e8e2968cb28374f2488cd1a1b3aeb.zip
python: make python APIs use these helper functions
https://bugzilla.redhat.com/show_bug.cgi?id=807751 *setPyVirTypedParameter *libvirt_virDomainGetCPUStats (cherry picked from commit 1aeb3d9e7f3a967f7d5e59f852e804aef0786f6c)
Diffstat (limited to 'libvirt-override-api.xml')
-rw-r--r--libvirt-override-api.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/libvirt-override-api.xml b/libvirt-override-api.xml
index 06986ec..0bafd21 100644
--- a/libvirt-override-api.xml
+++ b/libvirt-override-api.xml
@@ -151,11 +151,11 @@
</function>
<function name='virDomainGetCPUStats' file='python'>
<info>Extracts CPU statistics for a running domain. On success it will
- return a list of data of dictionary type. If boolean total is False, the
+ return a list of data of dictionary type. If boolean total is False or 0, the
first element of the list refers to CPU0 on the host, second element is
CPU1, and so on. The format of data struct is as follows:
[{cpu_time:xxx}, {cpu_time:xxx}, ...]
- If it is True, it returns total domain CPU statistics in the format of
+ If it is True or 1, it returns total domain CPU statistics in the format of
[{cpu_time:xxx, user_time:xxx, system_time:xxx}]</info>
<return type='str *' info='returns a list of dictionary in case of success, None in case of error'/>
<arg name='domain' type='virDomainPtr' info='pointer to domain object'/>