[Spice-devel] [PATCH spice 2/3] Call read_from_vdi_port() from vdi_read_buf_release()

Gerd Hoffmann kraxel at redhat.com
Fri Oct 15 01:35:10 PDT 2010


On 10/15/10 09:45, Hans de Goede wrote:
> read_from_vdi_port(), called from vdagent_char_device_wakeup() may
> fail to consume all data because no buffers are available in the
> read_bufs ring. When this happens we would fail to ever read more data
> from the agent on the guest as the port is throttled and stays throttled
> until we've consumed all data from the current buffer.
>
> This patch re-enables the call to read_from_vdi_port() from
> vdi_read_buf_release(), so that we will try the read again when space
> becomes available in the read_bufs ring.
>

Acked-by: Gerd Hoffmann <kraxel at redhat.com>

cheers,
   Gerd



More information about the Spice-devel mailing list