From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=46769 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ODD8l-0004dk-RD for qemu-devel@nongnu.org; Sat, 15 May 2010 04:54:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ODD8i-0000vg-QF for qemu-devel@nongnu.org; Sat, 15 May 2010 04:54:35 -0400 Received: from fmmailgate01.web.de ([217.72.192.221]:49127) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ODD8i-0000vS-FV for qemu-devel@nongnu.org; Sat, 15 May 2010 04:54:32 -0400 Message-ID: <4BEE6146.9080502@web.de> Date: Sat, 15 May 2010 10:54:30 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <1271782566-16420-1-git-send-email-agraf@suse.de> <4BE024A9.2040904@codemonkey.ws> <16E7906F-F39B-4121-B540-E2F0E67D405E@suse.de> <4BE0307C.1010305@codemonkey.ws> <0D8C0E80-5325-4E50-A2EF-E73BB95AD8DA@suse.de> <4BE04A78.6070505@codemonkey.ws> <4BE05034.9060803@siemens.com> <4BE11F54.1030900@web.de> <4BE12763.8000809@web.de> <4BE18E60.8070709@siemens.com> <4BE98445.9000203@suse.de> <4BE98600.5030905@siemens.com> <4BE9873C.9050301@suse.de> <4BEAF898.3020001@web.de> <47896AB9-783F-437B-B4E2-81095B78DA2C@suse.de> <4BED778E.4090105@siemens.com> <3AA86181-422F-408B-B761-3C6213B79691@suse.de> <4BEE5CF2.80006@web.de> <332B43FF-AF66-49A3-9862-3E250E23DFEB@suse.de> In-Reply-To: <332B43FF-AF66-49A3-9862-3E250E23DFEB@suse.de> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigEBEF4D63FA4051F761857FC3" Sender: jan.kiszka@web.de Subject: [Qemu-devel] Re: [PATCH] char: Flush read buffer in mux_chr_can_read List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: Bastian Blank , qemu-devel Developers , Aurelien Jarno This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigEBEF4D63FA4051F761857FC3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Alexander Graf wrote: > On 15.05.2010, at 10:36, Jan Kiszka wrote: >=20 >> Alexander Graf wrote: >>> On 14.05.2010, at 18:17, Jan Kiszka wrote: >>>> Alexander Graf wrote: >>>>> Now that I can finally reproduce the bug with --enable-io-thread, I= can verify that it does *not* fix the issue. >>>> I do not trust your tests. :p >>>> >>>> I just tried to reproduce with --enable-io-thread and the setup I >>>> described above - all still fine here. Can you reproduce with an x86= guest? >>> Nope, it works fine with an x86 guest. I put the following in /etc/in= ittab of my guest: >>> >>> 11:2345:respawn:/sbin/mingetty --noclear /dev/hvc0 linux >>> >>> One major thing to keep in mind when talking about s390 guests is tha= t we almost never trap into userspace. >> Do you have the same problem when using an unbuffered backend, e.g. pt= y? >> Maybe that single-byte "fifo" of stdio makes the difference, though I >> wonder why only on s390 (guest exists should not block the polling don= e >> by the io-thread, just accelerate it). >=20 > Mind to give me a small example on how to use that? :) -chardev pty,... echo whatever > /dev/pts/ Or you set up a telnet server. Jan --------------enigEBEF4D63FA4051F761857FC3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkvuYUYACgkQitSsb3rl5xTuBACgpXud5fDKr7YCeXxGHwzFJzDH Y0oAn1p/6Vo7JxDpNO2ZMh8lfR1S7JwF =RrZ8 -----END PGP SIGNATURE----- --------------enigEBEF4D63FA4051F761857FC3--