Re: PATCH: Add missing APIs to python binding

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Daniel

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

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]