From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:54184) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RgH1s-0000iW-Ab for qemu-devel@nongnu.org; Thu, 29 Dec 2011 09:32:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RgH1r-0005N7-GU for qemu-devel@nongnu.org; Thu, 29 Dec 2011 09:32:24 -0500 Received: from e06smtp17.uk.ibm.com ([195.75.94.113]:52898) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RgH1r-0005Mo-8P for qemu-devel@nongnu.org; Thu, 29 Dec 2011 09:32:23 -0500 Received: from /spool/local by e06smtp17.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 29 Dec 2011 14:32:21 -0000 Received: from d06av11.portsmouth.uk.ibm.com (d06av11.portsmouth.uk.ibm.com [9.149.37.252]) by d06nrmr1407.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id pBTEWIpe1564840 for ; Thu, 29 Dec 2011 14:32:18 GMT Received: from d06av11.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av11.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id pBTEWI52014240 for ; Thu, 29 Dec 2011 07:32:18 -0700 Message-ID: <4EFC79EE.6020000@de.ibm.com> Date: Thu, 29 Dec 2011 15:32:14 +0100 From: Christian Borntraeger MIME-Version: 1.0 References: <4EE9EBB9.9020300@de.ibm.com> <4EFC616F.4060806@de.ibm.com> <20111229140407.GC4576@amit.redhat.com> <4EFC7657.5090804@de.ibm.com> <20111229142658.GD4576@amit.redhat.com> In-Reply-To: <20111229142658.GD4576@amit.redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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: "qemu-devel@nongnu.org" , Alexander Graf > port->throttled never becomes true for qemu. Huh? What did I miss below? if (ret == -EAGAIN || (ret >= 0 && ret < buf_size)) { virtio_serial_throttle_port(port, true); | | V void virtio_serial_throttle_port(VirtIOSerialPort *port, bool throttle) { if (!port) { return; } trace_virtio_serial_throttle_port(port->id, throttle); port->throttled = throttle; <-------------------- WHOOOT! if (throttle) { return; } qemu_bh_schedule(port->bh); }