From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [PATCH] x86: don't expose SYSENTER on unknown CPUs Date: Fri, 17 Aug 2012 17:43:36 +0100 Message-ID: References: <502E8C89020000780009600F@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <502E8C89020000780009600F@nat28.tlf.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich , xen-devel List-Id: xen-devel@lists.xenproject.org On 17/08/2012 17:25, "Jan Beulich" wrote: > So far we only ever set up the respective MSRs on Intel CPUs, yet we > hide the feature only on a 32-bit hypervisor. That prevents booting of > PV guests on top of a 64-bit hypervisor making use of the instruction > on unknown CPUs (VIA in this case). > > Signed-off-by: Jan Beulich Acked-by: Keir Fraser > --- a/xen/arch/x86/cpu/common.c > +++ b/xen/arch/x86/cpu/common.c > @@ -55,6 +55,7 @@ static void default_init(struct cpuinfo_ > /* Not much we can do here... */ > /* Check if at least it has cpuid */ > BUG_ON(c->cpuid_level == -1); > + __clear_bit(X86_FEATURE_SEP, c->x86_capability); > } > > static struct cpu_dev default_cpu = { > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel