aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hw/ioapic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/ioapic.c b/hw/ioapic.c
index 569327d1e9..8557e5cac6 100644
--- a/hw/ioapic.c
+++ b/hw/ioapic.c
@@ -164,6 +164,7 @@ static void ioapic_set_irq(void *opaque, int vector, int level)
if (level) {
s->irr |= mask;
ioapic_service(s);
+ s->irr &= ~mask;
}
}
}