aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--virt/kvm/ioapic.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/virt/kvm/ioapic.c b/virt/kvm/ioapic.c
index fa05f67423ab..9fe140bb38ec 100644
--- a/virt/kvm/ioapic.c
+++ b/virt/kvm/ioapic.c
@@ -193,6 +193,8 @@ int kvm_ioapic_set_irq(struct kvm_ioapic *ioapic, int irq, int level)
193 if ((edge && old_irr != ioapic->irr) || 193 if ((edge && old_irr != ioapic->irr) ||
194 (!edge && !entry.fields.remote_irr)) 194 (!edge && !entry.fields.remote_irr))
195 ret = ioapic_service(ioapic, irq); 195 ret = ioapic_service(ioapic, irq);
196 else
197 ret = 0; /* report coalesced interrupt */
196 } 198 }
197 trace_kvm_ioapic_set_irq(entry.bits, irq, ret == 0); 199 trace_kvm_ioapic_set_irq(entry.bits, irq, ret == 0);
198 } 200 }