]> 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)
commit0ee83128fa97455f290a52911766b12a4d424ff2
treec448aa3e6005667d0ffd94abb3c6ee91183f818c
parentf31498667cc13f240f67fb5325ab21de3d559375
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