aboutsummaryrefslogtreecommitdiff
path: root/qemu-img.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2023-05-10 22:35:56 +0200
committerKevin Wolf <kwolf@redhat.com>2023-05-19 19:12:12 +0200
commite3e31dc87208007784b93a19f8efcdda90ea64f6 (patch)
treeeea196663c5d7b02cdc33b0089a978504412e2ee /qemu-img.c
parenta184563778f2b8970eb93291f08108e66432a575 (diff)
downloadqemu-e3e31dc87208007784b93a19f8efcdda90ea64f6.zip
qemu-e3e31dc87208007784b93a19f8efcdda90ea64f6.tar.gz
qemu-e3e31dc87208007784b93a19f8efcdda90ea64f6.tar.bz2
qcow2: Unlock the graph in qcow2_do_open() where necessary
qcow2_do_open() calls a few no_co_wrappers that wrap functions taking the graph lock internally as a writer. Therefore, it can't hold the reader lock across these calls, it causes deadlocks. Drop the lock temporarily around the calls. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Message-Id: <20230510203601.418015-4-kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-img.c')
0 files changed, 0 insertions, 0 deletions