Re: [Qemu-devel] [PATCH v2 10/15] qio: non-default context for async conn

2018-03-01 Thread Peter Xu
On Thu, Mar 01, 2018 at 03:48:44PM +, Daniel P. Berrangé wrote: > On Thu, Mar 01, 2018 at 04:44:33PM +0800, Peter Xu wrote: > > We have worked on qio_task_run_in_thread() already. Further, let > > qio_channel_socket_connect_async() pass that context to it. > > > > Signed-off-by: Peter Xu > >

Re: [Qemu-devel] [PATCH v2 10/15] qio: non-default context for async conn

2018-03-01 Thread Daniel P . Berrangé
On Thu, Mar 01, 2018 at 04:44:33PM +0800, Peter Xu wrote: > We have worked on qio_task_run_in_thread() already. Further, let > qio_channel_socket_connect_async() pass that context to it. > > Signed-off-by: Peter Xu > --- > chardev/char-socket.c | 4 ++-- > include/io/channel-socket.h

[Qemu-devel] [PATCH v2 10/15] qio: non-default context for async conn

2018-03-01 Thread Peter Xu
We have worked on qio_task_run_in_thread() already. Further, let qio_channel_socket_connect_async() pass that context to it. Signed-off-by: Peter Xu --- chardev/char-socket.c | 4 ++-- include/io/channel-socket.h| 4 +++- io/channel-socket.c| 5 +++-- migration/socket.c