OSDN Git Service

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)
commit6ccf44388206e60bd0ba46d00f8570a0588d812e
tree0febe5bb9bf405f3e6b3a072e0010e961f698e46
parentbcc4f2bc5026633198c0f8b7dd8b0e5e15de5c9d
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