From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53204) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xovln-0007CV-O2 for qemu-devel@nongnu.org; Thu, 13 Nov 2014 09:53:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xovlh-0008NS-Gq for qemu-devel@nongnu.org; Thu, 13 Nov 2014 09:53:11 -0500 Received: from mail-lb0-f181.google.com ([209.85.217.181]:45206) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xovlh-0008NF-9v for qemu-devel@nongnu.org; Thu, 13 Nov 2014 09:53:05 -0500 Received: by mail-lb0-f181.google.com with SMTP id l4so11114902lbv.26 for ; Thu, 13 Nov 2014 06:53:04 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <1415890032.25539.19.camel@nilsson.home.kraxel.org> References: <1415890032.25539.19.camel@nilsson.home.kraxel.org> From: Peter Maydell Date: Thu, 13 Nov 2014 14:52:43 +0000 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] [PATCH v3 1/1] virtio: serial: expose a 'guest_writable' callback for users List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: Amit Shah , =?UTF-8?B?TWFyYy1BbmRyw6kgTHVyZWF1?= , Amos Kong , qemu list , Markus Armbruster On 13 November 2014 14:47, Gerd Hoffmann wrote: > On Di, 2014-10-28 at 20:21 +0530, Amit Shah wrote: >> Users of virtio-serial may want to know when a port becomes writable. A >> port can stop accepting writes if the guest port is open but not being >> read from. In this case, data gets queued up in the virtqueue, and >> after the vq is full, writes to the port do not succeed. >> >> When the guest reads off a vq element, and adds a new one for the host >> to put data in, we can tell users the port is available for more writes, >> via the new ->guest_writable() callback. >> >> Signed-off-by: Amit Shah > > What is the plan with that one? It missed the hardfreeze deadline and is heading for 2.3 instead. thanks -- PMM