parallels: Fix .bdrv_co_create(_opts) to open images with no_co_wrapper
commit48a4e92d3c8458cd5ab272790dc6fd884c58e206
authorKevin Wolf <kwolf@redhat.com>
Thu, 26 Jan 2023 17:24:23 +0000 (26 18:24 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 17 Feb 2023 10:22:19 +0000 (17 11:22 +0100)
treeeaed2addd4d7ac18c4442f6ce0ba16016695ac19
parent91817e9c58687f44a4d4d2ee39b88cb778d228a8
parallels: Fix .bdrv_co_create(_opts) to open images with no_co_wrapper

.bdrv_co_create implementations run in a coroutine. Therefore they are
not allowed to open images directly. Fix the calls to use the
corresponding no_co_wrappers instead.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20230126172432.436111-5-kwolf@redhat.com>
Reviewed-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
Reviewed-by: Hanna Czenczek <hreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/parallels.c