From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LwIhP-00080V-7w for qemu-devel@nongnu.org; Tue, 21 Apr 2009 12:19:55 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LwIhK-0007yM-FT for qemu-devel@nongnu.org; Tue, 21 Apr 2009 12:19:54 -0400 Received: from [199.232.76.173] (port=53586 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LwIhK-0007yJ-AJ for qemu-devel@nongnu.org; Tue, 21 Apr 2009 12:19:50 -0400 Received: from mx2.redhat.com ([66.187.237.31]:42206) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LwIhJ-0005dl-UP for qemu-devel@nongnu.org; Tue, 21 Apr 2009 12:19:50 -0400 Message-ID: <49EDF220.2040200@redhat.com> Date: Tue, 21 Apr 2009 19:19:44 +0300 From: Yaniv Kaul MIME-Version: 1.0 Subject: Re: [Qemu-devel] resetting a stale VNC connection References: <49EDC3B4.7030508@cisco.com> <49EDCC6F.1020703@redhat.com> <49EDE1EF.4070203@cisco.com> <49EDF082.4050900@redhat.com> In-Reply-To: <49EDF082.4050900@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: qemu-devel@nongnu.org, "David S. Ahern" On 4/21/2009 7:12 PM, Avi Kivity wrote: > David S. Ahern wrote: >> 'egrep -r SO_KEEPALIVE qemu' did not turn up any hits for the VNC code. >> Can it be enabled within qemu via command line arg? > > It's not in the code AFAIK. I was suggesting to add it > (unconditionally). > >> I am not aware of an OS setting to enable keepalives for all sockets. Is >> there one in RHEL5? > > I don't think so. But enabling keepalives for vnc should be a one > liner (or rather two, since we want to change the default interval). > I think it should (also?) honor the 'shared desktop' flag.