]> 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)
commit5194ca5e469d8048aa66b233a75d7c026de854a4
tree0febe5bb9bf405f3e6b3a072e0010e961f698e46
parent0723ca9d8bf98fb1ff6525e2733d183e249ad1c8
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