On Wed, Sep 20, 2017 at 01:23:09PM +0300, Manos Pitsidianakis wrote: > diff --git a/include/block/block_int.h b/include/block/block_int.h > index ba4c383393..ea1326e3c7 100644 > --- a/include/block/block_int.h > +++ b/include/block/block_int.h > @@ -359,6 +359,8 @@ struct BlockDriver { > */ > void coroutine_fn (*bdrv_co_drain)(BlockDriverState *bs); > > + void coroutine_fn (*bdrv_co_drain_end)(BlockDriverState *bs);
Please update the doc comment to describe the environment under which begin() and end() are invoked. It should be clear when to implement begin() and/or end().