On 10/15/10 09:45, Hans de Goede wrote:
read_from_vdi_port() MUST always be called in a while loop until it returns 0.

This is needed because it can cause new data available events and its
recursion protection causes those to get lost. Calling it until it returns 0
ensures that all data has been consumed.


It's actually about flow control not recursion protection. The patch is correct nevertheless.

Acked-by: Gerd Hoffmann <[email protected]>

cheers,
  Gerd

_______________________________________________
Spice-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to