[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [qemu-xen-unstable] increase minimum timeout to 1h



commit 9fa2794d45ba915b42b77d4762dfa607d5587dfc
Author: Sefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Date:   Thu Dec 1 17:52:39 2011 +0000

    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 <stefano.stabellini@xxxxxxxxxxxxx>
---
 i386-dm/helper2.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/i386-dm/helper2.c b/i386-dm/helper2.c
index 481c620..648449c 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");
--
generated by git-patchbot for /home/xen/git/qemu-xen-unstable.git

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.