]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
KVM: x86: Default to not allowing emulation retry in kvm_mmu_page_fault
authorSean Christopherson <sean.j.christopherson@intel.com>
Thu, 23 Aug 2018 20:56:50 +0000 (13:56 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Sep 2018 20:41:22 +0000 (22:41 +0200)
commit4ff64069721a8405cfe5d252fc096c1ab28dc867
treea3f05eddcf73e4cec336bdac5d076922cb767118
parent3e88f92cd11810858526cbef1a1a582ea2600d5c
KVM: x86: Default to not allowing emulation retry in kvm_mmu_page_fault

commit 472faffacd9032164f611f56329d0025ddca55b5 upstream.

Effectively force kvm_mmu_page_fault() to opt-in to allowing retry to
make it more obvious when and why it allows emulation to be retried.
Previously this approach was less convenient due to retry and
re-execute behavior being controlled by separate flags that were also
inverted in their implementations (opt-in versus opt-out).

Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Cc: stable@vger.kernel.org
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/kvm/mmu.c