qemu-e2k/tests/qemu-iotests
Vladimir Sementsov-Ogievskiy a5fff8d4b4 qcow2-refcount: avoid eating RAM
qcow2_inc_refcounts_imrt() (through realloc_refcount_array()) can eat
an unpredictable amount of memory on corrupted table entries, which are
referencing regions far beyond the end of file.

Prevent this, by skipping such regions from further processing.

Interesting that iotest 138 checks exactly the behavior which we fix
here. So, change the test appropriately.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-id: 20190227131433.197063-3-vsementsov@virtuozzo.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
2019-05-07 17:14:21 +02:00
..
sample_images qemu-iotests: add test case for dmg 2019-02-01 13:46:44 +01:00
.gitignore
001 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
001.out
002 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
002.out
003 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
003.out
004 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
004.out
005 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
005.out
007 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
007.out
008 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
008.out
009 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
009.out
010 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
010.out
011 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
011.out
012 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
012.out
013 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
013.out
014 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
014.out
015 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
015.out
017 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
017.out
018 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
018.out
019 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
019.out
020 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
020.out
021 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
021.out
022 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
022.out
023 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
023.out
024 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
024.out
025 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
025.out
026 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
026.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
026.out.nocache
027 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
027.out
028 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
028.out
029 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
029.out
030 block: test block-stream with a base node that is used by block-commit 2019-04-02 12:04:44 +02:00
030.out block: test block-stream with a base node that is used by block-commit 2019-04-02 12:04:44 +02:00
031 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
031.out qcow2: Basic definitions for external data files 2019-03-08 12:26:45 +01:00
032 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
032.out
033 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
033.out
034 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
034.out
035 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
035.out
036 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
036.out qcow2: Basic definitions for external data files 2019-03-08 12:26:45 +01:00
037 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
037.out
038 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
038.out
039 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
039.out
040 iotests: Use // for Python integer division 2018-10-30 21:11:52 -03:00
040.out qemu-iotests: Test commit with top-node/base-node 2018-09-25 15:50:15 +02:00
041 iotests: Replace assertEquals() with assertEqual() 2018-11-21 10:30:05 +01:00
041.out mirror: Fail gracefully for source == target 2018-08-15 12:50:39 +02:00
042 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
042.out
043 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
043.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
044 iotests: Different iterator behavior in Python 3 2018-10-30 21:11:52 -03:00
044.out
045 iotests: Let 045 be run concurrently 2019-02-25 15:11:28 +01:00
045.out
046 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
046.out
047 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
047.out
048 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
048.out
049 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
049.out block: Clean up bdrv_img_create()'s error reporting 2018-10-19 14:51:34 +02:00
050 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
050.out
051 qemu-iotests: Treat custom TEST_DIR in 051 2019-03-19 15:51:31 +01:00
051.out file-posix: Fix bdrv_open_flags() for snapshot=on 2019-03-12 20:30:14 +01:00
051.pc.out file-posix: Fix bdrv_open_flags() for snapshot=on 2019-03-12 20:30:14 +01:00
052 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
052.out
053 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
053.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
054 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
054.out
055
055.out
056 iotests: Different iterator behavior in Python 3 2018-10-30 21:11:52 -03:00
056.out
057
057.out
058 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
058.out
059 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
059.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
060 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
060.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
061 qemu-iotests: amend with external data file 2019-03-08 12:26:46 +01:00
061.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
062 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
062.out
063 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
063.out
064 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
064.out
065 iotests: Different iterator behavior in Python 3 2018-10-30 21:11:52 -03:00
065.out
066 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
066.out
067 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
067.out block-backend: Set werror/rerror defaults in blk_new() 2018-10-01 19:13:46 +02:00
068 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
068.out
069 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
069.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
070 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
070.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
071 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
071.out qmp: Split ShutdownCause host-qmp into quit and system-reset 2018-12-18 07:55:47 +01:00
072 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
072.out
073 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
073.out
074 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
074.out
075 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
075.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
076 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
076.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
077 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
077.out
078 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
078.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
079 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
079.out
080 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
080.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
081 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
081.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
082 iotests: Perform the correct test in 082 2019-04-30 15:29:00 +02:00
082.out qemu-img: Make create hint at protocol options 2019-04-30 15:29:00 +02:00
083 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
083.out block/nbd-client: use traces instead of noisy error_report_err 2019-01-04 17:34:58 -06:00
084 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
084.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
085 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
085.out
086 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
086.out
087 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
087.out qmp: Split ShutdownCause host-qmp into quit and system-reset 2018-12-18 07:55:47 +01:00
088 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
088.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
089 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
089.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
090 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
090.out
091 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
091.out
092 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
092.out
093 iotests: Use // for Python integer division 2018-10-30 21:11:52 -03:00
093.out qemu-iotests: Test removing a throttle group member with a pending timer 2018-08-15 12:50:39 +02:00
094 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
094.out qmp: Split ShutdownCause host-qmp into quit and system-reset 2018-12-18 07:55:47 +01:00
095 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
095.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
096
096.out
097 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
097.out
098 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
098.out
099 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
099.out
101 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
101.out
102 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
102.out
103 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
103.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
104 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
104.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
105 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
105.out
106 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
106.out
107 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
107.out
108 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
108.out
109 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
109.out qmp: Split ShutdownCause host-qmp into quit and system-reset 2018-12-18 07:55:47 +01:00
110 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
110.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
111 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
111.out
112 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
112.out
113 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
113.out
114 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
114.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
115 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
115.out
116 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
116.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
117 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
117.out qmp: Split ShutdownCause host-qmp into quit and system-reset 2018-12-18 07:55:47 +01:00
118 iotests: Replace assertEquals() with assertEqual() 2018-11-21 10:30:05 +01:00
118.out
119 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
119.out qmp: Split ShutdownCause host-qmp into quit and system-reset 2018-12-18 07:55:47 +01:00
120 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
120.out qmp: Split ShutdownCause host-qmp into quit and system-reset 2018-12-18 07:55:47 +01:00
121 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
121.out
122 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
122.out
123 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
123.out
124 iotests: add busy/recording bit test to 124 2019-03-12 12:05:48 -04:00
124.out iotests: add busy/recording bit test to 124 2019-03-12 12:05:48 -04:00
125 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
125.out
126 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
126.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
127 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
127.out qmp: Split ShutdownCause host-qmp into quit and system-reset 2018-12-18 07:55:47 +01:00
128 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
128.out
129
129.out
130 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
130.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
131 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
131.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
132
132.out
133 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
133.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
134 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
134.out
135 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
135.out
136 iotests: Use // for Python integer division 2018-10-30 21:11:52 -03:00
136.out
137 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
137.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
138 qcow2-refcount: avoid eating RAM 2019-05-07 17:14:21 +02:00
138.out qcow2-refcount: avoid eating RAM 2019-05-07 17:14:21 +02:00
139 iotests: check whitelisted formats 2019-03-08 12:26:45 +01:00
139.out
140 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
140.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
141 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
141.out mirror: Block the source BlockDriverState in mirror_start_job() 2019-02-01 13:46:44 +01:00
142 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
142.out
143 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
143.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
144 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
144.out
145 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
145.out
146 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
146.out
147 iotests: Allow 147 to be run concurrently 2019-01-31 00:44:55 +01:00
147.out
148
148.out
149 iotests: Use // for Python integer division 2018-10-30 21:11:52 -03:00
149.out
150 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
150.out
151 iotests: Use // for Python integer division 2018-10-30 21:11:52 -03:00
151.out
152
152.out
153 iotests: 153: Wait for an answer to QMP commands 2019-03-19 15:49:29 +01:00
153.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
154 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
154.out
155
155.out
156 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
156.out qmp: Split ShutdownCause host-qmp into quit and system-reset 2018-12-18 07:55:47 +01:00
157 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
157.out
158 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
158.out
159 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
159.out
160 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
160.out
161 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
161.out block: Update BlockDriverState.inherits_from on bdrv_drop_intermediate() 2018-11-22 19:37:31 +01:00
162 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
162.out
163 iotests: Different iterator behavior in Python 3 2018-10-30 21:11:52 -03:00
163.out
165
165.out
169 iotests: 'new' module replacement in 169 2018-10-30 21:13:54 -03:00
169.out iotests: 169: add cases for source vm resuming 2018-10-29 16:23:17 -04:00
170 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
170.out
171 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
171.out
172 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
172.out
173 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
173.out
174 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
174.out
175 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
175.out
176 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
176.out qmp: Split ShutdownCause host-qmp into quit and system-reset 2018-12-18 07:55:47 +01:00
177 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
177.out
178 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
178.out.qcow2 iotests: add LUKS payload overhead to 178 qemu-img measure test 2019-02-25 15:11:28 +01:00
178.out.raw
179 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
179.out
181 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
181.out
182 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
182.out iotests: Test file-posix locking and reopen 2018-11-19 14:32:04 +01:00
183 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
183.out qmp: Split ShutdownCause host-qmp into quit and system-reset 2018-12-18 07:55:47 +01:00
184 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
184.out qmp: Split ShutdownCause host-qmp into quit and system-reset 2018-12-18 07:55:47 +01:00
185 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
185.out qmp: Split ShutdownCause host-qmp into quit and system-reset 2018-12-18 07:55:47 +01:00
186 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
186.out
187 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
187.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
188 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
188.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
189 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
189.out
190 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
190.out
191 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
191.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
192 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
192.out
194
194.out iotests: Unify log outputs between Python 2 and 3 2018-10-30 21:13:54 -03:00
195 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
195.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
196
196.out
197 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
197.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
198 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
198.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
199
199.out
200 iotests: Fix test 200 on s390x without virtio-pci 2019-04-02 12:04:44 +02:00
200.out
201 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
201.out
202
202.out iotests: Unify log outputs between Python 2 and 3 2018-10-30 21:13:54 -03:00
203
203.out iotests: Unify log outputs between Python 2 and 3 2018-10-30 21:13:54 -03:00
204 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
204.out
205 tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
205.out
206 iotests: change qmp_log filters to expect QMP objects only 2019-01-14 10:09:46 -06:00
206.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
207 iotests: Fix 207 to use QMP filters for qmp_log 2019-02-25 15:11:28 +01:00
207.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
208
208.out iotests: Unify log outputs between Python 2 and 3 2018-10-30 21:13:54 -03:00
209
209.out nbd/client: Report offsets in bdrv_block_status 2019-03-30 20:52:29 -05:00
210 iotests: Re-add filename filters 2019-02-25 15:11:27 +01:00
210.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
211 iotests: Skip 211 on insufficient memory 2019-02-25 15:11:28 +01:00
211.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
212 iotests: Re-add filename filters 2019-02-25 15:11:27 +01:00
212.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
213 iotests: Re-add filename filters 2019-02-25 15:11:27 +01:00
213.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
214 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
214.out
215 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
215.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
216
216.out iotests: Unify log outputs between Python 2 and 3 2018-10-30 21:13:54 -03:00
217 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
217.out
218 qemu-iotests: make 218 executable 2018-10-26 17:17:32 +02:00
218.out iotests: Unify log outputs between Python 2 and 3 2018-10-30 21:13:54 -03:00
219
219.out iotests: Unify log outputs between Python 2 and 3 2018-10-30 21:13:54 -03:00
220 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
220.out qcow2: Return 0/-errno in qcow2_alloc_compressed_cluster_offset() 2019-03-08 12:26:45 +01:00
221 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
221.out
222
222.out iotests: Unify log outputs between Python 2 and 3 2018-10-30 21:13:54 -03:00
223 nbd patches for 2019-03-08 2019-03-09 20:55:44 +00:00
223.out nbd/server: Advertise actual minimum block size 2019-04-01 08:52:28 -05:00
224 iotests: Test json:{} filenames of internal BDSs 2019-02-25 15:11:27 +01:00
224.out iotests: Test json:{} filenames of internal BDSs 2019-02-25 15:11:27 +01:00
225 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
225.out
226 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
226.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
227 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
227.out qmp: Split ShutdownCause host-qmp into quit and system-reset 2018-12-18 07:55:47 +01:00
228 block: Purify .bdrv_refresh_filename() 2019-02-25 15:11:27 +01:00
228.out block: Purify .bdrv_refresh_filename() 2019-02-25 15:11:27 +01:00
229 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
229.out iotests: Filter second BLOCK_JOB_ERROR from 229 2019-02-01 13:46:45 +01:00
231 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
231.out block/rbd: add iotest for rbd legacy keyvalue filename parsing 2018-09-24 23:46:05 -04:00
232 qemu-iotests: Fix 232 for non-qcow2 2019-03-19 15:49:29 +01:00
232.out qemu-iotests: Fix 232 for non-qcow2 2019-03-19 15:49:29 +01:00
233 nbd patches for 2019-03-08 2019-03-09 20:55:44 +00:00
233.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
234 iotests: Make 234 stable 2019-02-01 13:46:44 +01:00
234.out iotests: Make 234 stable 2019-02-01 13:46:44 +01:00
235 tests/qemu-iotests/235: Allow fallback to tcg 2019-04-02 12:04:56 +02:00
235.out iotests: simple mirror test with kvm on 1G image 2018-12-03 16:51:53 +01:00
236 iotests: add iotest 236 for testing bitmap merge 2019-01-14 10:09:46 -06:00
236.out block/dirty-bitmap: add recording and busy properties 2019-03-12 12:05:48 -04:00
237 iotests: Fix 237 for Python 2.x 2019-02-25 15:11:27 +01:00
237.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
238 iotests: use iotests.VM in 238 2019-03-08 12:26:45 +01:00
238.out iotests: add 238 for throttling tgm unregister iothread segfault 2019-01-24 10:02:28 +00:00
239 qemu-iotests: add test case for dmg 2019-02-01 13:46:44 +01:00
239.out qemu-iotests: add test case for dmg 2019-02-01 13:46:44 +01:00
240 virtio-scsi: Forbid devices with different iothreads sharing a blockdev 2019-02-01 13:46:45 +01:00
240.out virtio-scsi: Forbid devices with different iothreads sharing a blockdev 2019-02-01 13:46:45 +01:00
241 iotest: Fix 241 to run in generic directory 2019-04-12 18:03:01 +02:00
241.out iotest: Fix 241 to run in generic directory 2019-04-12 18:03:01 +02:00
242 iotests: handle TypeError for Python 3 in test 242 2019-02-26 10:37:06 -06:00
242.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
243 qemu-iotests: Preallocation with external data file 2019-03-08 12:26:46 +01:00
243.out qemu-iotests: Preallocation with external data file 2019-03-08 12:26:46 +01:00
244 qemu-iotests: General tests for qcow2 with external data file 2019-03-08 12:26:46 +01:00
244.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
245 iotests: Let 245 pass on tmpfs 2019-04-12 18:03:01 +02:00
245.out qemu-iotests: Test the x-blockdev-reopen QMP command 2019-03-12 20:30:14 +01:00
246 tests/qemu-iotests: add bitmap resize test 246 2019-03-12 15:00:48 -04:00
246.out tests/qemu-iotests: add bitmap resize test 246 2019-03-12 15:00:48 -04:00
247 qemu-iotests: Fix 232 for non-qcow2 2019-03-19 15:49:29 +01:00
247.out qemu-iotests: Fix 232 for non-qcow2 2019-03-19 15:49:29 +01:00
248 iotests: add 248: test resume mirror after auto pause on ENOSPC 2019-03-26 11:37:51 +01:00
248.out iotests: add 248: test resume mirror after auto pause on ENOSPC 2019-03-26 11:37:51 +01:00
249 iotests: Check that images are in read-only mode after block-commit 2019-04-30 15:29:00 +02:00
249.out iotests: Check that images are in read-only mode after block-commit 2019-04-30 15:29:00 +02:00
check qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
common.config qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
common.filter qemu-iotests: Ensure GNU sed is used 2019-03-08 12:26:45 +01:00
common.nbd qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
common.pattern qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
common.qemu qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
common.rc qemu-iotests: Ensure GNU sed is used 2019-03-08 12:26:45 +01:00
common.tls qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
group iotests: Check that images are in read-only mode after block-commit 2019-04-30 15:29:00 +02:00
iotests.py iotests: ask QEMU for supported formats 2019-03-08 12:26:45 +01:00
Makefile
nbd-fault-injector.py iotests: Modify imports for Python 3 2018-10-30 21:13:54 -03:00
qcow2.py iotests: Use Python byte strings where appropriate 2018-10-30 21:11:52 -03:00
qed.py iotests: Use // for Python integer division 2018-10-30 21:11:52 -03:00
README
socket_scm_helper.c

=== 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.