]> 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)
commit7dcb1c8ed41580a378696a9f2fcef7591f1709cd
treef6c02f239bbd7af977a8750a835545312e917330
parent05d00e63579a2788cb19cdb336d87a5285134ff2
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