io: add methods to set I/O handlers on AioContext
This is in preparation for making qio_channel_yield work on AioContexts other than the main one. Reviewed-by:Daniel P. Berrange <berrange@redhat.com> Reviewed-by:
Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com> Reviewed-by:
Fam Zheng <famz@redhat.com> Message-id: 20170213135235.12274-6-pbonzini@redhat.com Signed-off-by:
Stefan Hajnoczi <stefanha@redhat.com>
Showing
- include/io/channel.h 25 additions, 0 deletionsinclude/io/channel.h
- io/channel-command.c 13 additions, 0 deletionsio/channel-command.c
- io/channel-file.c 11 additions, 0 deletionsio/channel-file.c
- io/channel-socket.c 11 additions, 5 deletionsio/channel-socket.c
- io/channel-tls.c 12 additions, 0 deletionsio/channel-tls.c
- io/channel-watch.c 6 additions, 0 deletionsio/channel-watch.c
- io/channel.c 11 additions, 0 deletionsio/channel.c
Loading
Please register or sign in to comment