summary refs log tree commit diff stats
path: root/python/qemu/qmp.py
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2019-07-19 11:26:13 +0200
committerKevin Wolf <kwolf@redhat.com>2019-07-19 13:19:16 +0200
commit1b285657687c7f08761759092fa05fa33578fc00 (patch)
tree4cddc465ff9b0adb3ed2d25f204ce1d29ef52dda /python/qemu/qmp.py
parentf4c8a43be080fc919bc1ba18e70d83eb0e5be7ec (diff)
downloadfocaccia-qemu-1b285657687c7f08761759092fa05fa33578fc00.tar.gz
focaccia-qemu-1b285657687c7f08761759092fa05fa33578fc00.zip
tests: Lock AioContexts in test-block-iothread
When changing a node's AioContext, the caller must acquire the old
AioContext (unless it currently runs in that old context).  Therefore,
unless the node currently is in the main context, we always have to
acquire the old context around calls that may change a node's
AioContext.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'python/qemu/qmp.py')
0 files changed, 0 insertions, 0 deletions