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>
Showing
- arch/x86/kvm/kvm_cache_regs.h 5 additions, 0 deletionsarch/x86/kvm/kvm_cache_regs.h
- arch/x86/kvm/mmu.c 3 additions, 3 deletionsarch/x86/kvm/mmu.c
- arch/x86/kvm/svm.c 5 additions, 5 deletionsarch/x86/kvm/svm.c
- arch/x86/kvm/vmx.c 4 additions, 3 deletionsarch/x86/kvm/vmx.c
- arch/x86/kvm/x86.c 10 additions, 9 deletionsarch/x86/kvm/x86.c
Loading
Please register or sign in to comment