diff options
| author | Max Reitz <mreitz@redhat.com> | 2019-07-19 11:26:13 +0200 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2019-07-19 13:19:16 +0200 |
| commit | 1b285657687c7f08761759092fa05fa33578fc00 (patch) | |
| tree | 4cddc465ff9b0adb3ed2d25f204ce1d29ef52dda /python/qemu/qtest.py | |
| parent | f4c8a43be080fc919bc1ba18e70d83eb0e5be7ec (diff) | |
| download | focaccia-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/qtest.py')
0 files changed, 0 insertions, 0 deletions