Revision 043a7e1f
b/qemu-timer.c | ||
---|---|---|
264 | 264 |
/* To avoid problems with overflow limit this to 2^32. */ |
265 | 265 |
int64_t delta = INT32_MAX; |
266 | 266 |
|
267 |
if (clock->active_timers) { |
|
267 |
if (clock->enabled && clock->active_timers) {
|
|
268 | 268 |
delta = clock->active_timers->expire_time - qemu_get_clock_ns(clock); |
269 | 269 |
} |
270 | 270 |
if (delta < 0) { |
Also available in: Unified diff