aboutsummaryrefslogtreecommitdiff
path: root/qemu-timer.c
diff options
context:
space:
mode:
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>2012-04-13 19:35:04 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2012-04-26 13:14:58 -0500
commit7c7db75576bd5a31508208f153c5aada64b2c8df (patch)
treec2e2d7bb3b8cdf92ea95fcea844452fb5aedf070 /qemu-timer.c
parent4ffd16fc2900219c8ec8bb288b6fa3dfcae295a7 (diff)
downloadqemu-7c7db75576bd5a31508208f153c5aada64b2c8df.zip
qemu-7c7db75576bd5a31508208f153c5aada64b2c8df.tar.gz
qemu-7c7db75576bd5a31508208f153c5aada64b2c8df.tar.bz2
main_loop_wait: block indefinitely
- remove qemu_calculate_timeout; - explicitly size timeout to uint32_t; - introduce slirp_update_timeout; - pass NULL as timeout argument to select in case timeout is the maximum value; Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Acked-by: Paul Brook <paul@codesourcery.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qemu-timer.c')
-rw-r--r--qemu-timer.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/qemu-timer.c b/qemu-timer.c
index 364a4cd..0b28eda 100644
--- a/qemu-timer.c
+++ b/qemu-timer.c
@@ -821,8 +821,3 @@ fail:
return err;
}
-int qemu_calculate_timeout(void)
-{
- return 1000;
-}
-