diff options
| author | Max Reitz | 2019-07-19 11:26:13 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2019-07-19 13:19:16 +0200 |
| commit | 1b285657687c7f08761759092fa05fa33578fc00 (patch) | |
| tree | 4cddc465ff9b0adb3ed2d25f204ce1d29ef52dda /scripts | |
| parent | block: Make bdrv_parent_drained_[^_]*() static (diff) | |
| download | qemu-1b285657687c7f08761759092fa05fa33578fc00.tar.gz qemu-1b285657687c7f08761759092fa05fa33578fc00.tar.xz 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 'scripts')
0 files changed, 0 insertions, 0 deletions
