summaryrefslogtreecommitdiffstats
path: root/linux-user/qemu.h
diff options
context:
space:
mode:
authorKevin Wolf2018-10-01 17:09:18 +0200
committerKevin Wolf2018-10-01 19:13:55 +0200
commitdd353157942a59c21da07da5ac8749a871f7c3ed (patch)
tree468c8d40801f2ed443f57e6169e3b3718cb67f26 /linux-user/qemu.h
parenttest-replication: Lock AioContext around blk_unref() (diff)
downloadqemu-dd353157942a59c21da07da5ac8749a871f7c3ed.tar.gz
qemu-dd353157942a59c21da07da5ac8749a871f7c3ed.tar.xz
qemu-dd353157942a59c21da07da5ac8749a871f7c3ed.zip
tests/test-bdrv-drain: Fix too late qemu_event_reset()
qemu_event_reset() must be called before the AIO request in a different iothread is submitted. Otherwise the request could be completed before we do the qemu_event_reset() and the test would hang in qemu_event_wait(). Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Tested-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'linux-user/qemu.h')
0 files changed, 0 insertions, 0 deletions