OSDN Git Service

KVM: x86/mmu: Split remote_flush+zap case out of kvm_mmu_flush_or_zap()
authorSean Christopherson <sean.j.christopherson@intel.com>
Tue, 5 Feb 2019 21:01:20 +0000 (13:01 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 20 Feb 2019 21:48:38 +0000 (22:48 +0100)
commita21136345cb6f1a5b7f576701b6a454da5b6e606
tree83e8205722d6f365468411527dab6014dd3f9341
parent85875a133ea3aca5e4ea423c7cb991ad53f4866e
KVM: x86/mmu: Split remote_flush+zap case out of kvm_mmu_flush_or_zap()

...and into a separate helper, kvm_mmu_remote_flush_or_zap(), that does
not require a vcpu so that the code can be (re)used by
kvm_mmu_invalidate_zap_pages_in_memslot().

Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu.c