]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf71d5fef423f693ffce1c8ccf8081f7ea1698855
treeb7f82b62e27a787fa26a16c22446e0a79c9c585e
parentbd31e495295c21513cd00f9d9812c191bbe68e64
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