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 /scripts/qapi/expr.py | |
| parent | 6dab4c93ecfae48e2e67b984d1032c1e988d3005 (diff) | |
| download | focaccia-qemu-0050c163ff6d8167e07c9fc4be7f728316140cb6.tar.gz focaccia-qemu-0050c163ff6d8167e07c9fc4be7f728316140cb6.zip | |
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 'scripts/qapi/expr.py')
0 files changed, 0 insertions, 0 deletions