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

[Xen-devel] Re: [PATCH] xen: mask XSAVE in cpuid since we don't allow guests to use it


  • To: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
  • From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
  • Date: Sun, 08 Mar 2009 09:13:16 +0000
  • Cc: Boris Derzhavets <bderzhavets@xxxxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, "Marc - A. Dahlhaus \[ Administration | Westermann GmbH \]" <mad@xxxxxx>
  • Delivery-date: Sun, 08 Mar 2009 01:13:50 -0800
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcmfryDHtRkAWVOASembZjwi0y0UVwAHvx9z
  • Thread-topic: [PATCH] xen: mask XSAVE in cpuid since we don't allow guests to use it

On 08/03/2009 05:31, "Jeremy Fitzhardinge" <jeremy@xxxxxxxx> wrote:

> Mask X86_FEATURE_XSAVE in cpuid leaf 1, ecx, as we don't allow guests to
> use it (by setting cr4.OSXSAVE).
> 
> This prevents crashes in pvops dom0 kernels, as new versions of Linux try
> to use this feature.
> 
> (This patch deals with dom0 cpuid; I'm not sure where the right place to
> set up the default mask for domU is.)

Thanks, the whole problem stems from blacklisting rather than whitelisting
feature bits. I might try and do a more comprehensive job for xen-unstable
at least. This is good for 3.3.

 -- Keir



_______________________________________________
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®.