diff options
author | Adam Litke <agl@us.ibm.com> | 2011-07-22 13:43:53 +0800 |
---|---|---|
committer | Daniel Veillard <veillard@redhat.com> | 2011-07-22 13:43:53 +0800 |
commit | 3d3872d29da204cdf8e9503f090029e8b5aa88ba (patch) | |
tree | 31e3d2d72e2a25bb027a796857ce2bd2ff855d8c /libvirt-override-api.xml | |
parent | 384d3ae35bb6c4ee90730bd273922447700bea82 (diff) | |
download | libvirt-python-v6-3d3872d29da204cdf8e9503f090029e8b5aa88ba.tar.gz libvirt-python-v6-3d3872d29da204cdf8e9503f090029e8b5aa88ba.tar.xz libvirt-python-v6-3d3872d29da204cdf8e9503f090029e8b5aa88ba.zip |
Enable virDomainBlockPull in the python API
virDomainGetBlockJobInfo requires manual override since it returns a
custom type.
* python/generator.py: reenable bindings for this entry point
* python/libvirt-override-api.xml python/libvirt-override.c:
manual overrides
Diffstat (limited to 'libvirt-override-api.xml')
-rw-r--r-- | libvirt-override-api.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libvirt-override-api.xml b/libvirt-override-api.xml index 01207d6..268f897 100644 --- a/libvirt-override-api.xml +++ b/libvirt-override-api.xml @@ -320,5 +320,12 @@ <arg name='flags' type='unsigned int' info='flags, curently unused'/> <return type='int' info="0 on success, -1 on error"/> </function> + <function name='virDomainGetBlockJobInfo' file='python'> + <info>Get progress information for a block job</info> + <arg name='dom' type='virDomainPtr' info='pointer to the domain'/> + <arg name='path' type='const char *' info='Fully-qualified filename of disk'/> + <arg name='flags' type='unsigned int' info='fine-tuning flags, currently unused, pass 0.'/> + <return type='virDomainBlockJobInfo' info='A dictionary containing job information.' /> + </function> </symbols> </api> |