summaryrefslogtreecommitdiffstats
path: root/libvirt-override-api.xml
diff options
context:
space:
mode:
authorTaku Izumi <izumi.taku@jp.fujitsu.com>2011-07-25 14:54:34 +0800
committerDaniel Veillard <veillard@redhat.com>2011-07-25 14:54:34 +0800
commit70fd735f5a4c15e08b620ccaefb45d5eb5fbc182 (patch)
tree6dbb6ebba111d8561018da7a5faba59cddd6ea34 /libvirt-override-api.xml
parentaf0c40df6c960076ad8b148595a73ee1015fe2de (diff)
downloadlibvirt-python-v6-70fd735f5a4c15e08b620ccaefb45d5eb5fbc182.tar.gz
libvirt-python-v6-70fd735f5a4c15e08b620ccaefb45d5eb5fbc182.tar.xz
libvirt-python-v6-70fd735f5a4c15e08b620ccaefb45d5eb5fbc182.zip
python: add Python binding for virDomainGetSchedulerParametersFlags API
This patch adds the Python bindings for virDomainGetSchedulerParametersFlags API. * python/libvirt-override-api.xml: provide and override description * python/libvirt-override.c: implement the bindings
Diffstat (limited to 'libvirt-override-api.xml')
-rw-r--r--libvirt-override-api.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/libvirt-override-api.xml b/libvirt-override-api.xml
index 268f897..730f695 100644
--- a/libvirt-override-api.xml
+++ b/libvirt-override-api.xml
@@ -151,6 +151,12 @@
<return type='int' info='-1 in case of error, 0 in case of success.'/>
<arg name='domain' type='virDomainPtr' info='pointer to domain object'/>
</function>
+ <function name='virDomainGetSchedulerParametersFlags' file='python'>
+ <info>Get the scheduler parameters</info>
+ <return type='virSchedParameterPtr' info='None in case of error, returns a dictionary of params'/>
+ <arg name='domain' type='virDomainPtr' info='pointer to domain object'/>
+ <arg name='flags' type='int' info='an OR&apos;ed set of virDomainModificationImpact'/>
+ </function>
<function name='virDomainGetSchedulerType' file='python'>
<info>Get the scheduler type.</info>
<return type='char *' info='NULL in case of error. The caller must free the returned string.'/>