[libvirt] [PATCH 11/14] python: Implement virDomainMigrateGetCompressionCache wrapper
Jiri Denemark
jdenemar at redhat.com
Fri Feb 22 16:16:02 UTC 2013
On Fri, Feb 22, 2013 at 09:07:59 +0100, Peter Krempa wrote:
> 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?
No :-) Our python generator works just fine for the Set function and
thus it does not need to be overridden this way.
Jirka
More information about the libvir-list
mailing list