]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: MMU: change page_fault_handle_page_track() arguments to kvm_page_fault
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 6 Aug 2021 08:21:58 +0000 (04:21 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 1 Oct 2021 07:44:49 +0000 (03:44 -0400)
commitea4449d9303f8aab0e21b526cfc162f831fb2cf2
treed23a4b09228d120a478e47a9cd56c0d162d6b282
parent559d59500be34d7a2de8ef966924ecec4f16c7a0
KVM: MMU: change page_fault_handle_page_track() arguments to kvm_page_fault

Add fields to struct kvm_page_fault corresponding to the arguments
of page_fault_handle_page_track().  The fields are initialized in the
callers, and page_fault_handle_page_track() receives a struct
kvm_page_fault instead of having to extract the arguments out of it.

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