]> xenbits.xensource.com Git - qemu-xen-traditional.git/commitdiff
increase minimum timeout to 1h
authorSefano Stabellini <stefano.stabellini@eu.citrix.com>
Thu, 1 Dec 2011 17:52:39 +0000 (17:52 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Thu, 1 Dec 2011 17:52:39 +0000 (17:52 +0000)
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 <stefano.stabellini@eu.citrix.com>
i386-dm/helper2.c

index 481c620f91bfd885f338f4cc50ff3aea9ea32a2c..648449c9349e6cc4f6e7d650a2a64d3538daea44 100644 (file)
@@ -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");