From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:32896) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XV6IG-0000ic-Pb for qemu-devel@nongnu.org; Fri, 19 Sep 2014 18:04:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XV6IC-00048l-JF for qemu-devel@nongnu.org; Fri, 19 Sep 2014 18:04:44 -0400 Received: from cavan.codon.org.uk ([93.93.128.6]:34150) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XV6IC-00044o-Dr for qemu-devel@nongnu.org; Fri, 19 Sep 2014 18:04:40 -0400 Date: Fri, 19 Sep 2014 23:04:19 +0100 From: Matthew Garrett Message-ID: <20140919220419.GA27710@srcf.ucam.org> References: <1411163937-19891-1-git-send-email-minyard@acm.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1411163937-19891-1-git-send-email-minyard@acm.org> Subject: Re: [Qemu-devel] [PATCH] chardev: Add reconnecting to client sockets List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: minyard@acm.org Cc: Corey Minyard , mst@redhat.com, hwd@huawei.com, qemu-devel@nongnu.org, bcketchum@gmail.com, afaerber@suse.de On Fri, Sep 19, 2014 at 04:58:57PM -0500, minyard@acm.org wrote: > From: Corey Minyard > > Adds a "recon" option to socket backends that gives a reconnect > timeout. This only applies to client sockets. If the other end > of a socket closes the connection, qemu will attempt to reconnect > after the given number of seconds. We're enthusiastic about this - we're using a virtio rng via egd, and restarting our entropy distributor currently kills hwrng in the guest because the socket has gone away. -- Matthew Garrett | mjg59@srcf.ucam.org