summaryrefslogtreecommitdiffstats
path: root/libvirt-override-api.xml
diff options
context:
space:
mode:
authorJim Fehlig <jfehlig@novell.com>2011-08-26 12:10:21 -0600
committerJim Fehlig <jfehlig@suse.com>2011-09-01 11:26:21 -0600
commitffcb4a3f7c89f15031e6077ad350bf4fc66d571c (patch)
tree76dea002ab00bcfb5ce4f8804f5ddd4109bbdb4e /libvirt-override-api.xml
parent3faa16ef8eadc6c9988bf113e0b22581ea21c3c9 (diff)
downloadlibvirt-python-split-ffcb4a3f7c89f15031e6077ad350bf4fc66d571c.tar.gz
libvirt-python-split-ffcb4a3f7c89f15031e6077ad350bf4fc66d571c.tar.xz
libvirt-python-split-ffcb4a3f7c89f15031e6077ad350bf4fc66d571c.zip
Add public API for getting migration speed
Includes impl of python binding since the generator was not able to cope. Note: Requires gendispatch.pl patch from Matthias Bolte https://www.redhat.com/archives/libvir-list/2011-August/msg01367.html
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 2fa5eed..1cf115c 100644
--- a/libvirt-override-api.xml
+++ b/libvirt-override-api.xml
@@ -356,5 +356,11 @@
<arg name='flags' type='unsigned int' info='fine-tuning flags, currently unused, pass 0.'/>
<return type='virDomainBlockJobInfo' info='A dictionary containing job information.' />
</function>
+ <function name='virDomainMigrateGetMaxSpeed' file='python'>
+ <info>Get currently configured maximum migration speed for a domain</info>
+ <arg name='domain' type='virDomainPtr' info='a domain object'/>
+ <arg name='flags' type='unsigned int' info='flags, currently unused, pass 0.'/>
+ <return type='unsigned long' info='current max migration speed, or None in case of error'/>
+ </function>
</symbols>
</api>