From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LwIq1-0003J0-LN for qemu-devel@nongnu.org; Tue, 21 Apr 2009 12:28:49 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LwIpv-0003Fp-1J for qemu-devel@nongnu.org; Tue, 21 Apr 2009 12:28:49 -0400 Received: from [199.232.76.173] (port=55387 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LwIpu-0003Fh-Oi for qemu-devel@nongnu.org; Tue, 21 Apr 2009 12:28:42 -0400 Received: from sj-iport-1.cisco.com ([171.71.176.70]:40060) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.60) (envelope-from ) id 1LwIpu-000746-2R for qemu-devel@nongnu.org; Tue, 21 Apr 2009 12:28:42 -0400 Message-ID: <49EDF434.3000202@cisco.com> Date: Tue, 21 Apr 2009 10:28:36 -0600 From: "David S. Ahern" 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> <49EDF220.2040200@redhat.com> In-Reply-To: <49EDF220.2040200@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Yaniv Kaul , Avi Kivity Cc: qemu-devel@nongnu.org Yaniv Kaul wrote: > 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). Ok, I misunderstood your last response. I'll 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). What default interval would you prefer over the global values? >> > I think it should (also?) honor the 'shared desktop' flag. What do you mean by the 'shared desktop' flag? david