]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: nVMX: Fix injection of PENDING_INTERRUPT and NMI_WINDOW exits to L1
authorJan Kiszka <jan.kiszka@siemens.com>
Sun, 14 Apr 2013 10:12:45 +0000 (12:12 +0200)
committerGleb Natapov <gleb@redhat.com>
Sun, 14 Apr 2013 15:27:05 +0000 (18:27 +0300)
commitb8bd346e3729d3b0fda0e0c7cd56e96d3c7f223f
tree2f2fd183f9826f49158cc30303e84a7edf555cfc
parenta49341cf4acfa68c066788f9079eae37c0207fba
KVM: nVMX: Fix injection of PENDING_INTERRUPT and NMI_WINDOW exits to L1

Check if the interrupt or NMI window exit is for L1 by testing if it has
the corresponding controls enabled. This is required when we allow
direct injection from L0 to L2

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