projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b458bf
)
mc146818rtc: reinitialize irq_reinject_on_ack_count on reset
author
Paolo Bonzini
<pbonzini@redhat.com>
Wed, 27 Aug 2014 15:54:52 +0000
(17:54 +0200)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Wed, 27 Aug 2014 15:54:52 +0000
(17:54 +0200)
This field was forgotten, and it makes the state after reset
non-deterministic.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/timer/mc146818rtc.c
patch
|
blob
|
history
diff --git
a/hw/timer/mc146818rtc.c
b/hw/timer/mc146818rtc.c
index 233fc70d6746a731f6f4ea8c406b007bd6ceda1b..4df650f450a68db58488b818464d3cc78a8a2de8 100644
(file)
--- a/
hw/timer/mc146818rtc.c
+++ b/
hw/timer/mc146818rtc.c
@@
-792,6
+792,7
@@
static void rtc_reset(void *opaque)
#ifdef TARGET_I386
if (s->lost_tick_policy == LOST_TICK_POLICY_SLEW) {
s->irq_coalesced = 0;
+ s->irq_reinject_on_ack_count = 0;
}
#endif
}