diff --git a/hw/intc/i8259.c b/hw/intc/i8259.c index c6f248b145..f1f0972980 100644 --- a/hw/intc/i8259.c +++ b/hw/intc/i8259.c @@ -171,6 +171,7 @@ static void pic_set_irq(void *opaque, int irq, int level) } s->last_irr |= mask; } else { + s->irr &= ~mask; s->last_irr &= ~mask; } }