]> git.baikalelectronics.ru Git - 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)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 19 Dec 2016 15:05:31 +0000 (16:05 +0100)
commit68a9bd84aa93bd1d1c322bee2d4c57584245b90b
treef3014fcb72913be4746efe7c528a8a3fbeb2f8b4
parent6d4605c4bd5fff0c2c15c6797b1ea787c81d9d18
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.

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