qemu-e2k/tests/qemu-iotests
Dominik Csapak ecd7a0d5bb qmp: Add reason to SHUTDOWN and RESET events
This makes it possible to determine what the exact reason was for
a RESET or a SHUTDOWN. A management layer might need the specific reason
of those events to determine which cleanups or other actions it needs to do.

This patch also updates the iotests to the new expected output that includes
the reason.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Message-Id: <20181205110131.23049-3-d.csapak@proxmox.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
[Commit message tweaked]
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2018-12-18 07:55:47 +01:00
..
sample_images iotests: Fix CID for VMDK afl image 2018-02-13 12:27:17 +01:00
.gitignore
001 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
001.out
002 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
002.out
003 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
003.out
004 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
004.out
005 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
005.out
007 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
007.out
008 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
008.out
009 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
009.out
010 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
010.out
011 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
011.out
012 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
012.out
013 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
013.out
014 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
014.out
015 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
015.out
017 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
017.out
018 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
018.out
019 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
019.out qemu-io: Switch 'alloc' command to byte-based length 2017-05-11 14:28:05 +02:00
020 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
020.out iotests: Fix 020 for vmdk 2018-01-23 12:34:43 +01:00
021 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
021.out
022 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
022.out
023 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
023.out
024 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
024.out iotests: Add test for rebasing with relative paths 2018-06-11 16:18:45 +02:00
025 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
025.out
026 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
026.out qemu-iotests: Test qcow2 not leaking clusters on write error 2018-06-29 14:20:56 +02:00
026.out.nocache qemu-iotests: Test qcow2 not leaking clusters on write error 2018-06-29 14:20:56 +02:00
027 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
027.out
028 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
028.out qemu-iotests: Filter HMP readline escape characters 2017-04-27 15:39:49 +02:00
029 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
029.out
030 iotests: Use // for Python integer division 2018-10-30 21:11:52 -03:00
030.out iotests: Tweak 030 in order to trigger a race condition with parallel jobs 2018-03-09 15:40:07 +01:00
031 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
031.out
032 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
032.out
033 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
033.out iotest 033: add misaligned write-zeroes test via truncate 2018-03-02 18:39:07 +01:00
034 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
034.out
035 iotests: Drop use of bash keyword 'function' 2018-11-19 11:16:46 -06:00
035.out
036 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
036.out
037 iotests: Drop use of bash keyword 'function' 2018-11-19 11:16:46 -06:00
037.out
038 iotests: Drop use of bash keyword 'function' 2018-11-19 11:16:46 -06:00
038.out
039 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
039.out qemu-iotests: limit non-_PROG-suffixed variables to common.rc 2017-10-06 16:28:58 +02:00
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: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
042.out
043 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
043.out
044 iotests: Different iterator behavior in Python 3 2018-10-30 21:11:52 -03:00
044.out block/qcow2: Add qcow2_refcount_area() 2017-07-11 17:45:02 +02:00
045 iotests: Explicitly bequeath FDs in Python 2018-10-30 21:11:52 -03:00
045.out
046 iotests: Drop use of bash keyword 'function' 2018-11-19 11:16:46 -06:00
046.out
047 iotests: Drop use of bash keyword 'function' 2018-11-19 11:16:46 -06:00
047.out
048 iotests: skip 048 with qcow which doesn't support resize 2017-07-11 17:44:55 +02:00
048.out
049 iotests: Drop use of bash keyword 'function' 2018-11-19 11:16:46 -06:00
049.out block: Clean up bdrv_img_create()'s error reporting 2018-10-19 14:51:34 +02:00
050 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
050.out
051 iotests: Drop use of bash keyword 'function' 2018-11-19 11:16:46 -06:00
051.out qemu-iotests: Test snapshot=on with nonexistent TMPDIR 2018-09-25 15:50:15 +02:00
051.pc.out qemu-iotests: Test snapshot=on with nonexistent TMPDIR 2018-09-25 15:50:15 +02:00
052 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
052.out
053 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
053.out
054 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
054.out
055 iotests: add pause_wait 2018-03-19 12:01:24 +01:00
055.out
056 iotests: Different iterator behavior in Python 3 2018-10-30 21:11:52 -03:00
056.out iotests: test manual job dismissal 2018-03-19 12:01:24 +01:00
057
057.out
058 tests: pull qemu-nbd iotest helpers into common.nbd file 2018-11-19 11:16:46 -06:00
058.out
059 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
059.out iotests: Fix CID for VMDK afl image 2018-02-13 12:27:17 +01:00
060 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
060.out qmp: Add reason to SHUTDOWN and RESET events 2018-12-18 07:55:47 +01:00
061 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
061.out block: Add Error parameter to bdrv_amend_options 2018-06-11 16:18:45 +02:00
062 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
062.out
063 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
063.out qcow2: Fix src_offset in copy offloading 2018-06-29 14:20:56 +02:00
064 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
064.out
065 iotests: Different iterator behavior in Python 3 2018-10-30 21:11:52 -03:00
065.out
066 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
066.out iotests: Extend test 066 2017-05-11 12:08:24 +02:00
067 iotests: Drop use of bash keyword 'function' 2018-11-19 11:16:46 -06:00
067.out block-backend: Set werror/rerror defaults in blk_new() 2018-10-01 19:13:46 +02:00
068 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
068.out snapshot/tests: Try loadvm twice 2017-09-06 15:19:01 +01:00
069 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
069.out
070 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
070.out
071 iotests: Drop use of bash keyword 'function' 2018-11-19 11:16:46 -06:00
071.out qmp: Add reason to SHUTDOWN and RESET events 2018-12-18 07:55:47 +01:00
072 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
072.out
073 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
073.out
074 qemu-iotests: Remove blkdebug.conf after tests 2017-08-01 18:09:33 +02:00
074.out qemu-img: Drop redundant error message in compare 2017-10-26 14:45:57 +02:00
075 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
075.out
076 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
076.out
077 iotests: Drop use of bash keyword 'function' 2018-11-19 11:16:46 -06:00
077.out iotests: 077: Filter out 'resume' lines 2017-11-14 18:06:25 +01:00
078 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
078.out
079 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
079.out
080 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
080.out block: Add Error parameter to bdrv_amend_options 2018-06-11 16:18:45 +02:00
081 iotests: Drop use of bash keyword 'function' 2018-11-19 11:16:46 -06:00
081.out qmp: Add reason to SHUTDOWN and RESET events 2018-12-18 07:55:47 +01:00
082 iotests: Drop use of bash keyword 'function' 2018-11-19 11:16:46 -06:00
082.out option: Make option help nicer to read 2018-11-05 15:17:48 +01:00
083 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
083.out iotests: Make nbd-fault-injector flush 2018-10-30 21:11:52 -03:00
084 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
084.out
085 iotests: Drop use of bash keyword 'function' 2018-11-19 11:16:46 -06:00
085.out block: deprecate "encryption=on" in favor of "encrypt.format=aes" 2017-07-11 17:44:55 +02:00
086 iotests: Drop use of bash keyword 'function' 2018-11-19 11:16:46 -06:00
086.out
087 iotests: Drop use of bash keyword 'function' 2018-11-19 11:16:46 -06:00
087.out qmp: Add reason to SHUTDOWN and RESET events 2018-12-18 07:55:47 +01:00
088 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
088.out
089 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
089.out block: Handle null backing link 2018-03-19 14:58:36 -05:00
090 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
090.out
091 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
091.out
092 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06: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: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
094.out qmp: Add reason to SHUTDOWN and RESET events 2018-12-18 07:55:47 +01:00
095 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
095.out job: Add JOB_STATUS_CHANGE QMP event 2018-05-23 14:30:51 +02:00
096 python: futurize -f lib2to3.fixes.fix_has_key 2018-06-08 14:39:24 -03:00
096.out
097 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
097.out iotests: Improve image-clear tests on non-aligned image 2017-04-03 17:11:40 +02:00
098 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
098.out
099 iotests: Drop use of bash keyword 'function' 2018-11-19 11:16:46 -06:00
099.out
101 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
101.out
102 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
102.out qemu-iotests: Fix locking issue in 102 2018-01-23 12:34:42 +01:00
103 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
103.out qcow2: A grammar fix in conflicting cache sizing error message 2018-07-30 15:35:37 +02:00
104 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
104.out
105 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
105.out
106 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
106.out iotests: Test preallocated truncate of 2G image 2018-04-03 17:39:37 +02:00
107 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
107.out
108 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
108.out
109 iotests: Drop use of bash keyword 'function' 2018-11-19 11:16:46 -06:00
109.out qmp: Add reason to SHUTDOWN and RESET events 2018-12-18 07:55:47 +01:00
110 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
110.out
111 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
111.out qemu-img: Check for backing image if specified during create 2017-07-18 15:27:37 +02:00
112 iotests: Drop use of bash keyword 'function' 2018-11-19 11:16:46 -06:00
112.out block: Add Error parameter to bdrv_amend_options 2018-06-11 16:18:45 +02:00
113 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
113.out iotests: Rework 113 2018-06-11 16:18:45 +02:00
114 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
114.out qemu-io: Don't die on second open 2017-07-10 13:18:05 +02:00
115 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
115.out
116 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
116.out
117 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
117.out qmp: Add reason to SHUTDOWN and RESET events 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: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
119.out qmp: Add reason to SHUTDOWN and RESET events 2018-12-18 07:55:47 +01:00
120 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
120.out qmp: Add reason to SHUTDOWN and RESET events 2018-12-18 07:55:47 +01:00
121 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
121.out qcow2: Reset free_cluster_index when allocating a new refcount block 2018-03-26 12:16:00 +02:00
122 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
122.out qemu-img: align result of is_allocated_sectors 2018-07-12 18:24:08 +02:00
123 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
123.out
124 iotests: Different iterator behavior in Python 3 2018-10-30 21:11:52 -03:00
124.out
125 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
125.out iotests: Add cluster_size=64k to 125 2017-10-26 15:01:14 +02:00
126 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
126.out qemu-iotests: Filter NFS paths 2018-05-23 13:29:03 +02:00
127 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
127.out qmp: Add reason to SHUTDOWN and RESET events 2018-12-18 07:55:47 +01:00
128 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
128.out
129 iotests: Mark all tests executable 2018-03-09 15:40:07 +01:00
129.out
130 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
130.out qemu-iotests: Filter HMP readline escape characters 2017-04-27 15:39:49 +02:00
131 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
131.out
132 iotests: Mark all tests executable 2018-03-09 15:40:07 +01:00
132.out
133 block: Remove assertions from update_flags_from_options() 2018-12-14 11:55:02 +01:00
133.out block: Remove assertions from update_flags_from_options() 2018-12-14 11:55:02 +01:00
134 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
134.out qcow2: convert QCow2 to use QCryptoBlock for encryption 2017-07-11 17:44:56 +02:00
135 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
135.out
136 iotests: Use // for Python integer division 2018-10-30 21:11:52 -03:00
136.out
137 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
137.out qcow2: Assign the L2 cache relatively to the image size 2018-10-01 12:51:12 +02:00
138 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
138.out
139 iotests: Different iterator behavior in Python 3 2018-10-30 21:11:52 -03:00
139.out
140 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
140.out qmp: Add reason to SHUTDOWN and RESET events 2018-12-18 07:55:47 +01:00
141 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
141.out job: Add JOB_STATUS_CHANGE QMP event 2018-05-23 14:30:51 +02:00
142 iotests: Drop use of bash keyword 'function' 2018-11-19 11:16:46 -06:00
142.out qemu-iotests: Filter HMP readline escape characters 2017-04-27 15:39:49 +02:00
143 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
143.out qmp: Add reason to SHUTDOWN and RESET events 2018-12-18 07:55:47 +01:00
144 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
144.out job: Add JOB_STATUS_CHANGE QMP event 2018-05-23 14:30:51 +02:00
145 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
145.out qemu-iotests: Filter HMP readline escape characters 2017-04-27 15:39:49 +02:00
146 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
146.out block: fix iotest 146 output expectations 2018-03-19 12:01:39 +01:00
147 iotests: Explicitly bequeath FDs in Python 2018-10-30 21:11:52 -03:00
147.out iotest 147: add cases to test new @name parameter of nbd-server-add 2018-01-26 09:37:21 -06:00
148 iotests: Mark all tests executable 2018-03-09 15:40:07 +01:00
148.out
149 iotests: Use // for Python integer division 2018-10-30 21:11:52 -03:00
149.out qemu-iotests: Use host_device instead of file in 149 2018-07-23 16:50:43 +02:00
150 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
150.out
151 iotests: Use // for Python integer division 2018-10-30 21:11:52 -03:00
151.out iotests: Add test for active mirroring 2018-06-18 17:05:17 +02:00
152 iotests: Mark all tests executable 2018-03-09 15:40:07 +01:00
152.out
153 iotests: Drop use of bash keyword 'function' 2018-11-19 11:16:46 -06:00
153.out file-posix: Include filename in locking error message 2018-10-01 12:51:11 +02:00
154 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
154.out block: Exploit BDRV_BLOCK_EOF for larger zero blocks 2017-06-30 21:48:06 +08:00
155 iotests: Move qmp_to_opts() to VM 2018-05-23 14:30:51 +02:00
155.out
156 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
156.out qmp: Add reason to SHUTDOWN and RESET events 2018-12-18 07:55:47 +01:00
157 iotests: Drop use of bash keyword 'function' 2018-11-19 11:16:46 -06:00
157.out iotests: fix remainining tests to work with LUKS 2017-07-11 17:44:59 +02:00
158 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
158.out qcow2: convert QCow2 to use QCryptoBlock for encryption 2017-07-11 17:44:56 +02:00
159 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
159.out
160 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
160.out
161 block: Update BlockDriverState.inherits_from on bdrv_drop_intermediate() 2018-11-22 19:37:31 +01:00
161.out block: Update BlockDriverState.inherits_from on bdrv_drop_intermediate() 2018-11-22 19:37:31 +01:00
162 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
162.out
163 iotests: Different iterator behavior in Python 3 2018-10-30 21:11:52 -03:00
163.out qemu-iotests: add shrinking image test 2017-09-26 15:00:32 +02:00
165 python: futurize -f libfuturize.fixes.fix_print_with_import 2018-06-08 14:39:24 -03:00
165.out iotests: test qcow2 persistent dirty bitmap 2017-07-11 17:44:59 +02:00
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: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
170.out
171 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
171.out
172 iotests: Drop use of bash keyword 'function' 2018-11-19 11:16:46 -06:00
172.out hw/block/fdc: Convert to realize 2017-09-18 19:43:38 -04:00
173 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
173.out
174 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
174.out
175 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
175.out qemu-img: Add tests for raw image preallocation 2017-02-24 16:09:22 +01:00
176 iotests: Drop use of bash keyword 'function' 2018-11-19 11:16:46 -06:00
176.out qmp: Add reason to SHUTDOWN and RESET events 2018-12-18 07:55:47 +01:00
177 iotests: Drop use of bash keyword 'function' 2018-11-19 11:16:46 -06:00
177.out iotests: Split 177 into two parts for compat=0.10 2018-01-23 12:34:43 +01:00
178 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
178.out.qcow2 iotests: add test 178 for qemu-img measure 2017-07-11 17:45:01 +02:00
178.out.raw iotests: add test 178 for qemu-img measure 2017-07-11 17:45:01 +02:00
179 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
179.out iotests: Add test 179 to cover write zeroes with unmap 2017-05-11 14:28:07 +02:00
181 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
181.out iotests: fix 181: enable postcopy-ram capability on target 2017-09-26 14:46:23 +02:00
182 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
182.out iotests: Test file-posix locking and reopen 2018-11-19 14:32:04 +01:00
183 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
183.out qmp: Add reason to SHUTDOWN and RESET events 2018-12-18 07:55:47 +01:00
184 iotests: Drop use of bash keyword 'function' 2018-11-19 11:16:46 -06:00
184.out qmp: Add reason to SHUTDOWN and RESET events 2018-12-18 07:55:47 +01:00
185 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
185.out qmp: Add reason to SHUTDOWN and RESET events 2018-12-18 07:55:47 +01:00
186 iotests: Drop use of bash keyword 'function' 2018-11-19 11:16:46 -06:00
186.out iotests: Update 186 after commit ac64273c66 2018-04-03 16:58:48 +02:00
187 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
187.out qemu-io: Drop write permissions before read-only reopen 2017-09-26 14:46:23 +02:00
188 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
188.out qcow2: add iotests to cover LUKS encryption support 2017-07-11 17:44:56 +02:00
189 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
189.out qcow2: add iotests to cover LUKS encryption support 2017-07-11 17:44:56 +02:00
190 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
190.out iotests: Add test of recent fix to 'qemu-img measure' 2017-08-01 18:09:33 +02:00
191 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
191.out qmp: Add reason to SHUTDOWN and RESET events 2018-12-18 07:55:47 +01:00
192 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
192.out iotests: Add non-shared storage migration case 192 2017-08-15 10:03:28 -05:00
194 qemu-iotests: Remove _supported_fmt dmg 2018-04-10 16:33:43 +02:00
194.out iotests: Unify log outputs between Python 2 and 3 2018-10-30 21:13:54 -03:00
195 iotests: Drop use of bash keyword 'function' 2018-11-19 11:16:46 -06:00
195.out qmp: Add reason to SHUTDOWN and RESET events 2018-12-18 07:55:47 +01:00
196 iotests: test clearing unknown autoclear_features by qcow2 2017-11-17 18:06:21 +01:00
196.out iotests: test clearing unknown autoclear_features by qcow2 2017-11-17 18:06:21 +01:00
197 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
197.out block: Fix copy-on-read crash with partial final cluster 2018-07-10 10:36:15 +02:00
198 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
198.out iotests: Filter compat-dependent info in 198 2018-01-23 12:34:43 +01:00
199 iotests: add dirty bitmap postcopy test 2018-03-13 17:06:32 -04:00
199.out iotests: add dirty bitmap postcopy test 2018-03-13 17:06:32 -04:00
200 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
200.out qemu-iotest: add test for blockjob coroutine race condition 2017-11-21 11:58:12 -05:00
201 iotests: Skip 181 and 201 without userfaultfd 2018-05-15 16:15:21 +02:00
201.out tests/qemu-iotests: adding savevm/loadvm with postcopy flag test 2018-01-23 12:33:07 +01:00
202 qemu-iotests: add 202 external snapshots IOThread test 2017-12-19 10:25:09 +00:00
202.out iotests: Unify log outputs between Python 2 and 3 2018-10-30 21:13:54 -03:00
203 qemu-iotests: fix 203 migration completion race 2018-03-09 15:40:07 +01:00
203.out iotests: Unify log outputs between Python 2 and 3 2018-10-30 21:13:54 -03:00
204 iotests: Drop use of bash keyword 'function' 2018-11-19 11:16:46 -06:00
204.out iotests: Split 177 into two parts for compat=0.10 2018-01-23 12:34:43 +01:00
205 iotests: blacklist bochs and cloop for 205 and 208 2018-04-10 16:33:08 +02:00
205.out iotest 205: new test for qmp nbd-server-remove 2018-01-26 09:37:21 -06:00
206 block/create: Mark blockdev-create stable 2018-05-30 13:31:18 +02:00
206.out iotests: Unify log outputs between Python 2 and 3 2018-10-30 21:13:54 -03:00
207 iotests: Unify log outputs between Python 2 and 3 2018-10-30 21:13:54 -03:00
207.out iotests: Unify log outputs between Python 2 and 3 2018-10-30 21:13:54 -03:00
208 iotests: blacklist bochs and cloop for 205 and 208 2018-04-10 16:33:08 +02:00
208.out iotests: Unify log outputs between Python 2 and 3 2018-10-30 21:13:54 -03:00
209 iotests: new test 209 for NBD BLOCK_STATUS 2018-03-13 15:44:09 -05:00
209.out iotests: new test 209 for NBD BLOCK_STATUS 2018-03-13 15:44:09 -05:00
210 block/create: Mark blockdev-create stable 2018-05-30 13:31:18 +02:00
210.out iotests: Unify log outputs between Python 2 and 3 2018-10-30 21:13:54 -03:00
211 block/create: Mark blockdev-create stable 2018-05-30 13:31:18 +02:00
211.out iotests: Unify log outputs between Python 2 and 3 2018-10-30 21:13:54 -03:00
212 block/create: Mark blockdev-create stable 2018-05-30 13:31:18 +02:00
212.out iotests: Unify log outputs between Python 2 and 3 2018-10-30 21:13:54 -03:00
213 block/create: Mark blockdev-create stable 2018-05-30 13:31:18 +02:00
213.out iotests: Unify log outputs between Python 2 and 3 2018-10-30 21:13:54 -03:00
214 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
214.out iotests: Split 214 off of 122 2018-05-15 16:15:21 +02:00
215 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
215.out iotests: Copy 197 for COR filter driver 2018-05-15 16:15:21 +02:00
216 iotests: Let 216 make use of qemu-io's exit code 2018-06-11 16:18:45 +02:00
216.out iotests: Unify log outputs between Python 2 and 3 2018-10-30 21:13:54 -03:00
217 iotests: Repairing error during snapshot deletion 2018-06-11 16:18:45 +02:00
217.out iotests: Repairing error during snapshot deletion 2018-06-11 16:18:45 +02:00
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 iotests: Fix 219's timing 2018-06-11 16:18:45 +02:00
219.out iotests: Unify log outputs between Python 2 and 3 2018-10-30 21:13:54 -03:00
220 iotests: Add new test 220 for max compressed cluster offset 2018-11-19 12:51:40 +01:00
220.out iotests: Add new test 220 for max compressed cluster offset 2018-11-19 12:51:40 +01:00
221 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
221.out iotests: Add test 221 to catch qemu-img map regression 2018-06-15 14:49:44 +02:00
222 iotests: 222: Don't run with luks 2018-07-10 11:55:11 +02:00
222.out iotests: Unify log outputs between Python 2 and 3 2018-10-30 21:13:54 -03:00
223 iotests: Enhance 223 to cover multiple bitmap granularities 2018-11-22 19:37:31 +01:00
223.out qmp: Add reason to SHUTDOWN and RESET events 2018-12-18 07:55:47 +01:00
225 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
225.out iotests: Add VMDK backing file correlation test 2018-07-09 19:43:24 +02:00
226 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
226.out iotests: add test 226 for file driver types 2018-07-12 18:24:08 +02:00
227 iotests: Drop use of bash keyword 'function' 2018-11-19 11:16:46 -06:00
227.out qmp: Add reason to SHUTDOWN and RESET events 2018-12-18 07:55:47 +01:00
229 json: Fix to reject duplicate object member names 2018-12-13 19:20:11 +01:00
229.out block: iotest to catch abort on forced blockjob cancel 2018-08-21 15:20:37 -04:00
231 qemu-iotests: remove unused variable 'here' 2018-11-19 10:08:19 -06:00
231.out block/rbd: add iotest for rbd legacy keyvalue filename parsing 2018-09-24 23:46:05 -04:00
232 iotests: Drop use of bash keyword 'function' 2018-11-19 11:16:46 -06:00
232.out qemu-iotests: Test auto-read-only with -drive and -blockdev 2018-11-05 15:09:55 +01:00
233 iotests: fix nbd test 233 to work correctly with raw images 2018-11-22 16:43:52 +01:00
233.out iotests: Also test I/O over NBD TLS 2018-11-19 11:16:46 -06:00
234 iotests: Test migration with -blockdev 2018-11-27 12:59:00 +01:00
234.out iotests: Test migration with -blockdev 2018-11-27 12:59:00 +01:00
235 iotests: make 235 work on s390 (and others) 2018-12-14 11:55:02 +01:00
235.out iotests: simple mirror test with kvm on 1G image 2018-12-03 16:51:53 +01:00
COPYING
Makefile
README
check qemu-iotests: Modern shell scripting (use $() instead of ``) 2018-11-19 10:08:19 -06:00
common.config qemu-iotests: Modern shell scripting (use $() instead of ``) 2018-11-19 10:08:19 -06:00
common.filter main-loop: drop spin_counter 2018-06-01 16:01:29 +01:00
common.nbd iotests: Drop use of bash keyword 'function' 2018-11-19 11:16:46 -06:00
common.pattern iotests: Drop use of bash keyword 'function' 2018-11-19 11:16:46 -06:00
common.qemu iotests: Drop use of bash keyword 'function' 2018-11-19 11:16:46 -06:00
common.rc qemu-iotests: convert `pwd` and $(pwd) to $PWD 2018-11-19 10:08:19 -06:00
common.tls iotests: Skip 233 if certtool not installed 2018-11-21 15:17:37 +01:00
group iotests: simple mirror test with kvm on 1G image 2018-12-03 16:51:53 +01:00
iotests.py iotests: Replace assertEquals() with assertEqual() 2018-11-21 10:30:05 +01:00
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
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.