KVM: x86 emulator: Replace calls to is_pae() and is_paging with ->get_cr()
authorAvi Kivity <avi@redhat.com>
Wed, 20 Apr 2011 12:24:32 +0000 (15:24 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 22 May 2011 12:39:12 +0000 (08:39 -0400)
commitfd72c4192220d0086fb24356ac6ff9c3b1e067d9
treeb7f82b62e27a787fa26a16c22446e0a79c9c585e
parentc2ad2bb3ef870067ecfc9ccdcf465feb51f2b6a5
KVM: x86 emulator: Replace calls to is_pae() and is_paging with ->get_cr()

Avoid use of ctxt->vcpu.

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