]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3ea9d688660b034e21c818adda95dc563d17c4ec
tree83e8205722d6f365468411527dab6014dd3f9341
parent7261fa14deb68ea6cfd7bf5622867613ba27e998
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