Re: [Xen-devel] [PATCH 10/24] xen: mask XSAVE from cpuid

From: Andi Kleen
Date: Tue Mar 17 2009 - 07:56:23 EST


> The point is YOU DON'T KNOW. In particular, there might be new traps,
> there might be new state, there might be new MSRs, there might be new
> control bits... anything. Therefore, you cannot blindly pass the bit
> on, even though XSAVE solves one part of the problem.

I think what will happen if you don't expose it is that there will
be always hypervisors which are behind and applications/OS will end up
doing probing for opcodes instead of trusting CPUID bits.

Probably not what you intended.

-Andi
--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/