cb7a16a6afd85c3e79b2538fc4d parent 61f4237d5b005767a76f4f3694e68e6f78f392d9 author Shan Haitao 1289331816 -0800 committer Konrad Rzeszutek Wilk 1302093073 -0400 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 Signed-off-by: Jeremy Fitzhardinge Signed-off-by: Konrad Rzeszutek Wilk ùÌ ×ž,x