[libvirt] [PATCH 11/14] python: Implement virDomainMigrateGetCompressionCache wrapper

Peter Krempa pkrempa at redhat.com
Fri Feb 22 08:07:59 UTC 2013


On 02/19/13 13:35, Jiri Denemark wrote:
> ---
>   python/libvirt-override-api.xml |  7 +++++++
>   python/libvirt-override.c       | 28 ++++++++++++++++++++++++++++
>   2 files changed, 35 insertions(+)
>
> diff --git a/python/libvirt-override-api.xml b/python/libvirt-override-api.xml
> index 446cdbd..5976fb2 100644
> --- a/python/libvirt-override-api.xml
> +++ b/python/libvirt-override-api.xml
> @@ -491,6 +491,13 @@
>         <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='virDomainMigrateGetCompressionCache' file='python'>
> +      <info>Get current size of the cache (in bytes) used for compressing
> +            repeatedly transferred memory pages during live migration.</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 long' info='current cache size, or None in case of error'/>
> +    </function>

Um, no need to document the Set function too?

>       <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'/>

ACK.

Peter




More information about the libvir-list mailing list