On 25/10/2016 16:48, Alberto Garcia wrote: > And how about the rest of the things that are going on in > bdrv_drain_all_begin()? > > bdrv_parent_drained_begin(bs);
No BlockBackend yet, and BlockDriverStates have been quiesced already, so that's okay. > bdrv_io_unplugged_begin(bs); No I/O yet, so that's okay. > bdrv_drain_recurse(bs); Children have been created before, so they're already quiescent. > aio_disable_external(aio_context); This is also a hack for what should be in BlockBackend---which means that we're safe because there's no BlockBackend yet. Paolo