]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
kvm: nVMX: Allow L1 to intercept software exceptions (#BP and #OF)
authorJim Mattson <jmattson@google.com>
Mon, 12 Dec 2016 19:01:37 +0000 (11:01 -0800)
committerSasha Levin <alexander.levin@verizon.com>
Fri, 13 Jan 2017 01:56:58 +0000 (20:56 -0500)
commitdd5035276792edbd3dac21620d9b91d3a8e3785a
tree8f33fbd3ca303b2c016c55ef4f97c1e273cd1a8b
parent6fdb4af13f9faf27b8ca3b25c1d3284f0be7b31b
kvm: nVMX: Allow L1 to intercept software exceptions (#BP and #OF)

[ Upstream commit ef85b67385436ddc1998f45f1d6a210f935b3388 ]

When L2 exits to L0 due to "exception or NMI", software exceptions
(#BP and #OF) for which L1 has requested an intercept should be
handled by L1 rather than L0. Previously, only hardware exceptions
were forwarded to L1.

Signed-off-by: Jim Mattson <jmattson@google.com>
Cc: stable@vger.kernel.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
arch/x86/kvm/vmx.c