1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-11-17 08:24:20 +03:00

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
This commit is contained in:
Jim Fehlig
2011-08-26 12:10:21 -06:00
committed by Jim Fehlig
parent d1535e668a
commit b12354befe
12 changed files with 122 additions and 2 deletions

View File

@@ -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>