Re: [Qemu-devel] AioContext of block jobs

2015-03-25 Thread Fam Zheng
On Wed, 03/25 13:31, Stefan Hajnoczi wrote: > On Wed, Mar 25, 2015 at 04:31:39PM +0800, Fam Zheng wrote: > > I was looking at block jobs' AioContext and realized that the block job > > coroutines are actually started in main loop. > > > > I'm confused because 5a7e7a0bad17c96e03f55ed7019e2d7545e21a

Re: [Qemu-devel] AioContext of block jobs

2015-03-25 Thread Stefan Hajnoczi
On Wed, Mar 25, 2015 at 04:31:39PM +0800, Fam Zheng wrote: > I was looking at block jobs' AioContext and realized that the block job > coroutines are actually started in main loop. > > I'm confused because 5a7e7a0bad17c96e03f55ed7019e2d7545e21a96 and friends in > the series [1] seem to move the co

Re: [Qemu-devel] AioContext of block jobs

2015-03-25 Thread Fam Zheng
On Wed, 03/25 12:25, Paolo Bonzini wrote: > > > On 25/03/2015 09:31, Fam Zheng wrote: > > I was looking at block jobs' AioContext and realized that the block job > > coroutines are actually started in main loop. > > > > I'm confused because 5a7e7a0bad17c96e03f55ed7019e2d7545e21a96 and friends in

Re: [Qemu-devel] AioContext of block jobs

2015-03-25 Thread Paolo Bonzini
On 25/03/2015 09:31, Fam Zheng wrote: > I was looking at block jobs' AioContext and realized that the block job > coroutines are actually started in main loop. > > I'm confused because 5a7e7a0bad17c96e03f55ed7019e2d7545e21a96 and friends in > the series [1] seem to move the coroutines to the BDS

[Qemu-devel] AioContext of block jobs

2015-03-25 Thread Fam Zheng
I was looking at block jobs' AioContext and realized that the block job coroutines are actually started in main loop. I'm confused because 5a7e7a0bad17c96e03f55ed7019e2d7545e21a96 and friends in the series [1] seem to move the coroutines to the BDS's iothreads, but it didn't do that. (Although af