Received: from eggs.gnu.org ([208.118.235.92]:41887) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S8f7t-0001MG-45 for qemu-devel@nongnu.org; Fri, 16 Mar 2012 17:55:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S8f7r-0008Tu-9M for qemu-devel@nongnu.org; Fri, 16 Mar 2012 17:55:56 -0400 Received: from indium.canonical.com ([91.189.90.7]:60682) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S8f7r-0008Tq-3I for qemu-devel@nongnu.org; Fri, 16 Mar 2012 17:55:55 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1S8f7p-0000Jx-0M for ; Fri, 16 Mar 2012 21:55:53 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id A2A0A2E814A for ; Fri, 16 Mar 2012 21:55:50 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Fri, 16 Mar 2012 21:46:59 -0000 From: Serge Hallyn <932539@bugs.launchpad.net> Sender: bounces@canonical.com References: <20120215053702.27719.77637.malonedeb@soybean.canonical.com> Message-Id: <20120316214659.16988.28277.malone@soybean.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 932539] Re: qemu exits with -11 when connecting to a port redirect before the service starts listening Reply-To: Bug 932539 <932539@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org (cherrypicked the slirp/if.c patches from upstream, which fixed the problem for me. Pushing the resulting package) -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/932539 Title: qemu exits with -11 when connecting to a port redirect before the service starts listening Status in QEMU: Fix Released Status in =E2=80=9Cqemu-kvm=E2=80=9D package in Ubuntu: Fix Released Bug description: This was detected initially as a crash in the auto upgrade tester. The code of the upgrade tester basically spawns a kvm instance in the bac= kground with a port redirect from localhost:54322 to tcp:22 in the VM, then= wait for that port to allow for a ssh connection before continuing the upg= rade testing. In the past (Oneiric), all worked well but since Precise, we now get qemu exitting with -11 at every single test :( A quick reproducer is: - start a VM that has openssh-server installed with: -net user,hostfwd= =3Dtcp::54322-:22 - immediately start "ssh -p 54322 127.0.0.1" before the VM starts bootin= g (BIOS/GRUB state) Then wait for sshd to start in the VM and qemu will exit with -11. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/932539/+subscriptions