]> git.proxmox.com Git - mirror_qemu.git/commit - block/vhdx.h
vhdx: mark more functions as coroutine_fns and GRAPH_RDLOCK
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 1 Jun 2023 11:51:42 +0000 (13:51 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 28 Jun 2023 07:46:30 +0000 (09:46 +0200)
commitf6b08994934f89866b510d335c6273bf998e857b
tree6b8d2892192eb1d512ddadb27544d4356ba91bad
parent28944f99c473f55b6b5a4210f697f7eec9a9bc23
vhdx: 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-10-pbonzini@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/vhdx-log.c
block/vhdx.c
block/vhdx.h