]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - arch/x86/kvm/svm.c
KVM: Cache pdptrs
authorAvi Kivity <avi@redhat.com>
Sun, 31 May 2009 19:58:47 +0000 (22:58 +0300)
committerAvi Kivity <avi@redhat.com>
Thu, 10 Sep 2009 05:32:46 +0000 (08:32 +0300)
commit6de4f3ada40b336522250a7832a0cc4de8856589
tree90920846774aa0fb0fb47ac245fcf5f8b73afcee
parent8f5d549f028056d6ad6044f2d9e27ecf361d955e
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>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/kvm_cache_regs.h
arch/x86/kvm/mmu.c
arch/x86/kvm/paging_tmpl.h
arch/x86/kvm/svm.c
arch/x86/kvm/vmx.c
arch/x86/kvm/x86.c