]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86/mmu: Consolidate shadow page allocation and initialization
authorDavid Matlack <dmatlack@google.com>
Wed, 22 Jun 2022 19:26:54 +0000 (15:26 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 24 Jun 2022 08:51:54 +0000 (04:51 -0400)
commitcd7dd139611b4d76208f268412a7fd2a33d1dd3a
tree543068ddae87e8d7307693bf6058ba729c8763ec
parent6a8a9c5619f486b72ba0e652eb6d25e1cadf8255
KVM: x86/mmu: Consolidate shadow page allocation and initialization

Consolidate kvm_mmu_alloc_page() and kvm_mmu_alloc_shadow_page() under
the latter so that all shadow page allocation and initialization happens
in one place.

No functional change intended.

Signed-off-by: David Matlack <dmatlack@google.com>
Message-Id: <20220516232138.1783324-8-dmatlack@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/mmu.c