]> 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)
commita0511cab95b8978782f40eaee3783403d4c74175
tree2f2fd183f9826f49158cc30303e84a7edf555cfc
parent3bdace0b4b03032fdc4adce8cb29b17799870b02
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