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] [PATCH,RFC]: libxl python binding

To: Xen Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH,RFC]: libxl python binding
From: Gianni Tedesco <gianni.tedesco@xxxxxxxxxx>
Date: Tue, 7 Sep 2010 15:38:22 +0100
Cc: Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>, Stefano Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>
Delivery-date: Tue, 07 Sep 2010 07:41:38 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1283869681.20276.159.camel@xxxxxxxxxxxxxxxxxxxxxx>
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: <1283869681.20276.159.camel@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Tue, 2010-09-07 at 15:28 +0100, Gianni Tedesco wrote:
> Attached patch is the first-cut of a libxl python binding. Presently
> only list_domains, domid_to_name, domain_shutdown and domain_destroy are
> implemented. The code takes advantage of Ian Campbells libxl IDL work to
> make 178 lines of python generate 4,460 lines of boilerplate.

I should also say that this patch will crash python without:
 - xl: Fix NULL deref in libxl_ctx_free()

And conflicts with/re-implements:
 - xl: cleanups for IDL code


Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>