bochs: mark more functions as coroutine_fns and GRAPH_RDLOCK
commite7918e96193dbaf334c480ddde58ebc1370a84f6
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 1 Jun 2023 11:51:37 +0000 (1 13:51 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 28 Jun 2023 07:46:24 +0000 (28 09:46 +0200)
tree2be642818c5fe0834983577fae52eefd463ba41c
parent517b5dfffdbddd34c0ab126a00421483d80d4318
bochs: 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-5-pbonzini@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/bochs.c