From patchwork Fri Jan 27 18:21:38 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [v3,6/6] qemu_calculate_timeout: increase minimum timeout to 1h Date: Fri, 27 Jan 2012 08:21:38 -0000 From: Stefano Stabellini X-Patchwork-Id: 138274 Message-Id: <1327688498-12362-6-git-send-email-stefano.stabellini@eu.citrix.com> To: qemu-devel@nongnu.org Cc: pbonzini@redhat.com, xen-devel@lists.xensource.com, avi@redhat.com, Stefano Stabellini There is no reason why the minimum timeout should be 1sec, it could easily be 1h and we would save lots of cpu cycles. Signed-off-by: Stefano Stabellini --- qemu-timer.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/qemu-timer.c b/qemu-timer.c index 8c8bbc3..3207e40 100644 --- a/qemu-timer.c +++ b/qemu-timer.c @@ -852,6 +852,6 @@ fail: int qemu_calculate_timeout(void) { - return 1000; + return 1000*60*60; }