summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDaniel P. Berrange2015-03-03 13:59:16 +0100
committerDaniel P. Berrange2015-12-18 13:18:05 +0100
commit1c809fa01df0c638417480dfd446415615bfd217 (patch)
tree445e90c439c67a7c9b25f376e295edfcee2c0fbe /tests
parentio: add abstract QIOChannel classes (diff)
downloadqemu-1c809fa01df0c638417480dfd446415615bfd217.tar.gz
qemu-1c809fa01df0c638417480dfd446415615bfd217.tar.xz
qemu-1c809fa01df0c638417480dfd446415615bfd217.zip
io: add helper module for creating watches on FDs
A number of the channel implementations will require the ability to create watches on file descriptors / sockets. To avoid duplicating this code in each channel, provide a helper API for dealing with file descriptor watches. There are two watch implementations provided. The first is useful for bi-directional file descriptors such as sockets, regular files, character devices, etc. The second works with a pair of unidirectional file descriptors such as pipes. Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions