aboutsummaryrefslogtreecommitdiff
path: root/blockjob.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2023-06-05 10:57:08 +0200
committerKevin Wolf <kwolf@redhat.com>2023-06-28 08:46:18 +0200
commit8aa045421979e59fa27cae6056471d33406a1eba (patch)
treee8a9d9e37dbcd59b6af71804e3a8132d9a1ff61b /blockjob.c
parentf665f01f729680077fc0ff2e5489618d9ecc380e (diff)
downloadqemu-8aa045421979e59fa27cae6056471d33406a1eba.zip
qemu-8aa045421979e59fa27cae6056471d33406a1eba.tar.gz
qemu-8aa045421979e59fa27cae6056471d33406a1eba.tar.bz2
block: Fix AioContext locking in bdrv_open_backing_file()
bdrv_set_backing() requires the caller to hold the AioContext lock for @backing_hd. Take it in bdrv_open_backing_file() before calling the function. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Message-ID: <20230605085711.21261-9-kwolf@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'blockjob.c')
0 files changed, 0 insertions, 0 deletions