|
@@ -324,7 +324,7 @@ static void pit_post_load(PITCommonState *s)
|
|
{
|
|
{
|
|
PITChannelState *sc = &s->channels[0];
|
|
PITChannelState *sc = &s->channels[0];
|
|
|
|
|
|
- if (sc->next_transition_time != -1) {
|
|
|
|
|
|
+ if (sc->next_transition_time != -1 && !sc->irq_disabled) {
|
|
timer_mod(sc->irq_timer, sc->next_transition_time);
|
|
timer_mod(sc->irq_timer, sc->next_transition_time);
|
|
} else {
|
|
} else {
|
|
timer_del(sc->irq_timer);
|
|
timer_del(sc->irq_timer);
|