summary refs log tree commit diff stats
path: root/scripts/xml-preprocess.py
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2023-06-05 10:57:06 +0200
committerKevin Wolf <kwolf@redhat.com>2023-06-28 08:46:14 +0200
commit4b408668d0bd8fbac7b558bf9bc7acfce5aa0728 (patch)
tree461deb59d51808745a55ceaf3bbb32ff05d3cb03 /scripts/xml-preprocess.py
parentc066e808e11a5c181b625537b6c78e0de27a4801 (diff)
downloadfocaccia-qemu-4b408668d0bd8fbac7b558bf9bc7acfce5aa0728.tar.gz
focaccia-qemu-4b408668d0bd8fbac7b558bf9bc7acfce5aa0728.zip
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 'scripts/xml-preprocess.py')
0 files changed, 0 insertions, 0 deletions