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)
commitc2ad2bb3ef870067ecfc9ccdcf465feb51f2b6a5
treec448aa3e6005667d0ffd94abb3c6ee91183f818c
parent1ac9d0cfb07e8ac3b5007d8279c5bd56e124250c
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