diff options
author | Taku Izumi <izumi.taku@jp.fujitsu.com> | 2011-07-25 14:54:34 +0800 |
---|---|---|
committer | Daniel Veillard <veillard@redhat.com> | 2011-07-25 14:54:34 +0800 |
commit | 70fd735f5a4c15e08b620ccaefb45d5eb5fbc182 (patch) | |
tree | 6dbb6ebba111d8561018da7a5faba59cddd6ea34 /libvirt-override-api.xml | |
parent | af0c40df6c960076ad8b148595a73ee1015fe2de (diff) | |
download | libvirt-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.xml | 6 |
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'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.'/> |