KVM: x86/mmu: Drop kvm_arch_write_log_dirty() wrapper
authorSean Christopherson <sean.j.christopherson@intel.com>
Mon, 22 Jun 2020 21:58:30 +0000 (14:58 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 8 Jul 2020 20:21:37 +0000 (16:21 -0400)
commitf25a9dec2da3b303e4c62cf9fa67e836866198b2
tree530e0bfb42d9211bf8252a9a77fee2852caf44f9
parente8c22266e68f0db2a7e11b0a9f29fd88ec0cfd4a
KVM: x86/mmu: Drop kvm_arch_write_log_dirty() wrapper

Drop kvm_arch_write_log_dirty() in favor of invoking .write_log_dirty()
directly from FNAME(update_accessed_dirty_bits).  "kvm_arch" is usually
used for x86 functions that are invoked from generic KVM, and implies
that there are external callers, neither of which is true.

Remove the check for a non-NULL kvm_x86_ops hook as the call is wrapped
in PTTYPE_EPT and is unconditionally set by VMX.

Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Message-Id: <20200622215832.22090-3-sean.j.christopherson@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