KVM: MMU: change kvm_mmu_hugepage_adjust() arguments to kvm_page_fault
authorPaolo Bonzini <pbonzini@redhat.com>
Sat, 7 Aug 2021 13:21:53 +0000 (09:21 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 1 Oct 2021 07:44:51 +0000 (03:44 -0400)
commit73a3c659478a2eae331b63ce1d61fd0a43fe7d8c
treef8eb2eceb41dca44fdde3f947d94527fe99e7bd0
parent3c8ad5a675d9aaf6b8f99bf8b2879bab75af26c3
KVM: MMU: change kvm_mmu_hugepage_adjust() arguments to kvm_page_fault

Pass struct kvm_page_fault to kvm_mmu_hugepage_adjust() instead of
extracting the arguments from the struct; the results are also stored
in the struct, so the callers are adjusted consequently.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu.h
arch/x86/kvm/mmu/mmu.c
arch/x86/kvm/mmu/mmu_internal.h
arch/x86/kvm/mmu/paging_tmpl.h
arch/x86/kvm/mmu/tdp_mmu.c