summaryrefslogtreecommitdiff
path: root/drivers/xen
diff options
context:
space:
mode:
authorShan Haitao <haitao.shan@intel.com>2010-11-09 19:43:36 (GMT)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2011-04-06 12:31:13 (GMT)
commit947ccf9c3c30307b774af3666ee74fcd9f47f646 (patch)
treeade0284004bf6cb7a16a6afd85c3e79b2538fc4d /drivers/xen
parent61f4237d5b005767a76f4f3694e68e6f78f392d9 (diff)
downloadlinux-fsl-qoriq-947ccf9c3c30307b774af3666ee74fcd9f47f646.tar.xz
xen: Allow PV-OPS kernel to detect whether XSAVE is supported
Xen fails to mask XSAVE from the cpuid feature, despite not historically supporting guest use of XSAVE. However, now that XSAVE support has been added to Xen, we need to reliably detect its presence. The most reliable way to do this is to look at the OSXSAVE feature in cpuid which is set iff the OS (Xen, in this case), has set CR4.OSXSAVE. [ Cleaned up conditional a bit. - Jeremy ] Signed-off-by: Shan Haitao <haitao.shan@intel.com> Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/xen')
0 files changed, 0 insertions, 0 deletions