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

[Xen-devel] Re: [PATCH 1/4] xl: implement parsing of cpuid parameter and

To: Andre Przywara <andre.przywara@xxxxxxx>
Subject: [Xen-devel] Re: [PATCH 1/4] xl: implement parsing of cpuid parameter and translate to Xen interface
From: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Date: Tue, 21 Sep 2010 16:34:38 +0100
Cc: Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Stefano Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>
Delivery-date: Tue, 21 Sep 2010 08:35:55 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4C98B276.5000202@xxxxxxx>
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: <4C98B276.5000202@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Andre Przywara writes ("[PATCH 1/4] xl: implement parsing of cpuid parameter 
and translate to Xen interface"):
> 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
> 
> Signed-off-by: Andre Przywara <andre.przywara@xxxxxxx>

Thanks.  Unfortunately:

/usr/include/sys/ucontext.h:183:1: error: this is the location of the previous 
definition
libxl.c:3237:1: error: "REG_EBX" redefined

This is unfortunate namespace pollution from the libc but I think we
should work around it by putting a LIBXL prefix on the names.

Sorry,
Ian.

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

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