|
From: | Anthony Liguori |
Subject: | Re: [Qemu-devel] [PATCH 2/3] Always use nonblocking mode for qemu_chr_open_fd. |
Date: | Thu, 24 Jul 2008 09:23:27 -0500 |
User-agent: | Thunderbird 2.0.0.14 (X11/20080501) |
Daniel P. Berrange wrote:
On Wed, Jul 23, 2008 at 11:31:42AM -0500, Anthony Liguori wrote:The only guarenteed reliable way I know of is using epoll(), but as I mentioned before that's Linux specific, so not immediately useful unless we're willing to drop in an alternate epoll() based main loop for Linux only, and say other OS have to use PTYs in blocking mode.
So far, this sounds like the best option to me. Regards, Anthony Liguori
Daniel
[Prev in Thread] | Current Thread | [Next in Thread] |