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)
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>

No differences found