[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/3] block: add bdrv_co_drain_end callback
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH 1/3] block: add bdrv_co_drain_end callback |
Date: |
Wed, 20 Sep 2017 15:28:16 +0100 |
User-agent: |
Mutt/1.8.3 (2017-05-23) |
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().