]> git.proxmox.com Git - mirror_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)
committerStefan Hajnoczi <stefanha@redhat.com>
Thu, 2 Jul 2015 09:06:23 +0000 (10:06 +0100)
commitd7b25297920d18fa2a2cde1ed21fde38a88c935f
treeababe22e2d05d0b98e6b903516549e7c1c404300
parentc615091793f53ff33b8f6c1b1ba711cf7c93e97b
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>
tests/qemu-iotests/iotests.py