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] [PATCH 5 of 8] libxl: autogenerate _libxl_types.h

To: Ian Campbell <ian.campbell@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 5 of 8] libxl: autogenerate _libxl_types.h
From: Gianni Tedesco <gianni.tedesco@xxxxxxxxxx>
Date: Tue, 3 Aug 2010 13:13:05 +0100
Cc: Ian, Campbell <Ian.Campbell@xxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 03 Aug 2010 05:16:59 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <c87dd259a8ed069d8786.1280833220@xxxxxxxxxxxxxxxxxxxxx>
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: <c87dd259a8ed069d8786.1280833220@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Tue, 2010-08-03 at 12:00 +0100, Ian Campbell wrote:
> +Types = [
> +    libxl_dominfo,
> +    libxl_poolinfo,
> +    libxl_vminfo,
> +    libxl_version_info,
> +    libxl_domain_create_info,
> +    libxl_file_reference,
> +    libxl_domain_build_info,
> +    libxl_domain_build_state,
> +    libxl_device_model_info,
> +    libxl_device_vfb,
> +    libxl_device_vkb,
> +    libxl_device_console,
> +    libxl_device_disk,
> +    libxl_device_nic,
> +    libxl_device_net2,
> +    libxl_device_pci,
> +]

I like the idea of the patch, I think the libxl bits should be in a
separate python module though or perhaps the gentypes.py.

Also I think an integer ptr attribute on the base class would be a good
idea if only to get rid of nasty whitespace issue :) -- I haven't groked
the code too closely but it may also be able to fold such a thing in to
has_destructor attribute? anyway...


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

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