diff options
| author | Kevin Wolf <kwolf@redhat.com> | 2023-06-05 10:57:05 +0200 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2023-06-28 08:46:12 +0200 |
| commit | c066e808e11a5c181b625537b6c78e0de27a4801 (patch) | |
| tree | b1c4e1339d7f719bee86a86eed90fc9ee082b062 /scripts/xml-preprocess-test.py | |
| parent | 8394c35ee14861e2dd2afb20b03036b86388e375 (diff) | |
| download | focaccia-qemu-c066e808e11a5c181b625537b6c78e0de27a4801.tar.gz focaccia-qemu-c066e808e11a5c181b625537b6c78e0de27a4801.zip | |
block: Fix AioContext locking in bdrv_attach_child_common()
The function can move the child node to a different AioContext. In this case, it also must take the AioContext lock for the new context before calling functions that require the caller to hold the AioContext for the child node. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Message-ID: <20230605085711.21261-6-kwolf@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'scripts/xml-preprocess-test.py')
0 files changed, 0 insertions, 0 deletions