Home
last modified time | relevance | path

Searched hist:dd353157942a59c21da07da5ac8749a871f7c3ed (Results 1 – 1 of 1) sorted by relevance

/qemu/tests/unit/
H A Dtest-bdrv-drain.cdd353157942a59c21da07da5ac8749a871f7c3ed Mon Oct 01 15:09:18 UTC 2018 Kevin Wolf <kwolf@redhat.com> 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>