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 V4] libxl, Introduce a QMP client

Ian Campbell writes ("Re: [Xen-devel] [PATCH V4] libxl, Introduce a QMP 
client"):
> On Mon, 2011-06-20 at 15:50 +0100, Ian Jackson wrote:
> > If we do need to define these, we should use a libxl idl enum (with
> > Ian Campbell's string-mapping-generation patch which I will apply
> > shortly. 
> 
> Just to note that this is enum is only used internally, using the IDL as
> is would make it public... It'd be relatively easy to allow for internal
> types in the IDL but I'm not sure if we want to? I think if we did I'd
> be tempted to add a separate libxl_internal.idl generating (using the
> same generator) _libxl_types_internal.[ch] etc.

Yes.

My point was that we shouldn't have handwritten tables of
enum-vs-strings when we have a generator ...

Ian.

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