|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-block] [PATCH v11 01/19] block: Add bdrv_drain_all_{begin, end}() |
Date: | Tue, 25 Oct 2016 16:52:52 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |