qed: mark more functions as coroutine_fns and GRAPH_RDLOCK
commitbba667da7f19e3dc68a418d0b87e5978a16f89e9
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 1 Jun 2023 11:51:35 +0000 (1 13:51 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 28 Jun 2023 07:46:20 +0000 (28 09:46 +0200)
treedbb9a3f633fdfe988dcd74ea632b291cda71a214
parent36c6c8773a20e0205046f95c5688b3f17a4d552d
qed: mark more functions as coroutine_fns and GRAPH_RDLOCK

Mark functions as coroutine_fn when they are only called by other coroutine_fns
and they can suspend.  Change calls to co_wrappers to use the non-wrapped
functions, which in turn requires adding GRAPH_RDLOCK annotations.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-ID: <20230601115145.196465-3-pbonzini@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/qed-check.c
block/qed.c