aboutsummaryrefslogtreecommitdiff
path: root/block/qcow2-bitmap.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2022-10-13 14:36:59 +0200
committerKevin Wolf <kwolf@redhat.com>2022-10-27 20:14:11 +0200
commita1b4ecfd6f4e7d8bfba3a3990150cb92577d92d4 (patch)
treeee8a57b5b58227cae383a9fb4881bc61c4af850a /block/qcow2-bitmap.c
parentea4b80146e4a000b7e9452390f71dca030a8a1b0 (diff)
downloadqemu-a1b4ecfd6f4e7d8bfba3a3990150cb92577d92d4.zip
qemu-a1b4ecfd6f4e7d8bfba3a3990150cb92577d92d4.tar.gz
qemu-a1b4ecfd6f4e7d8bfba3a3990150cb92577d92d4.tar.bz2
qcow2: manually add more coroutine_fn annotations
The validity of these was double-checked with Alberto Faria's static analyzer. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20221013123711.620631-13-pbonzini@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/qcow2-bitmap.c')
-rw-r--r--block/qcow2-bitmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/block/qcow2-bitmap.c b/block/qcow2-bitmap.c
index 7197754..bcad567 100644
--- a/block/qcow2-bitmap.c
+++ b/block/qcow2-bitmap.c
@@ -955,8 +955,8 @@ static void set_readonly_helper(gpointer bitmap, gpointer value)
* If header_updated is not NULL then it is set appropriately regardless of
* the return value.
*/
-bool qcow2_load_dirty_bitmaps(BlockDriverState *bs, bool *header_updated,
- Error **errp)
+bool coroutine_fn qcow2_load_dirty_bitmaps(BlockDriverState *bs,
+ bool *header_updated, Error **errp)
{
BDRVQcow2State *s = bs->opaque;
Qcow2BitmapList *bm_list;