]> git.proxmox.com Git - mirror_qemu.git/commit - block/qcow2.c
block: Use bdrv_co_pwrite_sync() when caller is coroutine_fn
authorAlberto Faria <afaria@redhat.com>
Thu, 9 Jun 2022 15:27:43 +0000 (16:27 +0100)
committerHanna Reitz <hreitz@redhat.com>
Tue, 12 Jul 2022 10:14:56 +0000 (12:14 +0200)
commita8f0e83cefa245dbaff8001c076e194ff54e8d1f
tree661c910016a435aa8f5d4304b8a87be2505dee54
parente97190a4057d42dce0322a23e6347101225ee39e
block: Use bdrv_co_pwrite_sync() when caller is coroutine_fn

Convert uses of bdrv_pwrite_sync() into bdrv_co_pwrite_sync() when the
callers are already coroutine_fn.

Signed-off-by: Alberto Faria <afaria@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <v.sementsov-og@mail.ru>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20220609152744.3891847-10-afaria@redhat.com>
Reviewed-by: Hanna Reitz <hreitz@redhat.com>
Signed-off-by: Hanna Reitz <hreitz@redhat.com>
block/parallels.c
block/qcow2-snapshot.c
block/qcow2.c