qemu-irix/tests/qemu-iotests
Marc-André Lureau 1382d4abdf qapi: return a 'missing parameter' error
The 'old' dispatch code returned a QERR_MISSING_PARAMETER for missing
parameters, but the qapi qmp_dispatch() code uses
QERR_INVALID_PARAMETER_TYPE.

Improve qapi code to return QERR_MISSING_PARAMETER where
appropriate.

Fix expected error message in iotests.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20160930095948.3154-4-marcandre.lureau@redhat.com>
[Drop incorrect error_setg() from qmp_input_type_any() and
qmp_input_type_null()]
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2016-10-07 19:22:11 +02:00
..
sample_images
.gitignore
001
001.out
002
002.out
003
003.out
004 block: enable testing of LUKS driver with block I/O tests 2016-05-12 15:33:24 +02:00
004.out
005
005.out
007
007.out
008
008.out
009
009.out
010
010.out
011
011.out
012 block: enable testing of LUKS driver with block I/O tests 2016-05-12 15:33:24 +02:00
012.out
013
013.out
014
014.out
015
015.out
017
017.out
018
018.out
019
019.out
020
020.out
021
021.out
022
022.out
023
023.out
024
024.out
025
025.out
026
026.out block: ignore flush requests when storage is clean 2016-07-18 18:19:01 -04:00
026.out.nocache block: ignore flush requests when storage is clean 2016-07-18 18:19:01 -04:00
027
027.out
028
028.out
029
029.out
030 block: Accept node-name for block-stream 2016-09-05 19:06:47 +02:00
030.out
031
031.out
032
032.out
033
033.out
034 block: Switch bdrv_write_zeroes() to byte interface 2016-06-08 10:21:08 +02:00
034.out
035
035.out
036
036.out
037
037.out
038
038.out
039
039.out
040
040.out
041 qemu-iotests/041: Avoid blockdev-add with id 2016-09-23 13:45:36 +02:00
041.out iotests: add small-granularity mirror test 2016-06-28 22:53:03 -04:00
042
042.out
043
043.out
044
044.out
045
045.out
046
046.out
047
047.out
048 block: enable testing of LUKS driver with block I/O tests 2016-05-12 15:33:24 +02:00
048.out block: enable testing of LUKS driver with block I/O tests 2016-05-12 15:33:24 +02:00
049
049.out
050
050.out
051
051.out
051.pc.out
052 block: enable testing of LUKS driver with block I/O tests 2016-05-12 15:33:24 +02:00
052.out block: enable testing of LUKS driver with block I/O tests 2016-05-12 15:33:24 +02:00
053
053.out
054
054.out
055 iotest 055: refactor and speed up 2016-09-20 22:12:57 +02:00
055.out qemu-iotests: test backup compression in 055 2016-09-05 19:06:48 +02:00
056
056.out
057 block: Accept node-name for blockdev-snapshot-internal-sync 2016-09-05 19:06:47 +02:00
057.out
058
058.out
059
059.out
060
060.out
061
061.out
062
062.out
063
063.out
064
064.out
065
065.out
066
066.out
067 qemu-iotests/067: Avoid blockdev-add with id 2016-09-23 13:45:36 +02:00
067.out qemu-iotests/067: Avoid blockdev-add with id 2016-09-23 13:45:36 +02:00
068
068.out
069
069.out
070
070.out
071 qemu-iotests/071: Avoid blockdev-add with id 2016-09-23 13:45:36 +02:00
071.out block: ignore flush requests when storage is clean 2016-07-18 18:19:01 -04:00
072
072.out
073
073.out
074
074.out
075
075.out
076
076.out
077 block/io: optimize bdrv_co_pwritev for small requests 2016-06-07 14:40:51 +01:00
077.out block/io: optimize bdrv_co_pwritev for small requests 2016-06-07 14:40:51 +01:00
078
078.out
079
079.out
080
080.out
081 qemu-iotests/081: Avoid blockdev-add with id 2016-09-23 13:45:36 +02:00
081.out
082
082.out
083
083.out
084
084.out
085
085.out block: Avoid printing NULL string in error messages 2016-09-23 13:45:36 +02:00
086
086.out
087 block/qapi: Move 'aio' option to file driver 2016-09-29 14:13:39 +02:00
087.out qapi: return a 'missing parameter' error 2016-10-07 19:22:11 +02:00
088
088.out
089
089.out block: ignore flush requests when storage is clean 2016-07-18 18:19:01 -04:00
090
090.out
091
091.out
092
092.out
093 qemu-iotests: Test naming of throttling groups 2016-07-13 13:41:39 +02:00
093.out qemu-iotests: Test naming of throttling groups 2016-07-13 13:41:39 +02:00
094
094.out
095 iotests: 095: Clean up QEMU before showing image info 2016-06-16 15:20:37 +02:00
095.out
096 block: Don't return throttling info in query-named-block-nodes 2016-05-19 16:45:31 +02:00
096.out
097
097.out
098
098.out
099
099.out
101
101.out
102
102.out
103
103.out
104
104.out
105
105.out
107
107.out
108
108.out
109 iotests: fix 109 2016-08-08 13:05:43 +02:00
109.out iotests: fix 109 2016-08-08 13:05:43 +02:00
110
110.out
111
111.out
112
112.out
113
113.out
114
114.out
115
115.out
116 qemu-iotests: tests: do not set unused tmp variable 2016-04-15 17:56:56 +02:00
116.out
117 qemu-iotests/117: Avoid blockdev-add with id 2016-09-23 13:45:36 +02:00
117.out
118 qemu-iotests/118: Avoid blockdev-add with id 2016-09-23 13:45:36 +02:00
118.out
119
119.out
120
120.out
121
121.out
122
122.out
123
123.out
124 qemu-iotests/124: Avoid blockdev-add with id 2016-09-23 13:45:36 +02:00
124.out
128
128.out
129
129.out
130
130.out
131
131.out
132
132.out
133
133.out
134
134.out
135
135.out
136 qemu-iotests: Fix regression in 136 on aio_read invalid 2016-05-19 16:56:58 +02:00
136.out block: Remove bdrv_aio_multiwrite() 2016-05-19 16:45:31 +02:00
137
137.out
138
138.out
139 qemu-iotests/139: Avoid blockdev-add with id 2016-09-23 13:45:36 +02:00
139.out qemu-iotests/139: Avoid blockdev-add with id 2016-09-23 13:45:36 +02:00
140
140.out
141 qemu-iotests/141: Avoid blockdev-add with id 2016-09-23 13:45:36 +02:00
141.out qemu-iotests/141: Avoid blockdev-add with id 2016-09-23 13:45:36 +02:00
142
142.out
143
143.out
144
144.out block: ignore flush requests when storage is clean 2016-07-18 18:19:01 -04:00
145
145.out
146
146.out
148
148.out
149 crypto: fix handling of iv generator hash defaults 2016-07-04 10:46:59 +01:00
149.out crypto: fix handling of iv generator hash defaults 2016-07-04 10:46:59 +01:00
150
150.out
152
152.out
154 block: Switch bdrv_write_zeroes() to byte interface 2016-06-08 10:21:08 +02:00
154.out qcow2: Catch more unaligned write_zero into zero cluster 2016-06-08 10:21:08 +02:00
155 iotests: Add test for post-mirror backing chains 2016-06-16 15:20:37 +02:00
155.out iotests: Add test for post-mirror backing chains 2016-06-16 15:20:37 +02:00
156 iotests: Add test for oVirt-like storage migration 2016-06-16 15:20:37 +02:00
156.out iotests: Add test for oVirt-like storage migration 2016-06-16 15:20:37 +02:00
157 iotests: Make 157 actually format-agnostic 2016-07-13 13:41:39 +02:00
157.out iotests: Make 157 actually format-agnostic 2016-07-13 13:41:39 +02:00
158 qcow2: fix encryption during cow of sectors 2016-09-23 13:36:09 +02:00
158.out qcow2: fix encryption during cow of sectors 2016-09-23 13:36:09 +02:00
159 qemu-img: add the 'dd' subcommand 2016-09-20 22:10:57 +02:00
159.out qemu-img: add the 'dd' subcommand 2016-09-20 22:10:57 +02:00
160 qemu-img: add skip option to dd 2016-09-20 22:10:57 +02:00
160.out qemu-img: add skip option to dd 2016-09-20 22:10:57 +02:00
162 iotests: Test case for wrong runtime option types 2016-08-15 15:52:29 +02:00
162.out iotests: Test case for wrong runtime option types 2016-08-15 15:52:29 +02:00
170 qemu-img: add the 'dd' subcommand 2016-09-20 22:10:57 +02:00
170.out qemu-img: add the 'dd' subcommand 2016-09-20 22:10:57 +02:00
COPYING
Makefile
README doc: Fix mailing list address in tests/qemu-iotests/README 2016-06-16 15:19:55 +02:00
check
common block: enable testing of LUKS driver with block I/O tests 2016-05-12 15:33:24 +02:00
common.config
common.filter qemu-img: add the 'dd' subcommand 2016-09-20 22:10:57 +02:00
common.pattern
common.qemu
common.rc qemu-img: add the 'dd' subcommand 2016-09-20 22:10:57 +02:00
group qcow2: fix encryption during cow of sectors 2016-09-23 13:36:09 +02:00
iotests.py qemu-iotests/118: Test media change with qdev name 2016-09-23 13:45:35 +02:00
nbd-fault-injector.py
qcow2.py
qed.py
socket_scm_helper.c

README

=== 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@nongnu.org with a CC:
to qemu-block@nongnu.org.