From: Sefano Stabellini Date: Thu, 1 Dec 2011 17:52:39 +0000 (+0000) Subject: increase minimum timeout to 1h X-Git-Tag: xen-4.2.0-rc1~31 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=9fa2794d45ba915b42b77d4762dfa607d5587dfc;p=qemu-xen-unstable.git increase minimum timeout to 1h There is no reason why the minimum timeout should be 10s, it could easily be 1h and we would save lots of cpu cycles. Signed-off-by: Stefano Stabellini --- diff --git a/i386-dm/helper2.c b/i386-dm/helper2.c index 481c620f91..648449c934 100644 --- a/i386-dm/helper2.c +++ b/i386-dm/helper2.c @@ -576,8 +576,8 @@ int main_loop(void) /* Wait up to 10 msec. */ main_loop_wait(10); #else - /* Wait up to 10s. */ - main_loop_wait(10000); + /* Wait up to 1h. */ + main_loop_wait(1000*60*60); #endif fprintf(logfile, "device model saving state\n");