io: introduce qio_channel_create_socket_watch
commitb83b68a0132f43f3ebcb61c9237ec1090da58894
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 7 Mar 2016 10:16:39 +0000 (7 11:16 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 10 Mar 2016 17:10:19 +0000 (10 17:10 +0000)
treefd998ea8eab8fe6e5828f67c0ad4874d4838e47e
parente560d141ab0504495142486c21769df1ec346479
io: introduce qio_channel_create_socket_watch

Sockets are not in the same namespace as file descriptors on Windows.
As an initial step, introduce separate APIs for file descriptor and
socket watches.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/io/channel-watch.h
io/channel-socket.c
io/channel-watch.c