]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86/mmu: Replace vcpu with kvm in kvm_mmu_alloc_shadow_page()
authorDavid Matlack <dmatlack@google.com>
Wed, 22 Jun 2022 19:26:58 +0000 (15:26 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 24 Jun 2022 08:51:56 +0000 (04:51 -0400)
commita507b29cd4ad66a0c6e908ae945b0c9d9bd9ed9f
tree9c4fa67ac7d3670196f1d11d6ce70f7a19a61b6b
parent1a0a479a213f2cadfb12dac9e46cffd9047ad208
KVM: x86/mmu: Replace vcpu with kvm in kvm_mmu_alloc_shadow_page()

The vcpu pointer in kvm_mmu_alloc_shadow_page() is only used to get the
kvm pointer. So drop the vcpu pointer and just pass in the kvm pointer.

No functional change intended.

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