From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=53654 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ODCqx-0007H1-PO for qemu-devel@nongnu.org; Sat, 15 May 2010 04:36:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ODCqw-00070G-5n for qemu-devel@nongnu.org; Sat, 15 May 2010 04:36:11 -0400 Received: from fmmailgate03.web.de ([217.72.192.234]:47335) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ODCqv-000702-PA for qemu-devel@nongnu.org; Sat, 15 May 2010 04:36:10 -0400 Message-ID: <4BEE5CF2.80006@web.de> Date: Sat, 15 May 2010 10:36:02 +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> In-Reply-To: <3AA86181-422F-408B-B761-3C6213B79691@suse.de> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig3EC3F9D8111CBE253AB4B01F" 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) --------------enig3EC3F9D8111CBE253AB4B01F Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 c= an 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 g= uest? >=20 > Nope, it works fine with an x86 guest. I put the following in /etc/init= tab of my guest: >=20 > 11:2345:respawn:/sbin/mingetty --noclear /dev/hvc0 linux >=20 > One major thing to keep in mind when talking about s390 guests is that = we almost never trap into userspace. Do you have the same problem when using an unbuffered backend, e.g. pty? Maybe that single-byte "fifo" of stdio makes the difference, though I wonder why only on s390 (guest exists should not block the polling done by the io-thread, just accelerate it). Jan --------------enig3EC3F9D8111CBE253AB4B01F 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 iEYEARECAAYFAkvuXPYACgkQitSsb3rl5xSGUwCfcIlYC8JZjsmt4F9gGXQU92Mm zvoAoJum80PQwKxFrznAsjgROZqve6y1 =0xkj -----END PGP SIGNATURE----- --------------enig3EC3F9D8111CBE253AB4B01F--