diff options
| author | Kevin Wolf <kwolf@redhat.com> | 2023-05-25 14:47:09 +0200 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2023-05-30 17:29:35 +0200 |
| commit | 9102f2ebdb71809af1c5ee4a4a255927e3dabca4 (patch) | |
| tree | f504a4d7d1055e6f7c1aaeee9e04a284b15f7b77 /include/hw/qdev-core.h | |
| parent | 6e0121593288252d9e62448578368678eea3446c (diff) | |
| download | focaccia-qemu-9102f2ebdb71809af1c5ee4a4a255927e3dabca4.tar.gz focaccia-qemu-9102f2ebdb71809af1c5ee4a4a255927e3dabca4.zip | |
copy-before-write: Fix open with child in iothread
The AioContext lock must not be held for bdrv_open_child(), but it is necessary for the following operations, in particular those using nested event loops in coroutine wrappers. Temporarily dropping the main AioContext lock is not necessary because we know we run in the main thread. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Message-Id: <20230525124713.401149-9-kwolf@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include/hw/qdev-core.h')
0 files changed, 0 insertions, 0 deletions