x86: don't expose SYSENTER on unknown CPUs
authorJan Beulich <jbeulich@suse.com>
Mon, 20 Aug 2012 06:40:01 +0000 (08:40 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 20 Aug 2012 06:40:01 +0000 (08:40 +0200)
commit798f90e005767407a97f68cf5b95168fb44a46b4
tree3478c3d30e1ed550c58963c868c480f77add0cc9
parent79cfb81a55040799792b8ca5b613890545d1c225
x86: don't expose SYSENTER on unknown CPUs

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 <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/arch/x86/cpu/common.c