qcow: manually add more coroutine_fn annotations
commitea4b80146e4a000b7e9452390f71dca030a8a1b0
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 13 Oct 2022 12:36:58 +0000 (13 14:36 +0200)
committerKevin Wolf <kwolf@redhat.com>
Thu, 27 Oct 2022 18:14:11 +0000 (27 20:14 +0200)
tree1fa7c8df1e58020fbf34fcbb6f116b68aaa5e31a
parentf72b38b67e49e1460c6a2dffd4ee97c0155347eb
qcow: manually add more coroutine_fn annotations

get_cluster_offset() and decompress_cluster() are only called from
the read and write paths.

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-12-pbonzini@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/qcow.c