]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86 emulator: drop use of is_long_mode()
authorAvi Kivity <avi@redhat.com>
Wed, 20 Apr 2011 12:21:35 +0000 (15:21 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 22 May 2011 12:39:10 +0000 (08:39 -0400)
commitbd31e495295c21513cd00f9d9812c191bbe68e64
treec448aa3e6005667d0ffd94abb3c6ee91183f818c
parent73280ddcffb6c4ca711e995c0caec978c54cd3f2
KVM: x86 emulator: drop use of is_long_mode()

Requires ctxt->vcpu, which is to be abolished.  Replace with open calls
to get_msr().

Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/emulate.c