diff options
author | Yang Zhang <yang.z.zhang@Intel.com> | 2013-04-11 19:21:37 +0800 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2013-04-15 23:20:34 -0300 |
commit | b4f2225c07dd4d8eef7aa7f5b36a3b72c3cbbe5b (patch) | |
tree | 47cecd1a3cec51c6dee70e8558aa749b744ca0e9 /virt/kvm/ioapic.c | |
parent | 8dc6aade5bdc9d436d4ab8328cb15f0adbbc47bf (diff) | |
download | op-kernel-dev-b4f2225c07dd4d8eef7aa7f5b36a3b72c3cbbe5b.zip op-kernel-dev-b4f2225c07dd4d8eef7aa7f5b36a3b72c3cbbe5b.tar.gz |
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>
Diffstat (limited to 'virt/kvm/ioapic.c')
-rw-r--r-- | virt/kvm/ioapic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/virt/kvm/ioapic.c b/virt/kvm/ioapic.c index 1d8906d..27ae8dd 100644 --- a/virt/kvm/ioapic.c +++ b/virt/kvm/ioapic.c @@ -217,7 +217,7 @@ static int ioapic_deliver(struct kvm_ioapic *ioapic, int irq) irqe.level = 1; irqe.shorthand = 0; - return kvm_irq_delivery_to_apic(ioapic->kvm, NULL, &irqe); + return kvm_irq_delivery_to_apic(ioapic->kvm, NULL, &irqe, NULL); } int kvm_ioapic_set_irq(struct kvm_ioapic *ioapic, int irq, int irq_source_id, |