KVM: Return destination vcpu on interrupt injection
authorYang Zhang <yang.z.zhang@Intel.com>
Thu, 11 Apr 2013 11:21:37 +0000 (19:21 +0800)
committerMarcelo Tosatti <mtosatti@redhat.com>
Tue, 16 Apr 2013 02:20:34 +0000 (23:20 -0300)
commitb4f2225c07dd4d8eef7aa7f5b36a3b72c3cbbe5b
tree47cecd1a3cec51c6dee70e8558aa749b744ca0e9
parent8dc6aade5bdc9d436d4ab8328cb15f0adbbc47bf
KVM: Return destination vcpu on interrupt injection

Add a new parameter to know vcpus who received the interrupt.

Signed-off-by: Yang Zhang <yang.z.zhang@Intel.com>
Reviewed-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/lapic.c
arch/x86/kvm/lapic.h
virt/kvm/ioapic.c
virt/kvm/ioapic.h
virt/kvm/irq_comm.c