WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Libvir: a simple C virtualization control library

To: Hollis Blanchard <hollisb@xxxxxxxxxx>
Subject: Re: [Xen-devel] Libvir: a simple C virtualization control library
From: Daniel Veillard <veillard@xxxxxxxxxx>
Date: Thu, 15 Dec 2005 12:54:54 -0500
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 15 Dec 2005 17:57:00 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <200512151126.12652.hollisb@xxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20051215150327.GL23448@xxxxxxxxxx> <200512151126.12652.hollisb@xxxxxxxxxx>
Reply-to: veillard@xxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.1i
On Thu, Dec 15, 2005 at 11:26:12AM -0600, Hollis Blanchard wrote:
> On Thursday 15 December 2005 09:03, Daniel Veillard wrote:
> >  The libvir library is born from the need for a simpler userland C library
> > to watch and control Xen domains.
> 
> I'm curious why libxc isn't good enough. Is the emphasis here on "simpler"? 
> >From what I've seen of it so far, I'm not sure I'd call libxc overly 
> complicated...

  I would say simpler to use, I'm not really targetting the same kind of
developpers I guess application and tools developpers not system programmers.
To me libxc is very low level, the high level abstractions are available on
top of the python classes but not at the C level. Basically if you want to
reuse Xen at the application level, you are pushed to Python + GPL which
is not necessarily an easy spot to stay in.

> The reason I'm interested is that right now the PPC port is carrying some 
> libxc hacks for domain creation, which already have caused merge conflicts. 
> There's no pressing need for us to throw out our hacks at the moment, but 
> longer term if it's difficult for us to fit into libxc then maybe libvir 
> would be a better fit.

  I don't think of libvir as a replacement for libxc, so a-priori I'm not sure
it really fits, especially as libvir has no domain creation API yet, but the
library will go where the user base will drive it.

Daniel

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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel