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] libxl: allow to enable/disable cpuid bits

To: Tim Deegan <tim@xxxxxxx>
Subject: Re: [Xen-devel] [PATCH] libxl: allow to enable/disable cpuid bits
From: Christoph Egger <Christoph.Egger@xxxxxxx>
Date: Wed, 2 Nov 2011 11:44:32 +0100
Cc: Keir Fraser <keir@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Delivery-date: Wed, 02 Nov 2011 03:45:18 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20111102102039.GA35143@xxxxxxxxxxxxxxxxxxxxx>
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: <4EAFD200.4010207@xxxxxxx> <20144.17265.621187.887785@xxxxxxxxxxxxxxxxxxxxxxxx> <4EB10C00.10601@xxxxxxx> <20111102102039.GA35143@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; NetBSD amd64; en-US; rv:1.9.2.17) Gecko/20110523 Lightning/1.0b3pre Thunderbird/3.1.10
On 11/02/11 11:20, Tim Deegan wrote:
At 10:23 +0100 on 02 Nov (1320229392), Christoph Egger wrote:
On 11/01/11 20:07, Ian Jackson wrote:
Christoph Egger writes ("[Xen-devel] [PATCH] libxl: allow to
enable/disable cpuid bits"):

Allow to enable/disable SVM specific cpuid bits
in the guest config file via cpuid config option.
Also allow to enable/disable the hypervisor cpuid bit
in the guest config file. We need to disable the
hypervisor cpuid bit to get Hyper-V going.

The change itself looks plausible to me.  However I don't know much
about cpuid; can you get an ack from a hypervisor maintainer or an
suitable expert ?

Keir? Tim?

I think the hypervisor bit should be given a better name than 'raz' --
although it is read-as-zero on real hardware that doesn't distinguish it
from other raz bits, or describe what it does.

'hypervisor' maybe, to match 'X86_FEATURE_HYPERVISOR' elsewhere in the
Xen code?

With that change, Acked-by: Tim Deegan<tim@xxxxxxx>

New version with that change attached.

Signed-off-by: Christoph Egger <Christoph.Egger@xxxxxxx>


--
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Einsteinring 24, 85689 Dornach b. Muenchen
Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632

Attachment: xen_tools_libxl_cpuid.diff
Description: xen_tools_libxl_cpuid.diff

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