From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:54606) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S8CDx-0001yi-Va for qemu-devel@nongnu.org; Thu, 15 Mar 2012 11:04:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S8CDo-00022F-16 for qemu-devel@nongnu.org; Thu, 15 Mar 2012 11:04:17 -0400 Received: from mail-ey0-f173.google.com ([209.85.215.173]:41026) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S8CDn-000208-Ov for qemu-devel@nongnu.org; Thu, 15 Mar 2012 11:04:07 -0400 Received: by eaaf11 with SMTP id f11so1826754eaa.4 for ; Thu, 15 Mar 2012 08:04:05 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <4F6204E2.3000508@redhat.com> Date: Thu, 15 Mar 2012 16:04:02 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1331818666-31718-1-git-send-email-aliguori@us.ibm.com> <1331818666-31718-4-git-send-email-aliguori@us.ibm.com> <4F62037D.4020406@redhat.com> In-Reply-To: <4F62037D.4020406@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 3/9] qtest: add C version of test infrastructure List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf Cc: Stefan Hajnoczi , Anthony Liguori , qemu-devel@nongnu.org Il 15/03/2012 15:58, Kevin Wolf ha scritto: >> > I believe Kevin suggested using -qtest unix:%s and creating the listen >> > socket in the test program rather than inside QEMU. The advantage is >> > that we never sleep(3), instead we accept(2) the connection from QEMU >> > and get going right away. >> > >> > This can be added as a patch later. >> > >> > Kevin: Do you already have a patch or does someone need to write it? > I just complained (and reduced the delay locally). Paolo suggested a > real solution, which may have been what you describe, I don't remember > the details. Yes, that was me. I implemented it in Python too, but the Python harness is (understandably, since it's otherwise unused) not part of this series. I definitely can fix it before 1.1, though not immediately. Paolo