-
- Downloads
KVM: MMU: Add kvm_mmu parameter to load_pdptrs function
This function need to be able to load the pdptrs from any mmu context currently in use. So change this function to take an kvm_mmu parameter to fit these needs. As a side effect this patch also moves the cached pdptrs from vcpu_arch into the kvm_mmu struct. Signed-off-by:Joerg Roedel <joerg.roedel@amd.com> Signed-off-by:
Avi Kivity <avi@redhat.com>
Showing
- arch/x86/include/asm/kvm_host.h 3 additions, 2 deletionsarch/x86/include/asm/kvm_host.h
- arch/x86/kvm/kvm_cache_regs.h 1 addition, 1 deletionarch/x86/kvm/kvm_cache_regs.h
- arch/x86/kvm/svm.c 1 addition, 1 deletionarch/x86/kvm/svm.c
- arch/x86/kvm/vmx.c 8 additions, 8 deletionsarch/x86/kvm/vmx.c
- arch/x86/kvm/x86.c 14 additions, 12 deletionsarch/x86/kvm/x86.c
Loading
Please register or sign in to comment