search for: qemu_next_deadlin

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

Did you mean: qemu_next_deadline
2012 Mar 16
2
[PATCH v3] use INT64_MAX as max expiration
...ms with overflow limit this to 2^32." Signed-off-by: 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) @@ -14...