]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: MMU: change kvm_faultin_pfn() arguments to kvm_page_fault
authorPaolo Bonzini <pbonzini@redhat.com>
Sat, 7 Aug 2021 12:57:34 +0000 (08:57 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 1 Oct 2021 07:44:49 +0000 (03:44 -0400)
commit8f2a794bf4ad0ea0d3ba1491dab1ce4953ef722f
tree5870d9b473886af0363c6e911473c4f8f1bb05e7
parentea4449d9303f8aab0e21b526cfc162f831fb2cf2
KVM: MMU: change kvm_faultin_pfn() arguments to kvm_page_fault

Add fields to struct kvm_page_fault corresponding to outputs of
kvm_faultin_pfn().  For now they have to be extracted again from struct
kvm_page_fault in the subsequent steps, but this is temporary until
other functions in the chain are switched over as well.

Suggested-by: Isaku Yamahata <isaku.yamahata@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu.h
arch/x86/kvm/mmu/mmu.c
arch/x86/kvm/mmu/paging_tmpl.h