On 09/03/2016 04:19, Fam Zheng wrote: >> > + /* The I/O operation is not finished until the callback returns. >> > + * If we call qemu_coroutine_enter here, there is the possibility >> > + * of a deadlock when the coroutine calls bdrv_drained_begin. >> > + */ >> > + op->co_enter_bh = qemu_bh_new(mirror_bh_cb, op); > Shouldn't this be aio_bh_new()?
Yes, of course. Paolo