summary refs log tree commit diff stats
path: root/python/qemu/machine/console_socket.py
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2023-05-25 14:47:08 +0200
committerKevin Wolf <kwolf@redhat.com>2023-05-30 17:21:23 +0200
commit6e0121593288252d9e62448578368678eea3446c (patch)
treec94fae516b929aec3c063b77b3d7b4bc3241e0a6 /python/qemu/machine/console_socket.py
parentaa269ff888d70158fe0c26ed17814046bdc19bd5 (diff)
downloadfocaccia-qemu-6e0121593288252d9e62448578368678eea3446c.tar.gz
focaccia-qemu-6e0121593288252d9e62448578368678eea3446c.zip
raw-format: Fix open with 'file' in iothread
When opening the 'file' child moves bs to an iothread, we need to hold
the AioContext lock of it before we can call raw_apply_options() (and
more specifically, bdrv_getlength() inside of it).

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20230525124713.401149-8-kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'python/qemu/machine/console_socket.py')
0 files changed, 0 insertions, 0 deletions