]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: nVMX: Fix conditions for NMI injection
authorJan Kiszka <jan.kiszka@siemens.com>
Sun, 14 Apr 2013 19:04:26 +0000 (21:04 +0200)
committerGleb Natapov <gleb@redhat.com>
Mon, 22 Apr 2013 08:10:49 +0000 (11:10 +0300)
commit401477ff846ca62c79c3531d325ca773506dbab4
treec200b09a828deaac744f403f76c235ede613ad7e
parentb6044307f4c7c0f8ea2060239ee4f24d52c6b66e
KVM: nVMX: Fix conditions for NMI injection

The logic for checking if interrupts can be injected has to be applied
also on NMIs. The difference is that if NMI interception is on these
events are consumed and blocked by the VM exit.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
arch/x86/kvm/vmx.c