
On Wed, Dec 03, 2008 at 02:20:44PM +0100, Pritesh Kothari wrote:
Hi,
I am in the process of adding support for virtualbox in libvirt.
Basically Virtualbox exports its API through XPCOM. Now to simplify things I was thinking of using C++ and already existing xpcom component in virtualbox but since libvirt exports C API i am not sure if i should use C++ or stick to plain C.
I would like to request the libvirt community for its comment on this.
please use plain C if you want the support to be incorporated, check existing recent drivers code to see how to handle the XML format parsing and saving, also make sure you don't need too much extra libraries and that their Licence is compatible with the LGPL of libvirt otherwise the code will be unusable in the end. thanks ! Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ daniel@veillard.com | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/