From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:57454) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RgGDs-0005eF-8u for qemu-devel@nongnu.org; Thu, 29 Dec 2011 08:40:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RgGDr-0002ua-Dy for qemu-devel@nongnu.org; Thu, 29 Dec 2011 08:40:44 -0500 Received: from cantor2.suse.de ([195.135.220.15]:54515 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RgGDr-0002u2-6k for qemu-devel@nongnu.org; Thu, 29 Dec 2011 08:40:43 -0500 Message-ID: <4EFC6D8A.6080003@suse.de> Date: Thu, 29 Dec 2011 14:39:22 +0100 From: =?ISO-8859-1?Q?Andreas_F=E4rber?= MIME-Version: 1.0 References: <4EE9EBB9.9020300@de.ibm.com> <4EFC616F.4060806@de.ibm.com> <20111229132756.GB4576@amit.redhat.com> In-Reply-To: <20111229132756.GB4576@amit.redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCHv2] Fix virtio-console failure on unconnected pty List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Amit Shah Cc: Christian Borntraeger , "qemu-devel@nongnu.org" , Alexander Graf Am 29.12.2011 14:27, schrieb Amit Shah: > On (Thu) 29 Dec 2011 [13:47:43], Christian Borntraeger wrote: >> From: Christian Borntraeger >> =20 >> when I tried qemu with -virtio-console pty the guest hangs and attachi= ng on /dev/pts/ does >> not return anything if the attachement is too late. "attachment", while you're at it. Andreas >> Turns out that the console is already throttled and the guest is heavi= ly spinning but get_buf >> never returns the buffer. There seems to be no way for the console to = unthrottle the port. >=20 > It doesn't really get throttled, since the throttling > enabling/disabling isn't yet done in QEMU. What happens is that the > chardev buffer gets filled up and qemu_chr_fe_write() doesn't return > -- send_all() keeps spinning. >=20 > I'll adjust the commit log message and submit. >=20 > Thanks. >=20 > Amit --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=FCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=F6rffer; HRB 16746 AG N=FCrnbe= rg