[Libvir] PATCH: Add missing APIs to python binding

Daniel Veillard veillard at redhat.com
Mon Jan 21 09:04:46 UTC 2008

On Sun, Jan 20, 2008 at 05:23:46PM +0000, Daniel P. Berrange wrote:
> The python binding is missing all the APIs relating to CPU pinning and
> schedular parameters because they are too hard for the generator to manage.
> The generator fails on the C code part of the bindings completely, so that
> is hand-written. It also fails on the python part of the bindings, but
> the way the generator is structured doesn't enable us to hand-write the 
> python part for methods within objects :-( So I have basically just editted
> the generator to blacklist all the out-parameters, and blacklist the in
> parameters which specify list lengths.

  I'm not sure why you had to patch the generator.py , could you explain
a bit ? Also I don't see in the patch any extra entry in 
python/libvirt-python-api.xml , its purpose is to help the generator
writing the python side of the bindings for hand generated ones. So i 
wonder if the two are not related.


Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard at redhat.com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/

More information about the libvir-list mailing list