From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NFvJ7-0001WQ-5q for qemu-devel@nongnu.org; Wed, 02 Dec 2009 14:56:13 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NFvJ2-0001SP-H0 for qemu-devel@nongnu.org; Wed, 02 Dec 2009 14:56:12 -0500 Received: from [199.232.76.173] (port=47950 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NFvJ2-0001SG-78 for qemu-devel@nongnu.org; Wed, 02 Dec 2009 14:56:08 -0500 Received: from mail-pw0-f43.google.com ([209.85.160.43]:45301) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NFvJ1-0006Zr-Lq for qemu-devel@nongnu.org; Wed, 02 Dec 2009 14:56:07 -0500 Received: by pwi12 with SMTP id 12so412221pwi.2 for ; Wed, 02 Dec 2009 11:56:06 -0800 (PST) Message-ID: <4B16C652.2050402@codemonkey.ws> Date: Wed, 02 Dec 2009 13:56:02 -0600 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] Socket reconnection. References: <4B0DCC45.5080308@collabora.co.uk> <4B13FE66.2080401@codemonkey.ws> <4B1503EF.6090806@collabora.co.uk> <58BD0469C48A7443A479A13D101685E30380B88A@ala-mail09.corp.ad.wrs.com> <4B156672.1010008@codemonkey.ws> <4B16442E.3090706@collabora.co.uk> In-Reply-To: <4B16442E.3090706@collabora.co.uk> 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: Ian Molton Cc: "Krumme, Chris" , qemu-devel@nongnu.org Ian Molton wrote: > Anthony Liguori wrote: > > >> sleep() in qemu is very, very wrong. It will pause the guest's >> execution and all sorts of badness can ensue. >> > > Quite... > > >> The right thing to do is set a timer and not generate data while >> disconnected. >> > > New patch attached, now with less crack... > > >> I still am not confident this is really a great thing to do. >> > > What other option is there than to drop the ability to feed entropy to > the guest when the hosts egd link drops? > > btw. Does anyone know how to get t-bird to inline patches? > > -Ian > Ah, your mailer didn't attach it correctly... Anyway, it's broken wrt CodingStyle. Regards, Anthony Liguori