Revert "KVM: x86/mmu: Zap only the relevant pages when removing a memslot"
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 15 Aug 2019 07:43:32 +0000 (09:43 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 21 Aug 2019 08:28:41 +0000 (10:28 +0200)
commitd012a06ab1d23178fc6856d8d2161fbcc4dd8ebd
treef038e6b474bb2bcc264eebf6a5160cde24293b2f
parent54577e5018a8c0cb79c9a0fa118a55c68715d398
Revert "KVM: x86/mmu: Zap only the relevant pages when removing a memslot"

This reverts commit 4e103134b862314dc2f2f18f2fb0ab972adc3f5f.
Alex Williamson reported regressions with device assignment with
this patch.  Even though the bug is probably elsewhere and still
latent, this is needed to fix the regression.

Fixes: 4e103134b862 ("KVM: x86/mmu: Zap only the relevant pages when removing a memslot", 2019-02-05)
Reported-by: Alex Willamson <alex.williamson@redhat.com>
Cc: stable@vger.kernel.org
Cc: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu.c