Re: [Qemu-devel] [PATCH v2 04/15] migration: let incoming side use thread context

2018-03-01 Thread Peter Xu
On Thu, Mar 01, 2018 at 04:03:44PM +, Daniel P. Berrangé wrote: > On Thu, Mar 01, 2018 at 04:44:27PM +0800, Peter Xu wrote: > > The old incoming migration is running in main thread and default > > gcontext. With the new qio_channel_add_watch_full() we can now let it > > run in the thread's own

Re: [Qemu-devel] [PATCH v2 04/15] migration: let incoming side use thread context

2018-03-01 Thread Daniel P . Berrangé
On Thu, Mar 01, 2018 at 04:44:27PM +0800, Peter Xu wrote: > The old incoming migration is running in main thread and default > gcontext. With the new qio_channel_add_watch_full() we can now let it > run in the thread's own gcontext (if there is one). > > Currently this patch does nothing alone.

[Qemu-devel] [PATCH v2 04/15] migration: let incoming side use thread context

2018-03-01 Thread Peter Xu
The old incoming migration is running in main thread and default gcontext. With the new qio_channel_add_watch_full() we can now let it run in the thread's own gcontext (if there is one). Currently this patch does nothing alone. But when any of the incoming migration is run in another iothread (e