]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: MMU: unify tdp_mmu_map_set_spte_atomic and tdp_mmu_set_spte_atomic_no_dirty_log
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 23 Sep 2021 15:20:48 +0000 (11:20 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 1 Oct 2021 07:44:53 +0000 (03:44 -0400)
commitef8c59e2f5b9ecbe364908b86ddb683343f16731
tree0febe5bb9bf405f3e6b3a072e0010e961f698e46
parentd700b6120b1f53d1c2628ec62cae6cf5a59a58a7
KVM: MMU: unify tdp_mmu_map_set_spte_atomic and tdp_mmu_set_spte_atomic_no_dirty_log

tdp_mmu_map_set_spte_atomic is not taking care of dirty logging anymore,
the only difference that remains is that it takes a vCPU instead of
the struct kvm.  Merge the two functions.

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