diff options
author | Kevin Wolf <kwolf@redhat.com> | 2023-06-05 10:57:06 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2023-06-28 08:46:14 +0200 |
commit | 4b408668d0bd8fbac7b558bf9bc7acfce5aa0728 (patch) | |
tree | 461deb59d51808745a55ceaf3bbb32ff05d3cb03 /docs/devel | |
parent | c066e808e11a5c181b625537b6c78e0de27a4801 (diff) | |
download | qemu-4b408668d0bd8fbac7b558bf9bc7acfce5aa0728.zip qemu-4b408668d0bd8fbac7b558bf9bc7acfce5aa0728.tar.gz qemu-4b408668d0bd8fbac7b558bf9bc7acfce5aa0728.tar.bz2 |
block: Fix AioContext locking in bdrv_reopen_parse_file_or_backing()
bdrv_set_file_or_backing_noperm() requires the caller to hold the
AioContext lock for the child node, but we hold the one for the parent
node in bdrv_reopen_parse_file_or_backing(). Take the other one
temporarily.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-ID: <20230605085711.21261-7-kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'docs/devel')
0 files changed, 0 insertions, 0 deletions