]> git.ipfire.org Git - thirdparty/qemu.git/commit
iotests: Use event_wait in wait_ready
authorFam Zheng <famz@redhat.com>
Mon, 8 Jun 2015 05:56:14 +0000 (13:56 +0800)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Thu, 30 Jul 2015 02:46:08 +0000 (21:46 -0500)
commite4fb4bea374a74fccbc9e9cf00c24481fb3bc3b5
treeec6d7a6fabec5523d471f2461e953ec1ad4de116
parentedc0a65326ca4eb8097185a88cb17d7740b7af8e
iotests: Use event_wait in wait_ready

Only poll the specific type of event we are interested in, to avoid
stealing events that should be consumed by someone else.

Suggested-by: John Snow <jsnow@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
(cherry picked from commit d7b25297920d18fa2a2cde1ed21fde38a88c935f)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
tests/qemu-iotests/iotests.py