]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: rename set_cr3 callback and related flags to load_mmu_pgd
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 5 Mar 2020 08:52:50 +0000 (03:52 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 16 Mar 2020 16:58:52 +0000 (17:58 +0100)
commit691a6b87b95a7e4a5bc00adbe0bb0bcac3744f31
treef6c02f239bbd7af977a8750a835545312e917330
parent4e595befd37aca84fa91e1d4d54750c0246aa47b
KVM: x86: rename set_cr3 callback and related flags to load_mmu_pgd

The set_cr3 callback is not setting the guest CR3, it is setting the
root of the guest page tables, either shadow or two-dimensional.
To make this clearer as well as to indicate that the MMU calls it
via kvm_mmu_load_cr3, rename it to load_mmu_pgd.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/mmu.h
arch/x86/kvm/mmu/mmu.c
arch/x86/kvm/svm.c
arch/x86/kvm/vmx/nested.c
arch/x86/kvm/vmx/vmx.c
arch/x86/kvm/vmx/vmx.h
arch/x86/kvm/x86.c