qemu/tests/qemu-iotests
John Snow 7898f74e78 iotests: add QMP event waiting queue
A filter is added to allow callers to request very specific
events to be pulled from the event queue, while leaving undesired
events still in the stream.

This allows us to poll for completion data for multiple asynchronous
events in any arbitrary order.

A new timeout context is added to the qmp pull_event method's
wait parameter to allow tests to fail if they do not complete
within some expected period of time.

Also fixed is a bug in qmp.pull_event where we try to retrieve an event
from an empty list if we attempt to retrieve an event with wait=False
but no events have occurred.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 1429314609-29776-19-git-send-email-jsnow@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2015-04-28 15:36:11 +02:00
..
001
002
003
005
007
2015-03-10 14:02:21 +01:00
008
009
010
011
012
013
014
015
2015-03-10 14:02:21 +01:00
017
018
019
020
021
022
023
024
026
2015-03-10 14:02:21 +01:00
2015-03-10 14:02:21 +01:00
027
028
029
2015-03-10 14:02:21 +01:00
031
032
033
2015-03-27 10:01:12 +00:00
034
035
036
037
038
039
2014-12-12 15:48:26 +00:00
042
043
044
045
046
047
048
2014-12-10 10:31:12 +01:00
049
2015-03-16 17:07:25 +01:00
050
2015-03-16 17:07:25 +01:00
053
054
056
057
058
2015-03-10 14:02:21 +01:00
059
2014-12-12 13:14:10 +00:00
061
2014-11-03 11:41:49 +00:00
062
063
064
2015-01-23 12:41:32 -05:00
2015-01-23 12:41:32 -05:00
066
067
2015-03-10 14:02:21 +01:00
068
069
2014-09-22 11:39:45 +01:00
070
2014-10-04 19:18:17 +01:00
2014-10-04 19:18:17 +01:00
072
2014-09-22 11:39:45 +01:00
073
074
077
2014-12-10 10:31:12 +01:00
079
2015-03-10 14:02:21 +01:00
080
2015-03-10 14:02:21 +01:00
083
2015-02-06 17:24:22 +01:00
2015-02-06 17:24:22 +01:00
084
2014-11-09 23:39:50 +01:00
085
2015-03-16 17:07:25 +01:00
089
2015-03-10 14:02:21 +01:00
091
093
2015-02-16 15:07:18 +00:00
095
2014-10-04 19:18:17 +01:00
100
2015-02-06 17:24:22 +01:00
101
107
2014-11-03 11:41:48 +00:00
108
2015-03-10 14:02:21 +01:00
122
2015-04-28 15:36:09 +02:00
2015-01-13 11:47:55 +00:00
2014-12-10 10:31:12 +01:00
2015-02-06 17:24:21 +01:00

=== This is the QEMU I/O test suite ===

* Intro

This package contains a simple test suite for the I/O layer of qemu.
It does not require a guest, but only the qemu, qemu-img and qemu-io
binaries.  This does limit it to exercise the low-level I/O path only
but no actual block drivers like ide, scsi or virtio.

* Usage

Just run ./check to run all tests for the raw image format, or ./check
-qcow2 to test the qcow2 image format.  The output of ./check -h explains
additional options to test further image formats or I/O methods.

* Feedback and patches

Please send improvements to the test suite, general feedback or just
reports of failing tests cases to qemu-devel@savannah.nongnu.org.