[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 1/1] virtio: serial: expose a 'guest_writable
From: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] [PATCH v3 1/1] virtio: serial: expose a 'guest_writable' callback for users |
Date: |
Thu, 13 Nov 2014 15:56:24 +0100 |
On Do, 2014-11-13 at 14:52 +0000, Peter Maydell wrote:
> On 13 November 2014 14:47, Gerd Hoffmann <address@hidden> 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 <address@hidden>
> >
> > 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