Revision 62ea5b0b
b/hw/ptimer.c | ||
---|---|---|
149 | 149 |
s->limit = limit; |
150 | 150 |
if (reload) |
151 | 151 |
s->delta = limit; |
152 |
if (s->enabled) { |
|
152 |
if (s->enabled && reload) {
|
|
153 | 153 |
s->next_event = qemu_get_clock(vm_clock); |
154 | 154 |
ptimer_reload(s); |
155 | 155 |
} |
Also available in: Unified diff