aboutsummaryrefslogtreecommitdiff
path: root/hw/irq.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/irq.c')
-rw-r--r--hw/irq.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/irq.c b/hw/irq.c
index 960155ad04..eca707dd06 100644
--- a/hw/irq.c
+++ b/hw/irq.c
@@ -65,5 +65,7 @@ static void qemu_notirq(void *opaque, int line, int level)
qemu_irq qemu_irq_invert(qemu_irq irq)
{
+ /* The default state for IRQs is low, so raise the output now. */
+ qemu_irq_raise(irq);
return qemu_allocate_irqs(qemu_notirq, irq, 1)[0];
}