From: Paolo Bonzini Date: Thu, 9 Mar 2023 08:44:49 +0000 (+0100) Subject: blkdebug: add missing coroutine_fn annotation X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=2f1fabdf4414ee86786e4d11350ad5197f1c69d0;p=qemu.git blkdebug: add missing coroutine_fn annotation Signed-off-by: Paolo Bonzini Message-Id: <20230309084456.304669-3-pbonzini@redhat.com> Reviewed-by: Kevin Wolf Signed-off-by: Kevin Wolf --- diff --git a/block/blkdebug.c b/block/blkdebug.c index 978c8cff9e..addad914b3 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;