]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.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)
committerLuis Henriques <luis.henriques@canonical.com>
Fri, 20 Jan 2017 11:24:21 +0000 (11:24 +0000)
commita14fc72b3233a70f009f4fad3a3023500ad3a825
tree0a551b98d74d4ff4ae8e73f02e8bb86e224c9fef
parent7f3466f488ae2fe25bcbf3ec05d4f84af7b4b84e
kvm: nVMX: Allow L1 to intercept software exceptions (#BP and #OF)

BugLink: http://bugs.launchpad.net/bugs/1655041
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>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
arch/x86/kvm/vmx.c