diff options
author | Amit Shah <amit.shah@redhat.com> | 2010-09-02 09:17:52 -0400 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2010-10-21 03:14:03 -0400 |
commit | 3eae0adea949d8fdd8fa3e5301192901219d2c64 (patch) | |
tree | 4b37348c448a77e1b6670e67e571a8eda4da9d8d /drivers/telephony | |
parent | e062013c7d22e40ee634b818d28fd615db36998e (diff) |
virtio: console: Send SIGIO to processes that request it for host events
A process can request for SIGIO on host connect / disconnect events
using the O_ASYNC file flag using fcntl().
If that's requested, and if the guest-side connection for the port is
open, any host-side open/close events for that port will raise a SIGIO.
The process can then use poll() within the signal handler to find out
which port triggered the signal.
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/telephony')
0 files changed, 0 insertions, 0 deletions