diff options
author | Kevin Wolf <kwolf@redhat.com> | 2023-01-26 18:24:25 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2023-02-17 11:22:19 +0100 |
commit | ecbc57caba986d7ac0d5ecb75cc72cdfe3602f51 (patch) | |
tree | e606c5a6ebc830fc832c8f49db0361fcdab89a3b /scripts/qapi/schema.py | |
parent | 5b9d79b62dcee57c9f0f0a5b34eea2bbb1f4e8d2 (diff) | |
download | qemu-ecbc57caba986d7ac0d5ecb75cc72cdfe3602f51.zip qemu-ecbc57caba986d7ac0d5ecb75cc72cdfe3602f51.tar.gz qemu-ecbc57caba986d7ac0d5ecb75cc72cdfe3602f51.tar.bz2 |
qcow2: Fix open/create to open images with no_co_wrapper
.bdrv_co_create implementations run in a coroutine, as does
qcow2_do_open(). 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-7-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 'scripts/qapi/schema.py')
0 files changed, 0 insertions, 0 deletions