]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit244619378b5d4493881d6c747419d5b9666b50df
tree425357b66a7ca7d407b1320d8ba0f011db3b1fcc
parent72443dd25e34391f3c214637583271d072f79629
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