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

[Xen-devel] Re: [PATCH 3/5] xl: implement parsing of cpuid parameter and translate to Xen interface



On Thu, 2010-09-16 at 14:08 +0100, Andre Przywara wrote:
> Parses a string enumerating cpuid flags and their behavior.
> The syntax is: cpuid = "host,<flagname>=[01xks],..."
> Supports:
> 0: clear this flag
> 1: set this flag
> x: don't care, use the default handling
> k: use the host value
> s: as k, but keep stable across migrations
> 
> Instead of the bits there can also be numbers passed (hex or dec),
> like: family=0x10,model=4

Isn't this ambiguous?

0x10 could be a hex number (i.e. 16 decimal) but it could be "(0) clear,
(x) don't care, (1) set, (0) clear". (i.e. either 2 or 6 depending on
the eventual value for the don't care)

Ian.


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


 


Rackspace

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