BACKPORT: kvm: nVMX: Allow L1 to intercept software exceptions (#BP and #OF)

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.

BUG=chromium:677993
TEST=Build and run basic tests

Change-Id: I10a88110fdad3a2a84b76cf735e0a5a12b95796d
Signed-off-by: Jim Mattson <jmattson@google.com>
Cc: stable@vger.kernel.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Guenter Roeck <groeck@chromium.org>
(cherry picked from commit ef85b6738543)
Reviewed-on: https://chromium-review.googlesource.com/424881
Reviewed-by: Bernie Thompson <bhthompson@chromium.org>
(cherry picked from commit bcfea8318f1e1af6cea6dd5a15a2f128347951c2)
Reviewed-on: https://chromium-review.googlesource.com/428901
1 file changed