summaryrefslogtreecommitdiff
path: root/libvirt-override-api.xml
diff options
context:
space:
mode:
authorPavel Hrdina <phrdina@redhat.com>2014-09-01 21:58:48 +0200
committerPavel Hrdina <phrdina@redhat.com>2014-09-02 00:29:26 +0200
commit0379d2a31a302bc5621d57ee2cd9daa4796972ca (patch)
treeddbe7b89204c4b253fee150e711bcbf646dfdbe1 /libvirt-override-api.xml
parent5ead8c1b0c74f45514af5ccc1defcaabe0dc657a (diff)
downloadlibvirt-python-0379d2a31a302bc5621d57ee2cd9daa4796972ca.tar.gz
Implement API bindings for virDomainBlockCopyv1.2.8
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Diffstat (limited to 'libvirt-override-api.xml')
-rw-r--r--libvirt-override-api.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/libvirt-override-api.xml b/libvirt-override-api.xml
index 09bbbf8..51d8273 100644
--- a/libvirt-override-api.xml
+++ b/libvirt-override-api.xml
@@ -640,5 +640,14 @@
<arg name='flags' type='unsigned int' info='unused, pass 0'/>
<return type='char *' info="list of leases"/>
</function>
+ <function name="virDomainBlockCopy" file="python">
+ <info>Copy the guest-visible contents of a disk image to a new file described by destxml</info>
+ <arg name='dom' type='virDomainPtr' info='pointer to domain object'/>
+ <arg name='disk' type='const char *' info='path to the block device, or device shorthand'/>
+ <arg name='destxml' type='const char *' info='XML description of the copy destination'/>
+ <arg name='params' type='virTypedParameterPtr' info='optional pointer to block copy parameter object, or NULL'/>
+ <arg name='flags' type='unsigned int' info='bitwise-OR of virDomainBlockCopyFlags'/>
+ <return type='int' info='0 if the operation has started, -1 on failure'/>
+ </function>
</symbols>
</api>