qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v3 0/4] char: write callback, virtio-console: fl


From: Paul Brook
Subject: Re: [Qemu-devel] [PATCH v3 0/4] char: write callback, virtio-console: flow control
Date: Thu, 15 Apr 2010 13:04:40 +0100
User-agent: KMail/1.12.4 (Linux/2.6.32-3-amd64; KDE/4.3.4; x86_64; ; )

> This series lets interested callers ask for an -EAGAIN return from the
> chardev backends (only unix and tcp sockets as of now) to implement
> their own flow control.

As mentioned previously, I think this is a bad idea.  The device has no useful 
way of determining when to transmit the rest of the data.

What you really want is an asynchronous transmit API.

Paul




reply via email to

[Prev in Thread] Current Thread [Next in Thread]