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-api

Re: [Xen-API] Xen Management API draft - portability

On Wed, Jun 28, 2006 at 11:36:39AM +0100, Ewan Mellor wrote:

> > > > - Is an "enum" here a list of strings? If not, there is danger of
> > > > running out of bit numbers in a fixed-size bitmask. It's worth pointing
> > > > out that you've already listed 63 enum items.
> > > 
> > > On the wire, a particular value of an enum is a string, yes.
> > 
> > So we're clear: do you mean "0x1234" will be the string "on the wire",
> > or do you mean "CX8,PSE36,FPU"?
> 
> The latter.

Just in case that wasn't clear, the actual on-the-wire format for a
cpu_feature Set would be

<array><data>
<value><string>CX8</string></value>
<value><string>PSE36</string></value>
<value><string>FPU</string></value>
</data></array>

Cheers,

Ewan.

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api