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

Re: [libvirt] RE: Libvirt - Xen Enterprise - Koan



On Thu, Jan 08, 2009 at 12:53:51PM -0000, Gerhardus Geldenhuis gta-travel com wrote:
>    * libxenserver: The XenServer C SDK
[..]
> All this can be downloaded from CDN at
> http://community.citrix.com/display/xs/Download+SDKs

I took a look at the C library:

* It's LGPLv2+, so there is no license issue that I can see with
linking it to libvirt.

* It presents each XenServer API call as a C function.  Each C
function constructs an XML document (XMLRPC, I think), dispatches it
to the server, gets the reply, and unpacks the resulting XML.

* Uses libxml2 to do the XML construction and parsing.

* You have to supply your own HTTP library to pass the data to the
server.  The examples use libcurl for this.

* Compiles with -Wall -Werror without warnings or errors.

It seems reasonably sensible.  It still requires the proprietary
XenEnterprise to be installed for testing of course.

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/


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