diff options
author | Alberto Faria <afaria@redhat.com> | 2022-10-13 14:36:55 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2022-10-27 20:14:11 +0200 |
commit | c2d7680893a53c3d1443dd729fa60814dd1b2bad (patch) | |
tree | d961f6e30b99b8cf2cc1c485d1f7df4ebcaaffa9 /include | |
parent | 512ef174fb531a00e6762b007e42095631d2b48d (diff) | |
download | qemu-c2d7680893a53c3d1443dd729fa60814dd1b2bad.zip qemu-c2d7680893a53c3d1443dd729fa60814dd1b2bad.tar.gz qemu-c2d7680893a53c3d1443dd729fa60814dd1b2bad.tar.bz2 |
block: add missing coroutine_fn annotation to BlockDriverState callbacks
Signed-off-by: Alberto Faria <afaria@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20221013123711.620631-9-pbonzini@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/block/block_int-common.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/include/block/block_int-common.h b/include/block/block_int-common.h index c756b83..afce4f8 100644 --- a/include/block/block_int-common.h +++ b/include/block/block_int-common.h @@ -745,13 +745,11 @@ struct BlockDriver { void coroutine_fn (*bdrv_co_drain_end)(BlockDriverState *bs); bool (*bdrv_supports_persistent_dirty_bitmap)(BlockDriverState *bs); - bool (*bdrv_co_can_store_new_dirty_bitmap)(BlockDriverState *bs, - const char *name, - uint32_t granularity, - Error **errp); - int (*bdrv_co_remove_persistent_dirty_bitmap)(BlockDriverState *bs, - const char *name, - Error **errp); + bool coroutine_fn (*bdrv_co_can_store_new_dirty_bitmap)( + BlockDriverState *bs, const char *name, uint32_t granularity, + Error **errp); + int coroutine_fn (*bdrv_co_remove_persistent_dirty_bitmap)( + BlockDriverState *bs, const char *name, Error **errp); }; static inline bool block_driver_can_compress(BlockDriver *drv) |