From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54243) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xovp8-0001r0-St for qemu-devel@nongnu.org; Thu, 13 Nov 2014 09:56:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xovp0-0001K7-Ho for qemu-devel@nongnu.org; Thu, 13 Nov 2014 09:56:38 -0500 Received: from mx1.redhat.com ([209.132.183.28]:40798) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xovp0-0001Jy-B8 for qemu-devel@nongnu.org; Thu, 13 Nov 2014 09:56:30 -0500 Message-ID: <1415890584.25539.22.camel@nilsson.home.kraxel.org> From: Gerd Hoffmann Date: Thu, 13 Nov 2014 15:56:24 +0100 In-Reply-To: References: <1415890032.25539.19.camel@nilsson.home.kraxel.org> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit 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: Peter Maydell Cc: Amit Shah , =?ISO-8859-1?Q?Marc-Andr=E9?= Lureau , Amos Kong , qemu list , Markus Armbruster On Do, 2014-11-13 at 14:52 +0000, Peter Maydell wrote: > 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. Sure, I didn't plan to squeeze it into 2.2, but the question remains valid even when targeting 2.3 ;) cheers, Gerd