From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34056) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bzopv-0002vR-9m for qemu-devel@nongnu.org; Thu, 27 Oct 2016 13:51:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bzopu-0002ie-Bt for qemu-devel@nongnu.org; Thu, 27 Oct 2016 13:51:31 -0400 Received: from mx1.redhat.com ([209.132.183.28]:42666) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bzopu-0002iF-5s for qemu-devel@nongnu.org; Thu, 27 Oct 2016 13:51:30 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 3C5257F08B for ; Thu, 27 Oct 2016 17:51:29 +0000 (UTC) Date: Thu, 27 Oct 2016 18:51:25 +0100 From: "Dr. David Alan Gilbert" Message-ID: <20161027175125.GF2033@work-vm> References: <20161027115224.GB2033@work-vm> <7abb86be-c937-957f-1d3e-ef770e3638bf@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <7abb86be-c937-957f-1d3e-ef770e3638bf@redhat.com> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] Problems with recent char changes (mux, slirp) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: marcandre.lureau@redhat.com, qemu-devel@nongnu.org, thuth@redhat.com * Paolo Bonzini (pbonzini@redhat.com) wrote: >=20 >=20 > On 27/10/2016 13:52, Dr. David Alan Gilbert wrote: > > Hi Marc-Andr=E9, > > I've got a bunch of different failures in current head > > that seem to bisect down to your recent char changes. > >=20 > > Lets start with the main symptoms; > > 1) > > Slirp guestfwd is broken, start an nc with: > > nc -l 127.0.0.1 4444 > > and then qemu with: > > -netdev user,id=3Dunet,guestfwd=3Dtcp:10.0.2.50:4444-tcp:localhos= t:4444 -device e1000,netdev=3Dunet=20 > >=20 > > and from the guest do: > > seq 1 10000000 | nc 10.0.2.50 4444 & > > you should get a spew of numbers coming out of nc but on current > > head it does nothing. > >=20 > > This seems to work at becdfa00cfa2995e859ccefa4b7d72a72eb96581 > > but segs by 386f07d1fc02fb4316039994b855c4feb9b091ce > > and is silently broken somewhere around 72ac876248ca2d33b3e1170b2= f86fb68daaacdc8 > >=20 > > 2) > > If you start qemu with qemu-system-x86_64 -nographic > > you normally get no output until you ctrl-a c at which > > you get a banner and then a (qemu) prompt, however with current > > head, at startup you get: > > ./x86_64-softmmu/qemu-system-x86_64 -nographic > > QEMU 2.7.50 monitor - type 'help' for more information > > (qemu)=20 > >=20 > > and although it gives you a prompt it's not responsive, so you > > ctrl-ac and then you get a : > > QEMU 2.7.50 monitor - type 'help' for more information > > QEMU 2.7.50 monitor - type 'help' for more information > > (qemu)=20 > > =20 > > and it works - but you've got the extra banner. > >=20 > > It's fine at 6dfa8298faa0fce47c68659fd4d92e76745d4edb > > ecb672d14f092f481000ac9cd9d7dc0500692eba is broken but a bit diffe= rently > > 94a40fc56036b5058b0b194d9e372a22e65ce7be doesn't build (!) >=20 > This one is easy. Marc-Andr=E9, can you look at (1)? :) I'm not sure if it helps diagnose it, but I think incoming traffic from the outsideinto the guest is still working, it's just outgoing traffic that seems to be blocked. Dave >=20 > Paolo -- Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK