KVM: x86: Processor mode may be determined incorrectly
authorNadav Amit <namit@cs.technion.ac.il>
Fri, 18 Apr 2014 04:11:34 +0000 (07:11 +0300)
committerMarcelo Tosatti <mtosatti@redhat.com>
Wed, 23 Apr 2014 20:47:00 +0000 (17:47 -0300)
commit42bf549f3c672006ba18e97152cbc563315ba4e6
tree425357b66a7ca7d407b1320d8ba0f011db3b1fcc
parente6e39f0438bc4b0da9334ca42337775c7a00db21
KVM: x86: Processor mode may be determined incorrectly

If EFER.LMA is off, cs.l does not determine execution mode.
Currently, the emulation engine assumes differently.

Signed-off-by: Nadav Amit <namit@cs.technion.ac.il>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/x86.c