diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2023-03-09 09:44:49 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2023-04-25 13:17:28 +0200 |
commit | 2f1fabdf4414ee86786e4d11350ad5197f1c69d0 (patch) | |
tree | c975fb276fdbbf0ba9394e77bb3023391f17e49c /block/blkdebug.c | |
parent | eab76d58462016e9fe35a51bab6917d254e82139 (diff) | |
download | qemu-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>
Diffstat (limited to 'block/blkdebug.c')
-rw-r--r-- | block/blkdebug.c | 4 |
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; |