From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [PATCH v2 5/5] qemu_calculate_timeout: increase minimum timeout to 1h Date: Fri, 27 Jan 2012 15:43:42 +0100 Message-ID: <4F22B81E.1030407@redhat.com> References: <1327667215-5411-5-git-send-email-stefano.stabellini@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1327667215-5411-5-git-send-email-stefano.stabellini@eu.citrix.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org Sender: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org To: Stefano Stabellini Cc: xen-devel@lists.xensource.com, qemu-devel@nongnu.org, avi@redhat.com List-Id: xen-devel@lists.xenproject.org On 01/27/2012 01:26 PM, Stefano Stabellini wrote: > 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 648db1d..b792a32 100644 > --- a/qemu-timer.c > +++ b/qemu-timer.c > @@ -844,6 +844,6 @@ fail: > > int qemu_calculate_timeout(void) > { > - return 1000; > + return 1000*60*60; > } > This might break Windows networking, but I'm going to fix it before 1.1 anyway. Reviewed-by: Paolo Bonzini Paolo