KVM: Replace reads of vcpu->arch.cr3 by an accessor
authorAvi Kivity <avi@redhat.com>
Sun, 5 Dec 2010 15:30:00 +0000 (17:30 +0200)
committerAvi Kivity <avi@redhat.com>
Wed, 12 Jan 2011 09:31:15 +0000 (11:31 +0200)
commit9f8fe5043fd26627c2fa2e9a41896885e675000b
treee81d03d82d78903bde7c390461d46c8f937cb931
parente49146dce8c3dc6f4485c1904b6587855f393e71
KVM: Replace reads of vcpu->arch.cr3 by an accessor

This allows us to keep cr3 in the VMCS, later on.

Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/kvm_cache_regs.h
arch/x86/kvm/mmu.c
arch/x86/kvm/svm.c
arch/x86/kvm/vmx.c
arch/x86/kvm/x86.c