]> 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)
committerJiri Slaby <jslaby@suse.cz>
Thu, 26 Jan 2017 16:39:08 +0000 (17:39 +0100)
commitaaa9f982f5dc0a64bcc6d83cc78e690c757bcad8
tree664704400698b2c5a93947d4df8b0150bc988dd8
parent1bf684a815f6df01d9a96a531c94dd72a84e4a89
kvm: nVMX: Allow L1 to intercept software exceptions (#BP and #OF)

commit ef85b67385436ddc1998f45f1d6a210f935b3388 upstream.

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>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
arch/x86/kvm/vmx.c