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/
Home Products Support Community News


Re: [Xen-devel] [ANNOUNCE] libxenlight

To: Pasi Kärkkäinen <pasik@xxxxxx>
Subject: Re: [Xen-devel] [ANNOUNCE] libxenlight
From: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Date: Thu, 19 Nov 2009 19:43:17 +0000
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Stefano Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>
Delivery-date: Thu, 19 Nov 2009 11:41:18 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20091119185112.GH16033@xxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <alpine.DEB.2.00.0911091340590.22814@kaball-desktop> <20091119185112.GH16033@xxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)
On Thu, 19 Nov 2009, Pasi Kärkkäinen wrote:
> On Mon, Nov 09, 2009 at 02:04:09PM +0000, Stefano Stabellini wrote:
> > Hi all,
> > 
> > I am pleased to announce "libxenlight", a new small and lightweight C
> > library that refactors existing code in a coherent and easy to use API
> > to interface to the hypervisor and xenstore to perform operations such
> > as domain creation and destruction, suspend/restore and pci passthrough.
> > 
> > The goals of libxenlight are:
> > 
> > - be easy to use and to extend
> > - provide a simple and robust API for tool stacks to do xen operations
> > - create a common codebase for the lower-level implementation of all the
> >   various xen tool stacks
> > 
> > At the moment libxenlight implements domain creation, destruction and
> > list domains; next items on the roadmap are suspend, resume and pci
> > passthrough.
> > Libxenlight has been tested only on Linux but we would like to make it
> > work on other systems as well.
> > To aid development and testing we have created a small command line
> > utility called "xl" that invokes the API.
> > 
> > We believe there is significant value in having all the various tool
> > stacks (xend, xapi, xenvm, libvirt etc) use a common lower-layer, and so
> > hope developers will embrace this project, contribute to it, and move
> > their favoured stack over to using it.
> > 
> Hello,
> Does libxenlight currently work on both the traditional Xen and XCP?

XCP is based on xen 3.4 while libxenlight is developed and tested on
xen-unstable so I doubt that in the current state it would work.
However when XCP rebases on xen 3.5 it will inherit libxenlight
In any case backporting libxenlight to xen 3.4 shouldn't be difficult
at all.

> I assume XCP is using the ocaml implementation of xenstore, so does that
> make any difference? I guess the hypervisors are close enough at least.

The xenstore implementation doesn't make any difference, the hypervisor
changes shouldn't create any problem, but few patches in the qemu
patchqueue might.
Xen-devel mailing list
<Prev in Thread] Current Thread [Next in Thread>