search for: qemu_timer_virtual

Displaying 1 result from an estimated 1 matches for "qemu_timer_virtual".

2012 Mar 16
2
[PATCH v3] use INT64_MAX as max expiration
...y: Yang Zhang <yang.z.zhang@Intel.com> --- vl.c | 15 ++++++++------- 1 files changed, 8 insertions(+), 7 deletions(-) diff --git a/vl.c b/vl.c index be8587a..d30cb2c 100644 --- a/vl.c +++ b/vl.c @@ -1410,8 +1410,7 @@ static int64_t qemu_next_deadline(void) delta = active_timers[QEMU_TIMER_VIRTUAL]->expire_time - qemu_get_clock(vm_clock); } else { - /* To avoid problems with overflow limit this to 2^32. */ - delta = INT32_MAX; + delta = INT64_MAX; } if (delta < 0) @@ -1427,9 +1426,11 @@ static uint64_t qemu_next_deadline_dynti...