From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:54886) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcDp6-0002Jv-Hr for qemu-devel@nongnu.org; Tue, 14 May 2013 07:55:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UcDp4-0003US-Va for qemu-devel@nongnu.org; Tue, 14 May 2013 07:55:16 -0400 Received: from mail-gh0-f169.google.com ([209.85.160.169]:42558) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcDp4-0003UJ-P9 for qemu-devel@nongnu.org; Tue, 14 May 2013 07:55:14 -0400 Received: by mail-gh0-f169.google.com with SMTP id r1so56518ghr.28 for ; Tue, 14 May 2013 04:55:14 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <5192261A.6030306@redhat.com> Date: Tue, 14 May 2013 13:55:06 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <20130514000224.654.59977.malonedeb@wampee.canonical.com> <20130514075109.GB3632@stefanha-thinkpad.redhat.com> <519215F6.7090800@redhat.com> <519224A4.4000800@redhat.com> In-Reply-To: <519224A4.4000800@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [Bug 1179731] [NEW] is networking broken on windows hosts? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bug 1179731 <1179731@bugs.launchpad.net>, TeLeMan , qemu-devel , Fabien Chouteau , Stefan Hajnoczi Il 14/05/2013 13:48, Paolo Bonzini ha scritto: > Il 14/05/2013 13:39, TeLeMan ha scritto: >> On Tue, May 14, 2013 at 6:46 PM, Paolo Bonzini wrote: >>> Il 14/05/2013 12:24, TeLeMan ha scritto: >>>> On Tue, May 14, 2013 at 3:51 PM, Stefan Hajnoczi wrote: >>>>> On Tue, May 14, 2013 at 12:02:24AM -0000, therock247uk wrote: >>>>>> just wondering as i just compiled the latest git and qemu goes into none >>>>>> responding mode when i try to do any networking stuff on guests (both >>>>>> linux and windows) >>>>> >>>>> Works for me on qemu.git/master on Linux: >>>>> >>>>> $ git rev-parse HEAD >>>>> b087143b4d010451208264b7c841436aafe1cbb1 >>>>> $ x86_64-softmmu/qemu-system-x86_64 -m 1024 -enable-kvm -cpu host \ >>>>> -drive if=virtio,cache=none,file=test.img >>>>> >>>>> Please include more information, like the QEMU command-line and commit >>>>> ID. >>>>> >>>>> Stefan >>>>> >>>> >>>> This regression occurs on the Windows host. SLIRP hangs in sorecvfrom(). >>> >>> Can you bisect it? >>> >>> Paolo >>> >> The first break is the commit >> 5e3bc735d93dd23f074b5116fd11e1ad8cd4962f. But it need more packets >> than HEAD to reproduce this regression. > > Please check if this partial revert of that commit fixes it: Yeah, this should work... WSAEventSelect is edge-triggered and the event will not be signaled if the socket handler does not consume all the data in the socket buffer. Paolo