summaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorAmit Shah <amit.shah@redhat.com>2010-09-02 18:47:52 +0530
committerRusty Russell <rusty@rustcorp.com.au>2010-10-21 17:44:03 +1030
commit3eae0adea949d8fdd8fa3e5301192901219d2c64 (patch)
tree4b37348c448a77e1b6670e67e571a8eda4da9d8d /include/drm
parente062013c7d22e40ee634b818d28fd615db36998e (diff)
downloadlinux-3eae0adea949d8fdd8fa3e5301192901219d2c64.tar.bz2
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 'include/drm')
0 files changed, 0 insertions, 0 deletions