diff options
| author | Kevin Wolf <kwolf@redhat.com> | 2023-06-05 10:57:04 +0200 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2023-06-28 08:46:10 +0200 |
| commit | 8394c35ee14861e2dd2afb20b03036b86388e375 (patch) | |
| tree | 5aad93a5410b132e2c961c1db758bf761d759f53 /scripts/xml-preprocess.py | |
| parent | 2065cf6b2354265b2870d01e561bd374b67280d0 (diff) | |
| download | focaccia-qemu-8394c35ee14861e2dd2afb20b03036b86388e375.tar.gz focaccia-qemu-8394c35ee14861e2dd2afb20b03036b86388e375.zip | |
block: Fix AioContext locking in bdrv_open_child()
bdrv_attach_child() requires that the caller holds the AioContext lock for the new child node. Take it in bdrv_open_child() and document that the caller must not hold any AioContext apart from the main AioContext. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Message-ID: <20230605085711.21261-5-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