KVM: Cache pdptrs
Instead of reloading the pdptrs on every entry and exit (vmcs writes on vmx,
guest memory access on svm) extract them on demand.
Signed-off-by:
Avi Kivity <avi@redhat.com>
Showing
- arch/x86/include/asm/kvm_host.h 4 additions, 0 deletionsarch/x86/include/asm/kvm_host.h
- arch/x86/kvm/kvm_cache_regs.h 9 additions, 0 deletionsarch/x86/kvm/kvm_cache_regs.h
- arch/x86/kvm/mmu.c 5 additions, 2 deletionsarch/x86/kvm/mmu.c
- arch/x86/kvm/paging_tmpl.h 1 addition, 1 deletionarch/x86/kvm/paging_tmpl.h
- arch/x86/kvm/svm.c 18 additions, 6 deletionsarch/x86/kvm/svm.c
- arch/x86/kvm/vmx.c 18 additions, 4 deletionsarch/x86/kvm/vmx.c
- arch/x86/kvm/x86.c 8 additions, 0 deletionsarch/x86/kvm/x86.c
Please register or sign in to comment