aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2023-03-09 09:44:49 +0100
committerKevin Wolf <kwolf@redhat.com>2023-04-25 13:17:28 +0200
commit2f1fabdf4414ee86786e4d11350ad5197f1c69d0 (patch)
treec975fb276fdbbf0ba9394e77bb3023391f17e49c
parenteab76d58462016e9fe35a51bab6917d254e82139 (diff)
downloadqemu-2f1fabdf4414ee86786e4d11350ad5197f1c69d0.zip
qemu-2f1fabdf4414ee86786e4d11350ad5197f1c69d0.tar.gz
qemu-2f1fabdf4414ee86786e4d11350ad5197f1c69d0.tar.bz2
blkdebug: add missing coroutine_fn annotation
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20230309084456.304669-3-pbonzini@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
-rw-r--r--block/blkdebug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/block/blkdebug.c b/block/blkdebug.c
index 978c8cf..addad91 100644
--- a/block/blkdebug.c
+++ b/block/blkdebug.c
@@ -583,8 +583,8 @@ out:
return ret;
}
-static int rule_check(BlockDriverState *bs, uint64_t offset, uint64_t bytes,
- BlkdebugIOType iotype)
+static int coroutine_fn rule_check(BlockDriverState *bs, uint64_t offset,
+ uint64_t bytes, BlkdebugIOType iotype)
{
BDRVBlkdebugState *s = bs->opaque;
BlkdebugRule *rule = NULL;