Re: [Qemu-devel] [PATCH 13/14] qio: allow threaded qiotask to switch contexts

2018-03-01 Thread Peter Xu
On Wed, Feb 28, 2018 at 01:20:24PM +, Daniel P. Berrangé wrote: > On Wed, Feb 28, 2018 at 09:05:26PM +0800, Peter Xu wrote: > > On Wed, Feb 28, 2018 at 09:23:56AM +, Daniel P. Berrangé wrote: > > > On Wed, Feb 28, 2018 at 01:06:32PM +0800, Peter Xu wrote: > > > > This is the part of work to

Re: [Qemu-devel] [PATCH 13/14] qio: allow threaded qiotask to switch contexts

2018-02-28 Thread Daniel P . Berrangé
On Wed, Feb 28, 2018 at 09:05:26PM +0800, Peter Xu wrote: > On Wed, Feb 28, 2018 at 09:23:56AM +, Daniel P. Berrangé wrote: > > On Wed, Feb 28, 2018 at 01:06:32PM +0800, Peter Xu wrote: > > > This is the part of work to allow the QIOTask to use a different > > > gcontext rather than the default

Re: [Qemu-devel] [PATCH 13/14] qio: allow threaded qiotask to switch contexts

2018-02-28 Thread Peter Xu
On Wed, Feb 28, 2018 at 09:23:56AM +, Daniel P. Berrangé wrote: > On Wed, Feb 28, 2018 at 01:06:32PM +0800, Peter Xu wrote: > > This is the part of work to allow the QIOTask to use a different > > gcontext rather than the default main gcontext, by providing > > qio_task_context_set() API. > >

Re: [Qemu-devel] [PATCH 13/14] qio: allow threaded qiotask to switch contexts

2018-02-28 Thread Daniel P . Berrangé
On Wed, Feb 28, 2018 at 01:06:32PM +0800, Peter Xu wrote: > This is the part of work to allow the QIOTask to use a different > gcontext rather than the default main gcontext, by providing > qio_task_context_set() API. > > We have done some work before on doing similar things to add non-default > g