[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.