]> git.karo-electronics.de Git - linux-beck.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Jan 2017 07:32:22 +0000 (08:32 +0100)
commit3f618a0b872fea38c7d1d1f79eda40f88c6466c2
tree4c33c38ebb0edaf64d9ebcc10161bc896d3b906e
parent94107133ae811e0175803639ae7ab2411e6cdb3c
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/kvm/vmx.c