|
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
[Prev in Thread] | Current Thread | [Next in Thread] |