diff options
author | Kevin Wolf <kwolf@redhat.com> | 2023-05-04 13:57:31 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2023-05-10 14:16:53 +0200 |
commit | 0050c163ff6d8167e07c9fc4be7f728316140cb6 (patch) | |
tree | 142b9df901980625171517d9a024676fa61edf31 /qemu-io.c | |
parent | 6dab4c93ecfae48e2e67b984d1032c1e988d3005 (diff) | |
download | qemu-0050c163ff6d8167e07c9fc4be7f728316140cb6.zip qemu-0050c163ff6d8167e07c9fc4be7f728316140cb6.tar.gz qemu-0050c163ff6d8167e07c9fc4be7f728316140cb6.tar.bz2 |
qcow2: Don't call bdrv_getlength() in coroutine_fns
There is a bdrv_co_getlength() now, which should be used in coroutine
context.
This requires adding GRAPH_RDLOCK to some functions so that this still
compiles with TSA because bdrv_co_getlength() is GRAPH_RDLOCK.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20230504115750.54437-2-kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-io.c')
0 files changed, 0 insertions, 0 deletions