]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
KVM: x86/mmu: Move individual kvm_mmu initialization into common helper
authorSean Christopherson <sean.j.christopherson@intel.com>
Wed, 23 Sep 2020 16:33:14 +0000 (09:33 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 28 Sep 2020 11:57:54 +0000 (07:57 -0400)
commit04d28e375271bf0e6e31abeeb92e4f8b31443d23
tree17c8b01c5b595acf5bfaf5e03008f36ad0f1b81b
parent02f1965ff83b2f6162205576b7d708c9ad5bd138
KVM: x86/mmu: Move individual kvm_mmu initialization into common helper

Move initialization of 'struct kvm_mmu' fields into alloc_mmu_pages() to
consolidate code, and rename the helper to __kvm_mmu_create().

No functional change intended.

Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Message-Id: <20200923163314.8181-1-sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/mmu.c