From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=42119 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PIgeW-00028v-TL for qemu-devel@nongnu.org; Wed, 17 Nov 2010 06:58:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PIgeV-0006r1-Ox for qemu-devel@nongnu.org; Wed, 17 Nov 2010 06:58:16 -0500 Received: from thoth.sbs.de ([192.35.17.2]:15682) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PIgeV-0006q2-Dt for qemu-devel@nongnu.org; Wed, 17 Nov 2010 06:58:15 -0500 Message-ID: <4CE3C353.8020402@siemens.com> Date: Wed, 17 Nov 2010 12:58:11 +0100 From: Jan Kiszka MIME-Version: 1.0 References: <4CBDB361.1060606@siemens.com> <4CE3AC07.2050400@siemens.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH][RESEND] 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: Anthony Liguori , qemu-devel Am 17.11.2010 12:55, Alexander Graf wrote: > > On 17.11.2010, at 11:18, Jan Kiszka wrote: > >> Am 19.10.2010 17:04, Jan Kiszka wrote: >>> Move the buffer flush from mux_chr_read to mux_chr_can_read. While the >>> latter is called periodically, the former will only be invoked when new >>> characters arrive at the back-end. This caused problems to front-end >>> drivers whenever they were unable to read data immediately, e.g. >>> virtio-console attached to stdio. >>> >> >> Ping. > > It's still broken, even with this patch applied. > No surprise. Still, the patch fixes other archs (namely x86). Jan -- Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux