qemu-e2k/tests/qemu-iotests
Eric Blake 7fa140abf6 qcow2: Allow resize of images with internal snapshots
We originally refused to allow resize of images with internal
snapshots because the v2 image format did not require the tracking of
snapshot size, making it impossible to safely revert to a snapshot
with a different size than the current view of the image.  But the
snapshot size tracking was rectified in v3, and our recent fixes to
qemu-img amend (see 0a85af35) guarantee that we always have a valid
snapshot size.  Thus, we no longer need to artificially limit image
resizes, but it does become one more thing that would prevent a
downgrade back to v2.  And now that we support different-sized
snapshots, it's also easy to fix reverting to a snapshot to apply the
new size.

Upgrade iotest 61 to cover this (we previously had NO coverage of
refusal to resize while snapshots exist).  Note that the amend process
can fail but still have effects: in particular, since we break things
into upgrade, resize, downgrade, a failure during resize does not roll
back changes made during upgrade, nor does failure in downgrade roll
back a resize.  But this situation is pre-existing even without this
patch; and without journaling, the best we could do is minimize the
chance of partial failure by collecting all changes prior to doing any
writes - which adds a lot of complexity but could still fail with EIO.
On the other hand, we are careful that even if we have partial
modification but then fail, the image is left viable (that is, we are
careful to sequence things so that after each successful cluster
write, there may be transient leaked clusters but no corrupt
metadata).  And complicating the code to make it more transaction-like
is not worth the effort: a user can always request multiple 'qemu-img
amend' changing one thing each, if they need finer-grained control
over detecting the first failure than what they get by letting qemu
decide how to sequence multiple changes.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-Id: <20200428192648.749066-3-eblake@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
2020-05-05 13:17:36 +02:00
..
sample_images
.gitignore
001
001.out
002 iotests: Disable broken streamOptimized tests 2019-09-03 14:55:35 +02:00
002.out
003 iotests: Disable broken streamOptimized tests 2019-09-03 14:55:35 +02:00
003.out
004
004.out
005 iotests: Provide a function for checking the creation of huge files 2019-12-18 11:20:57 +01:00
005.out
007 iotests: Disable data_file where it cannot be used 2020-01-06 13:43:07 +01:00
007.out
008
008.out
009 iotests: Disable broken streamOptimized tests 2019-09-03 14:55:35 +02:00
009.out
010 iotests: Disable broken streamOptimized tests 2019-09-03 14:55:35 +02:00
010.out
011 iotests: Disable broken streamOptimized tests 2019-09-03 14:55:35 +02:00
011.out
012
012.out
013
013.out
014 iotests: Disable data_file where it cannot be used 2020-01-06 13:43:07 +01:00
014.out
015 iotests: Disable data_file where it cannot be used 2020-01-06 13:43:07 +01:00
015.out
017 iotests: Disable broken streamOptimized tests 2019-09-03 14:55:35 +02:00
017.out
018 iotests: Disable broken streamOptimized tests 2019-09-03 14:55:35 +02:00
018.out
019 iotests: Use _rm_test_img for deleting test images 2020-01-06 13:43:07 +01:00
019.out
020 iotests: Use _rm_test_img for deleting test images 2020-01-06 13:43:07 +01:00
020.out
021
021.out
022
022.out
023
023.out
024 iotests: Use _rm_test_img for deleting test images 2020-01-06 13:43:07 +01:00
024.out
025
025.out
026 iotests/026: Move v3-exclusive test to new file 2020-03-24 12:05:31 +01:00
026.out iotests/026: Move v3-exclusive test to new file 2020-03-24 12:05:31 +01:00
026.out.nocache iotests/026: Move v3-exclusive test to new file 2020-03-24 12:05:31 +01:00
027 iotests: Disable broken streamOptimized tests 2019-09-03 14:55:35 +02:00
027.out
028 tests/qemu-iotests: use AIOMODE with various tests 2020-01-30 21:01:40 +00:00
028.out iotests/028: Fix for long $TEST_DIRs 2019-10-14 17:12:48 +02:00
029 iotests: Disable data_file where it cannot be used 2020-01-06 13:43:07 +01:00
029.out
030 iotests: use python logging for iotests.log() 2020-05-05 13:17:36 +02:00
030.out iotests: Add read-only test case to 030 2019-07-15 15:48:40 +02:00
031 iotests: Disable data_file where it cannot be used 2020-01-06 13:43:07 +01:00
031.out qcow2: List autoclear bit names in header 2020-03-26 14:44:33 +01:00
032 iotests: Disable broken streamOptimized tests 2019-09-03 14:55:35 +02:00
032.out
033 iotests: Disable broken streamOptimized tests 2019-09-03 14:55:35 +02:00
033.out
034 iotests: Disable broken streamOptimized tests 2019-09-03 14:55:35 +02:00
034.out
035 tests/qemu-iotests: Don't use 'seq' in the iotests 2019-07-23 15:53:25 +01:00
035.out
036 qcow2: Avoid feature name extension on small cluster size 2020-03-26 14:44:33 +01:00
036.out qcow2: List autoclear bit names in header 2020-03-26 14:44:33 +01:00
037 iotests: Disable broken streamOptimized tests 2019-09-03 14:55:35 +02:00
037.out
038
038.out
039 iotests: Disable data_file where it cannot be used 2020-01-06 13:43:07 +01:00
039.out iotests/qcow2.py: Split feature fields into bits 2020-01-06 13:43:06 +01:00
040 iotests: Test error handling policies with block-commit 2020-02-18 10:53:56 +01:00
040.out iotests: Test error handling policies with block-commit 2020-02-18 10:53:56 +01:00
041 iotests: Check that @replaces can replace filters 2020-02-18 14:52:16 +01:00
041.out iotests: Check that @replaces can replace filters 2020-02-18 14:52:16 +01:00
042
042.out
043 iotests: Use _rm_test_img for deleting test images 2020-01-06 13:43:07 +01:00
043.out
044 tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
044.out
045 tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
045.out
046 qcow2: Forbid discard in qcow2 v2 images with backing files 2020-04-07 13:51:09 +02:00
046.out qcow2: Forbid discard in qcow2 v2 images with backing files 2020-04-07 13:51:09 +02:00
047
047.out
048 iotests: Disable data_file where it cannot be used 2020-01-06 13:43:07 +01:00
048.out
049 block: Error out on image creation with conflicting size options 2019-12-18 11:20:57 +01:00
049.out block: Error out on image creation with conflicting size options 2019-12-18 11:20:57 +01:00
050 iotests: Use _rm_test_img for deleting test images 2020-01-06 13:43:07 +01:00
050.out
051 iotests: Disable data_file where it cannot be used 2020-01-06 13:43:07 +01:00
051.out Fixes: add read-zeroes to 051.out 2019-07-30 12:25:43 +02:00
051.pc.out scsi: deprecate scsi-disk 2019-11-19 10:01:34 +01:00
052 iotests: Unify cache mode quoting 2019-09-03 14:56:06 +02:00
052.out
053 iotests: Use _rm_test_img for deleting test images 2020-01-06 13:43:07 +01:00
053.out
054
054.out
055 iotests: don't use 'format' for drive_add 2020-05-05 13:17:34 +02:00
055.out
056 tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
056.out iotests: Test backup job with two guest writes 2019-08-06 13:17:17 +02:00
057 tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
057.out
058 tests/qemu-iotests: use AIOMODE with various tests 2020-01-30 21:01:40 +00:00
058.out
059 iotests: Use _rm_test_img for deleting test images 2020-01-06 13:43:07 +01:00
059.out iotests: Keep testing broken relative extent paths 2019-09-03 14:55:35 +02:00
060 qcow2: Forbid discard in qcow2 v2 images with backing files 2020-04-07 13:51:09 +02:00
060.out qcow2: Forbid discard in qcow2 v2 images with backing files 2020-04-07 13:51:09 +02:00
061 qcow2: Allow resize of images with internal snapshots 2020-05-05 13:17:36 +02:00
061.out qcow2: Allow resize of images with internal snapshots 2020-05-05 13:17:36 +02:00
062 iotests: Disable data_file where it cannot be used 2020-01-06 13:43:07 +01:00
062.out
063 iotests: Avoid cp/mv of test images 2020-01-06 13:43:07 +01:00
063.out iotests: Avoid cp/mv of test images 2020-01-06 13:43:07 +01:00
064
064.out
065 tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
065.out
066 iotests: Disable data_file where it cannot be used 2020-01-06 13:43:07 +01:00
066.out
067 iotests: Disable data_file where it cannot be used 2020-01-06 13:43:07 +01:00
067.out
068 iotests: Disable data_file where it cannot be used 2020-01-06 13:43:07 +01:00
068.out
069 iotests: Use _rm_test_img for deleting test images 2020-01-06 13:43:07 +01:00
069.out
070
070.out
071 iotests: Disable data_file where it cannot be used 2020-01-06 13:43:07 +01:00
071.out
072 iotests: Disable broken streamOptimized tests 2019-09-03 14:55:35 +02:00
072.out
073 iotests: Disable data_file where it cannot be used 2020-01-06 13:43:07 +01:00
073.out
074 iotests: Disable data_file where it cannot be used 2020-01-06 13:43:07 +01:00
074.out
075
075.out
076
076.out
077
077.out
078
078.out
079 iotests: Replace IMGOPTS= by -o 2020-01-06 13:43:07 +01:00
079.out
080 iotests: Disable data_file where it cannot be used 2020-01-06 13:43:07 +01:00
080.out
081 iotests: Use _rm_test_img for deleting test images 2020-01-06 13:43:07 +01:00
081.out
082 iotests: Test qemu-img convert -C --salvage 2019-06-14 15:09:42 +02:00
082.out iotests: Update 082 expected output 2019-07-12 15:42:23 +02:00
083 iotests/083: Create socket in $SOCK_DIR 2019-10-28 11:22:31 +01:00
083.out iotests/083: Create socket in $SOCK_DIR 2019-10-28 11:22:31 +01:00
084
084.out
085 iotests: Fix cleanup path in some tests 2020-03-24 11:57:38 +01:00
085.out block: Relax restrictions for blockdev-snapshot 2020-03-11 15:54:38 +01:00
086
086.out
087 iotests: Fix cleanup path in some tests 2020-03-24 11:57:38 +01:00
087.out
088 iotests: Use _rm_test_img for deleting test images 2020-01-06 13:43:07 +01:00
088.out
089 tests/qemu-iotests: use AIOMODE with various tests 2020-01-30 21:01:40 +00:00
089.out
090 iotests: Disable data_file where it cannot be used 2020-01-06 13:43:07 +01:00
090.out
091 tests/qemu-iotests: use AIOMODE with various tests 2020-01-30 21:01:40 +00:00
091.out iotests: Make 091 work with data_file 2020-01-06 13:43:07 +01:00
092 iotests: Use _rm_test_img for deleting test images 2020-01-06 13:43:07 +01:00
092.out
093 tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
093.out
094 iotests: Use _rm_test_img for deleting test images 2020-01-06 13:43:07 +01:00
094.out iotests: Include QMP input in .out files 2019-11-18 20:33:48 -06:00
095 iotests: Use _rm_test_img for deleting test images 2020-01-06 13:43:07 +01:00
095.out iotests: Include QMP input in .out files 2019-11-18 20:33:48 -06:00
096 tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
096.out
097
097.out
098 iotests: Disable data_file where it cannot be used 2020-01-06 13:43:07 +01:00
098.out
099 iotests: Disable data_file where it cannot be used 2020-01-06 13:43:07 +01:00
099.out
101
101.out
102
102.out
103 iotests: Disable data_file where it cannot be used 2020-01-06 13:43:07 +01:00
103.out
104
104.out
105 iotests: Disable broken streamOptimized tests 2019-09-03 14:55:35 +02:00
105.out
106 iotests: Replace IMGOPTS= by -o 2020-01-06 13:43:07 +01:00
106.out
107
107.out
108 iotests: Disable data_file where it cannot be used 2020-01-06 13:43:07 +01:00
108.out
109 tests/qemu-iotests: use AIOMODE with various tests 2020-01-30 21:01:40 +00:00
109.out iotests: Include QMP input in .out files 2019-11-18 20:33:48 -06:00
110 iotests: Make 110 work with data_file 2020-01-06 13:43:07 +01:00
110.out iotests: Make 110 work with data_file 2020-01-06 13:43:07 +01:00
111 iotests: Avoid qemu-img create 2020-01-06 13:43:07 +01:00
111.out
112 iotests: Disable data_file where it cannot be used 2020-01-06 13:43:07 +01:00
112.out
113
113.out
114 iotests: Disable data_file where it cannot be used 2020-01-06 13:43:07 +01:00
114.out
115 iotests: Replace IMGOPTS= by -o 2020-01-06 13:43:07 +01:00
115.out
116
116.out
117
117.out iotests: Include QMP input in .out files 2019-11-18 20:33:48 -06:00
118 tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
118.out iotests/118: Add -blockdev based tests 2019-08-16 10:25:16 +02:00
119
119.out
120 iotests: Check for enabled drivers before testing them 2019-09-03 14:56:06 +02:00
120.out
121 iotests: Disable data_file where it cannot be used 2020-01-06 13:43:07 +01:00
121.out
122 iotests: Test convert -n -B to backing-less target 2020-02-20 16:43:42 +01:00
122.out iotests: Test convert -n -B to backing-less target 2020-02-20 16:43:42 +01:00
123 iotests: Use _rm_test_img for deleting test images 2020-01-06 13:43:07 +01:00
123.out
124 tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
124.out iotests: Test incremental backup after truncation 2019-08-06 13:17:24 +02:00
125 iotests: Replace IMGOPTS= by -o 2020-01-06 13:43:07 +01:00
125.out
126 iotests: Disable 126 for flat vmdk subformats 2019-09-03 14:55:35 +02:00
126.out
127 iotests: Check for the availability of the required devices in 267 and 127 2020-02-06 13:47:45 +01:00
127.out iotests: Include QMP input in .out files 2019-11-18 20:33:48 -06:00
128
128.out
129 tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
129.out
130
130.out
131
131.out
132 tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
132.out
133
133.out
134 iotest 134: test cluster-misaligned encrypted write 2019-06-24 15:53:01 +02:00
134.out iotest 134: test cluster-misaligned encrypted write 2019-06-24 15:53:01 +02:00
135
135.out
136 tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
136.out
137 iotests: Make 137 work with data_file 2020-01-06 13:43:07 +01:00
137.out iotests: Make 137 work with data_file 2020-01-06 13:43:07 +01:00
138 iotests/138: Test leaks/corruptions fixed report 2020-03-26 14:52:43 +01:00
138.out iotests/138: Test leaks/corruptions fixed report 2020-03-26 14:52:43 +01:00
139 iotests: Remove the superfluous 2nd check for the availability of quorum 2020-02-20 16:43:42 +01:00
139.out
140 iotests/140: Create socket in $SOCK_DIR 2019-10-28 11:22:31 +01:00
140.out iotests: Include QMP input in .out files 2019-11-18 20:33:48 -06:00
141 iotests: Use _rm_test_img for deleting test images 2020-01-06 13:43:07 +01:00
141.out blockdev: unify qmp_drive_backup and drive-backup transaction paths 2020-01-27 17:19:53 +01:00
142 iotests: Use _rm_test_img for deleting test images 2020-01-06 13:43:07 +01:00
142.out
143 iotests/143: Create socket in $SOCK_DIR 2019-10-28 11:22:31 +01:00
143.out iotests: Include QMP input in .out files 2019-11-18 20:33:48 -06:00
144 iotests: Use _rm_test_img for deleting test images 2020-01-06 13:43:07 +01:00
144.out iotests: Include QMP input in .out files 2019-11-18 20:33:48 -06:00
145
145.out
146
146.out
147 iotests/147: Fix drive parameters 2020-02-20 16:43:42 +01:00
147.out
148 tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
148.out
149 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
149.out tests: fix I/O test for hosts defaulting to LUKSv2 2019-10-10 10:56:18 +02:00
150
150.out.qcow2 block: posix: Always allocate the first block 2019-09-03 14:55:35 +02:00
150.out.raw block: posix: Always allocate the first block 2019-09-03 14:55:35 +02:00
151 tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
151.out iotests: Test unaligned blocking mirror write 2019-08-06 13:17:26 +02:00
152 tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
152.out
153 iotests: Use _rm_test_img for deleting test images 2020-01-06 13:43:07 +01:00
153.out iotests: Include QMP input in .out files 2019-11-18 20:33:48 -06:00
154
154.out
155 iotests: use python logging for iotests.log() 2020-05-05 13:17:36 +02:00
155.out iotests: Add iothread cases to 155 2020-03-11 15:54:38 +01:00
156 iotests: Disable data_file where it cannot be used 2020-01-06 13:43:07 +01:00
156.out iotests: Include QMP input in .out files 2019-11-18 20:33:48 -06:00
157
157.out
158
158.out
159 iotests: Use _rm_test_img for deleting test images 2020-01-06 13:43:07 +01:00
159.out
160 iotests: Use _rm_test_img for deleting test images 2020-01-06 13:43:07 +01:00
160.out
161 iotests: Use _rm_test_img for deleting test images 2020-01-06 13:43:07 +01:00
161.out iotests: Include QMP input in .out files 2019-11-18 20:33:48 -06:00
162 iotests/162: Fix for newer Linux 5.3+ 2019-10-10 12:13:23 +02:00
162.out iotests/162: Fix for newer Linux 5.3+ 2019-10-10 12:13:23 +02:00
163 tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
163.out
165 drop "from __future__ import print_function" 2020-02-07 15:15:16 +01:00
165.out iotests: add test-case to 165 to test reopening qcow2 bitmaps to RW 2019-10-17 17:02:32 -04:00
169 tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
169.out iotests: add new test cases to bitmap migration 2019-11-26 14:18:01 +01:00
170 iotests: Use _rm_test_img for deleting test images 2020-01-06 13:43:07 +01:00
170.out
171
171.out
172 iotests: Use _rm_test_img for deleting test images 2020-01-06 13:43:07 +01:00
172.out
173 iotests: Use _rm_test_img for deleting test images 2020-01-06 13:43:07 +01:00
173.out iotests: Include QMP input in .out files 2019-11-18 20:33:48 -06:00
174 iotests: Replace IMGOPTS='' by --no-opts 2020-01-06 13:43:07 +01:00
174.out
175 iotests: Replace IMGOPTS= by -o 2020-01-06 13:43:07 +01:00
175.out iotests: Test allocate_first_block() with O_DIRECT 2019-09-03 14:55:35 +02:00
176 iotests: Disable data_file where it cannot be used 2020-01-06 13:43:07 +01:00
176.out
177 qcow2: Forbid discard in qcow2 v2 images with backing files 2020-04-07 13:51:09 +02:00
177.out
178 qemu-img: allow qemu-img measure --object without a filename 2020-03-11 12:42:29 +01:00
178.out.qcow2 qemu-img: allow qemu-img measure --object without a filename 2020-03-11 12:42:29 +01:00
178.out.raw qemu-img: allow qemu-img measure --object without a filename 2020-03-11 12:42:29 +01:00
179
179.out
181 tests/qemu-iotests: use AIOMODE with various tests 2020-01-30 21:01:40 +00:00
181.out
182 iotests: Use _rm_test_img for deleting test images 2020-01-06 13:43:07 +01:00
182.out iotests: Include QMP input in .out files 2019-11-18 20:33:48 -06:00
183 iotests: Test 183 does not work on macOS and OpenBSD 2020-02-06 13:47:45 +01:00
183.out iotests: Include QMP input in .out files 2019-11-18 20:33:48 -06:00
184 iotests: Check for enabled drivers before testing them 2019-09-03 14:56:06 +02:00
184.out
185 tests/qemu-iotests: use AIOMODE with various tests 2020-01-30 21:01:40 +00:00
185.out blockdev: unify qmp_drive_backup and drive-backup transaction paths 2020-01-27 17:19:53 +01:00
186 iotests: Check for enabled drivers before testing them 2019-09-03 14:56:06 +02:00
186.out iotests: Set read-zeroes on in null block driver for Valgrind 2019-07-19 13:19:09 +02:00
187 iotests: Use _rm_test_img for deleting test images 2020-01-06 13:43:07 +01:00
187.out
188 iotests: Convert to preallocated encrypted qcow2 2019-08-19 17:13:26 +02:00
188.out iotests: Convert to preallocated encrypted qcow2 2019-08-19 17:13:26 +02:00
189
189.out
190 iotests: Use _rm_test_img for deleting test images 2020-01-06 13:43:07 +01:00
190.out
191 iotests: Disable data_file where it cannot be used 2020-01-06 13:43:07 +01:00
191.out iotests: Include QMP input in .out files 2019-11-18 20:33:48 -06:00
192 iotests/192: Create socket in $SOCK_DIR 2019-10-28 11:22:31 +01:00
192.out iotests/192: Create socket in $SOCK_DIR 2019-10-28 11:22:31 +01:00
194 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
194.out
195 iotests: Use _rm_test_img for deleting test images 2020-01-06 13:43:07 +01:00
195.out
196 tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
196.out
197 iotests: Use _rm_test_img for deleting test images 2020-01-06 13:43:07 +01:00
197.out
198 iotests: Make 198 work with data_file 2020-01-06 13:43:07 +01:00
198.out iotests: Make 198 work with data_file 2020-01-06 13:43:07 +01:00
199 tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
199.out
200 tests/qemu-iotests: use AIOMODE with various tests 2020-01-30 21:01:40 +00:00
200.out iotests: Include QMP input in .out files 2019-11-18 20:33:48 -06:00
201 tests/qemu-iotests: use AIOMODE with various tests 2020-01-30 21:01:40 +00:00
201.out
202 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
202.out
203 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
203.out
204
204.out
205 tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
205.out
206 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
206.out
207 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
207.out ssh: switch from libssh2 to libssh 2019-06-24 16:01:04 +02:00
208 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
208.out
209 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
209.out
210 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
210.out
211 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
211.out
212 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
212.out
213 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
213.out
214 tests/iotests: be a little more forgiving on the size test 2020-02-25 20:20:09 +00:00
214.out tests/qemu-iotests: add case to write compressed data of multiple clusters 2020-01-06 13:43:07 +01:00
215 iotests: Use _rm_test_img for deleting test images 2020-01-06 13:43:07 +01:00
215.out
216 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
216.out
217 iotests: Disable data_file where it cannot be used 2020-01-06 13:43:07 +01:00
217.out
218 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
218.out iotests: Test quitting with job on throttled node 2019-07-19 15:17:55 +02:00
219 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
219.out blockdev: unify qmp_drive_backup and drive-backup transaction paths 2020-01-27 17:19:53 +01:00
220 iotests: Disable data_file where it cannot be used 2020-01-06 13:43:07 +01:00
220.out
221
221.out block: posix: Always allocate the first block 2019-09-03 14:55:35 +02:00
222 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
222.out
223 nbd: Allow description when creating NBD blockdev 2020-02-05 17:22:13 -06:00
223.out nbd: Allow description when creating NBD blockdev 2020-02-05 17:22:13 -06:00
224 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
224.out
225 iotests: Use _rm_test_img for deleting test images 2020-01-06 13:43:07 +01:00
225.out
226
226.out
227 iotests: Set read-zeroes on in null block driver for Valgrind 2019-07-19 13:19:09 +02:00
227.out qapi: add unmap to BlockDeviceStats 2019-10-10 10:56:18 +02:00
228 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
228.out
229 iotests: Use _rm_test_img for deleting test images 2020-01-06 13:43:07 +01:00
229.out iotests: Include QMP input in .out files 2019-11-18 20:33:48 -06:00
231
231.out
232 iotests: Use _rm_test_img for deleting test images 2020-01-06 13:43:07 +01:00
232.out
233 iotests: Let 233 run concurrently 2019-06-13 08:50:47 -05:00
233.out nbd/client: Add hint when TLS is missing 2019-09-24 07:30:19 -05:00
234 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
234.out
235 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
235.out
236 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
236.out
237 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
237.out
238 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
238.out
239
239.out
240 iotests/240: Create socket in $SOCK_DIR 2019-10-28 11:22:31 +01:00
240.out
241 iotests: Let common.nbd create socket in $SOCK_DIR 2019-10-28 11:22:31 +01:00
241.out
242 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
242.out
243 iotests: Disable data_file where it cannot be used 2020-01-06 13:43:07 +01:00
243.out
244 qemu-iotests: allow qcow2 external discarded clusters to contain stale data 2020-04-30 17:51:06 +02:00
244.out qemu-iotests: allow qcow2 external discarded clusters to contain stale data 2020-04-30 17:51:06 +02:00
245 iotests: use python logging for iotests.log() 2020-05-05 13:17:36 +02:00
245.out iotests: use python logging for iotests.log() 2020-05-05 13:17:36 +02:00
246 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
246.out
247 iotests: Use _rm_test_img for deleting test images 2020-01-06 13:43:07 +01:00
247.out
248 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
248.out
249 iotests: Use _rm_test_img for deleting test images 2020-01-06 13:43:07 +01:00
249.out iotests: Include QMP input in .out files 2019-11-18 20:33:48 -06:00
250 iotests: Disable data_file where it cannot be used 2020-01-06 13:43:07 +01:00
250.out
251 iotests: Disable broken streamOptimized tests 2019-09-03 14:55:35 +02:00
251.out iotests: Test qemu-img convert --salvage 2019-06-14 15:09:27 +02:00
252 iotests: Use _rm_test_img for deleting test images 2020-01-06 13:43:07 +01:00
252.out
253
253.out block: posix: Always allocate the first block 2019-09-03 14:55:35 +02:00
254 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
254.out iotests: test bitmap moving inside 254 2019-08-16 16:28:03 -04:00
255 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
255.out
256 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
256.out block/backup: improve sync=bitmap work estimates 2019-08-16 16:28:03 -04:00
257 tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
257.out block/backup: use backup-top instead of write notifiers 2019-10-10 10:56:18 +02:00
258 iotest 258: use script_main 2020-05-05 13:17:36 +02:00
258.out iotests: Add test for concurrent stream/commit 2019-08-16 10:25:16 +02:00
259 iotests: Add test for image creation fallback 2020-02-20 16:43:42 +01:00
259.out iotests: Add test for image creation fallback 2020-02-20 16:43:42 +01:00
260 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
260.out iotests: add test 260 to check bitmap life after snapshot + commit 2019-10-17 17:02:32 -04:00
261 iotests: Disable data_file where it cannot be used 2020-01-06 13:43:07 +01:00
261.out iotests: Test qcow2's snapshot table handling 2019-10-28 11:54:49 +01:00
262 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
262.out iotests/262: Switch source/dest VM launch order 2019-10-08 14:28:25 +01:00
263 qemu-iotests: Add test for bz #1745922 2019-09-16 15:37:12 +02:00
263.out qemu-iotests: Add test for bz #1745922 2019-09-16 15:37:12 +02:00
264 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
264.out iotests: test nbd reconnect 2019-10-22 20:51:31 -05:00
265 iotests: Replace IMGOPTS= by -o 2020-01-06 13:43:07 +01:00
265.out iotests: Test reverse sub-cluster qcow2 writes 2019-09-10 08:58:43 +02:00
266 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
266.out iotests: 266: Convert to VM.blockdev_create() 2019-12-19 14:32:43 +01:00
267 iotests: Check for the availability of the required devices in 267 and 127 2020-02-06 13:47:45 +01:00
267.out iotests/267: Create socket in $SOCK_DIR 2019-10-28 11:22:31 +01:00
268 block: Reject misaligned write requests with BDRV_REQ_NO_FALLBACK 2019-10-14 17:12:48 +02:00
268.out block: Reject misaligned write requests with BDRV_REQ_NO_FALLBACK 2019-10-14 17:12:48 +02:00
270 iotests: Test large write request to qcow2 file 2019-10-14 17:12:48 +02:00
270.out iotests: Test large write request to qcow2 file 2019-10-14 17:12:48 +02:00
272 iotests: Add test for 4G+ compressed qcow2 write 2019-11-07 14:37:46 +01:00
272.out iotests: Add test for 4G+ compressed qcow2 write 2019-11-07 14:37:46 +01:00
273 iotests: Disable data_file where it cannot be used 2020-01-06 13:43:07 +01:00
273.out iotests/273: Filter format-specific information 2019-12-19 13:20:10 +01:00
274 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
274.out qcow2: Forward ZERO_WRITE flag for full preallocation 2020-04-30 17:51:07 +02:00
277 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
277.out iotests: Test NBD client reconnection 2019-11-18 16:01:31 -06:00
279 iotests: Fix cleanup path in some tests 2020-03-24 11:57:38 +01:00
279.out qemu-img: fix info --backing-chain --image-opts 2019-12-18 11:20:57 +01:00
280 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
280.out iotests: Test external snapshot with VM state 2019-12-19 18:04:25 +01:00
281 tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
281.out iotests: Test handling of AioContexts with some blockdev actions 2020-01-27 17:19:53 +01:00
282 qemu-iotests: adding LUKS cleanup for non-UTF8 secret error 2020-03-11 15:54:38 +01:00
282.out qemu-iotests: adding LUKS cleanup for non-UTF8 secret error 2020-03-11 15:54:38 +01:00
283 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
283.out iotests: add test for backup-top failure on permission activation 2020-02-06 13:47:45 +01:00
284 block: always fill entire LUKS header space with zeros 2020-02-20 16:43:42 +01:00
284.out block: always fill entire LUKS header space with zeros 2020-02-20 16:43:42 +01:00
286 iotests: Test snapshot -l field separation 2020-02-20 16:43:42 +01:00
286.out iotests: Test snapshot -l field separation 2020-02-20 16:43:42 +01:00
288 iotests: add 288 luks qemu-img measure test 2020-03-11 12:42:29 +01:00
288.out iotests: add 288 luks qemu-img measure test 2020-03-11 12:42:29 +01:00
289 iotests/026: Move v3-exclusive test to new file 2020-03-24 12:05:31 +01:00
289.out iotests/026: Move v3-exclusive test to new file 2020-03-24 12:05:31 +01:00
290 qcow2: Forbid discard in qcow2 v2 images with backing files 2020-04-07 13:51:09 +02:00
290.out qcow2: Forbid discard in qcow2 v2 images with backing files 2020-04-07 13:51:09 +02:00
check tests/qemu-iotests/check: Only check for Python 3 interpreter 2020-02-07 15:15:16 +01:00
common.config
common.filter iotests: Allow check -o data_file 2020-01-06 13:43:07 +01:00
common.nbd iotests: Let common.nbd create socket in $SOCK_DIR 2019-10-28 11:22:31 +01:00
common.pattern iotests/common.pattern: Quote echos 2020-04-07 13:51:09 +02:00
common.qemu iotests: Include QMP input in .out files 2019-11-18 20:33:48 -06:00
common.rc iotests: Add poke_file_[bl]e functions 2020-03-26 14:52:37 +01:00
common.tls
group iotests: Test committing to short backing file 2020-04-30 17:51:07 +02:00
iotests.py iotests: use python logging for iotests.log() 2020-05-05 13:17:36 +02:00
Makefile
nbd-fault-injector.py drop "from __future__ import print_function" 2020-02-07 15:15:16 +01:00
pylintrc iotests: limit line length to 79 chars 2020-05-05 13:17:36 +02:00
qcow2.py drop "from __future__ import print_function" 2020-02-07 15:15:16 +01:00
qed.py drop "from __future__ import print_function" 2020-02-07 15:15:16 +01: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.