]> 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)
commit1f68025734aef51e3b5eb8126bd186f94f589c25
tree7b7868454f20a8b29975e09efb0a91ffc39cc36f
parent553dc424c2603bc6f1fd4087424cc8de286baeaa
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