Re: [Qemu-devel] [PATCH] mirror: fix the inconsistent AioContext problem in the backing BDSs during mirroring.

2017-06-28 Thread sochin.jiang
Oh,I got it, thanks. Sochin On 2017/6/29 6:33, Max Reitz wrote: > On 2017-06-26 13:04, sochin.jiang wrote: >> From: "sochin.jiang" >> >> mirror_complete opens the backings, BDSs of the new open backings should >> have a >> same AioContext with the top when using iothreads, fix the code to

Re: [Qemu-devel] [PATCH] mirror: fix the inconsistent AioContext problem in the backing BDSs during mirroring.

2017-06-28 Thread Max Reitz
On 2017-06-26 13:04, sochin.jiang wrote: > From: "sochin.jiang" > > mirror_complete opens the backings, BDSs of the new open backings should > have a > same AioContext with the top when using iothreads, fix the code to guarantee > this, > also avoiding unexpected qemu exit(assert fails in bd

[Qemu-devel] [PATCH] mirror: fix the inconsistent AioContext problem in the backing BDSs during mirroring.

2017-06-26 Thread sochin.jiang
From: "sochin.jiang" mirror_complete opens the backings, BDSs of the new open backings should have a same AioContext with the top when using iothreads, fix the code to guarantee this, also avoiding unexpected qemu exit(assert fails in bdrv_attach_child). Signed-off-by: sochin.jiang --- blo