diff options
author | Kevin Wolf <kwolf@redhat.com> | 2023-01-26 18:24:31 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2023-02-17 11:22:19 +0100 |
commit | be1a732c9a74da9b27884c20e14df608fd100401 (patch) | |
tree | bdb3cd1107cfdbdb339ada7e3d02c91e1e3de3a6 /stats/stats-hmp-cmds.c | |
parent | 6ef028519b02fe64bdd6c87c81fd3ed05054ac55 (diff) | |
download | qemu-be1a732c9a74da9b27884c20e14df608fd100401.zip qemu-be1a732c9a74da9b27884c20e14df608fd100401.tar.gz qemu-be1a732c9a74da9b27884c20e14df608fd100401.tar.bz2 |
block: Fix bdrv_co_create_opts_simple() to open images with no_co_wrapper
bdrv_co_create_opts_simple() runs in a coroutine. Therefore it is not
allowed to open images directly. Fix the call to use the corresponding
no_co_wrapper instead.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20230126172432.436111-13-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>
Diffstat (limited to 'stats/stats-hmp-cmds.c')
0 files changed, 0 insertions, 0 deletions