summaryrefslogtreecommitdiffstats
path: root/libvirt-override-api.xml
diff options
context:
space:
mode:
authorAdam Litke <agl@us.ibm.com>2011-06-14 09:36:52 -0500
committerEric Blake <eblake@redhat.com>2011-06-14 22:37:39 -0600
commit4e6c71983c7c2c1c5be242d8d6f713521dfd9152 (patch)
tree13fa241db50e79f108cec77e29e58c6f7df8f8d0 /libvirt-override-api.xml
parent100fe0b46babe8ba48193cf1fd6e520278e9afbd (diff)
downloadlibvirt-python-split-4e6c71983c7c2c1c5be242d8d6f713521dfd9152.tar.gz
libvirt-python-split-4e6c71983c7c2c1c5be242d8d6f713521dfd9152.tar.xz
libvirt-python-split-4e6c71983c7c2c1c5be242d8d6f713521dfd9152.zip
Enable virDomainBlockPull in the python API.
virDomainBlockPullAll and virDomainBlockPullAbort are handled automatically. virDomainBlockPull and virDomainBlockPullInfo require manual overrides since they return a custom type. * python/generator.py: reenable bindings for this entry point * python/libvirt-override-api.xml python/libvirt-override.c: manual overrides Signed-off-by: Adam Litke <agl@us.ibm.com> Acked-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'libvirt-override-api.xml')
-rw-r--r--libvirt-override-api.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/libvirt-override-api.xml b/libvirt-override-api.xml
index ec08e69..4bdd5de 100644
--- a/libvirt-override-api.xml
+++ b/libvirt-override-api.xml
@@ -314,5 +314,19 @@
<arg name='flags' type='unsigned int' info='flags, curently unused'/>
<return type='int' info="0 on success, -1 on error"/>
</function>
+ <function name='virDomainBlockPull' file='python'>
+ <info>Initiate an incremental BlockPull for the given disk</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='virDomainBlockPullInfo' info='A dictionary containing progress information.' />
+ </function>
+ <function name='virDomainGetBlockPullInfo' file='python'>
+ <info>Get progress information for a background BlockPull operation</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='virDomainBlockPullInfo' info='A dictionary containing progress information.' />
+ </function>
</symbols>
</api>