Il 26/08/2014 09:15, Pavel Dovgalyuk ha scritto:
> +static int rtc_pre_load(void *opaque)
> +{
> +RTCState *s = (RTCState *)opaque;
> +s->irq_reinject_on_ack_count = 0;
> +return 0;
> +}
> +
You found a real bug here, in that the field has to be cleared at reset
time. But reinitializi
This patch adds irq_reinject_on_ack_count field to VMState to allow correct
saving/loading the state of MC146818 RTC.
Signed-off-by: Pavel Dovgalyuk
---
hw/timer/mc146818rtc.c | 32
1 files changed, 32 insertions(+), 0 deletions(-)
diff --git a/hw/timer/mc1468