]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: nVMX: Ack and write vector info to intr_info if L1 asks us to
authorBandan Das <bsd@redhat.com>
Sat, 19 Apr 2014 22:17:45 +0000 (18:17 -0400)
committerMarcelo Tosatti <mtosatti@redhat.com>
Tue, 22 Apr 2014 21:41:33 +0000 (18:41 -0300)
commitc80b96b7158010af1f816e4c66e6ab3b0a76de44
tree7b7868454f20a8b29975e09efb0a91ffc39cc36f
parentfb484d26ab48ebb1b3be81dab2c5352d7db50293
KVM: nVMX: Ack and write vector info to intr_info if L1 asks us to

This feature emulates the "Acknowledge interrupt on exit" behavior.
We can safely emulate it for L1 to run L2 even if L0 itself has it
disabled (to run L1).

Signed-off-by: Bandan Das <bsd@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/irq.c
arch/x86/kvm/vmx.c