Received: from eggs.gnu.org ([140.186.70.92]:49655) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RqqPo-0000Np-2P for qemu-devel@nongnu.org; Fri, 27 Jan 2012 13:20:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RqqPm-0005G2-Of for qemu-devel@nongnu.org; Fri, 27 Jan 2012 13:20:47 -0500 Received: from smtp.citrix.com ([66.165.176.89]:32504) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RqqPm-0005Eg-2g for qemu-devel@nongnu.org; Fri, 27 Jan 2012 13:20:46 -0500 From: Stefano Stabellini Date: Fri, 27 Jan 2012 18:21:38 +0000 Message-ID: <1327688498-12362-6-git-send-email-stefano.stabellini@eu.citrix.com> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] [PATCH v3 6/6] qemu_calculate_timeout: increase minimum timeout to 1h List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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; } -- 1.7.2.5