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)
commit77b0f5d67ff2781f36831cba79674c3e97bd7acf
tree7b7868454f20a8b29975e09efb0a91ffc39cc36f
parent4b855078601fc422dbac3059f2215e776f49780f
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