]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: x86/mmu: Add parameter "kvm" to kvm_mmu_page_ad_need_write_protect()
authorYan Zhao <yan.y.zhao@intel.com>
Mon, 13 Jan 2025 03:08:59 +0000 (11:08 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 14 Mar 2025 18:20:53 +0000 (14:20 -0400)
commitfd3252571b13639e21c24a740b6cc23083ed1c9c
tree6ad7fc5cfbb9fdb2ea0dc89e124368bb28743b6e
parentc4a92f12cf35b83ce81757f6e5e8eb6223b87388
KVM: x86/mmu: Add parameter "kvm" to kvm_mmu_page_ad_need_write_protect()

Add a parameter "kvm" to kvm_mmu_page_ad_need_write_protect() and its
caller tdp_mmu_need_write_protect().

This is a preparation to make cpu_dirty_log_size a per-VM value rather than
a system-wide value.

No function changes expected.

Signed-off-by: Yan Zhao <yan.y.zhao@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/mmu_internal.h
arch/x86/kvm/mmu/spte.c
arch/x86/kvm/mmu/tdp_mmu.c