qemu-e2k/tests/qemu-iotests
Kevin Wolf 8bdee9f10e iotests: Test mirror with temporarily disabled target backing file
The newly tested scenario is a common live storage migration scenario:
The target node is opened without a backing file so that the active
layer is mirrored while its backing chain can be copied in the
background.

The backing chain should be attached to the mirror target node when
finalising the job, just before switching the users of the source node
to the new copy (at which point the mirror job still has a reference to
the node). drive-mirror did this automatically, but with blockdev-mirror
this is the job of the QMP client.

This patch adds test cases for two ways to achieve the desired result,
using either x-blockdev-reopen or blockdev-snapshot.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20200310113831.27293-5-kwolf@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2020-03-11 15:54:38 +01:00
..
sample_images
.gitignore
001 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
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 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
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 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
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 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02: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 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 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
021.out
022 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02: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 iotests: Use _rm_test_img for deleting test images 2020-01-06 13:43:07 +01:00
024.out
025 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
025.out
026 iotests/026: Test EIO on allocation in a data-file 2020-03-06 17:15:37 +01:00
026.out iotests/026: Test EIO on allocation in a data-file 2020-03-06 17:15:37 +01:00
026.out.nocache iotests/026: Test EIO on allocation in a data-file 2020-03-06 17:15:37 +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 tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01: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 iotests/qcow2.py: Split feature fields into bits 2020-01-06 13:43:06 +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 iotests: Disable data_file where it cannot be used 2020-01-06 13:43:07 +01:00
036.out iotests: Filter refcount_order in 036 2020-01-06 13:43:06 +01:00
037 iotests: Disable broken streamOptimized tests 2019-09-03 14:55:35 +02: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 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 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
042.out
043 iotests: Use _rm_test_img for deleting test images 2020-01-06 13:43:07 +01:00
043.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
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 iotests: Disable data_file where it cannot be used 2020-01-06 13:43:07 +01:00
046.out
047 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
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 qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
054 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
054.out
055 tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01: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 iotests: Disable data_file where it cannot be used 2020-01-06 13:43:07 +01:00
060.out iotests/qcow2.py: Split feature fields into bits 2020-01-06 13:43:06 +01:00
061 iotests: Disable data_file where it cannot be used 2020-01-06 13:43:07 +01:00
061.out iotests/qcow2.py: Split feature fields into bits 2020-01-06 13:43:06 +01: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 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
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 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 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 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 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 tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
081 iotests: Use _rm_test_img for deleting test images 2020-01-06 13:43:07 +01:00
081.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
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 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 iotests: Avoid cp/mv of test images 2020-01-06 13:43:07 +01:00
085.out block: Relax restrictions for blockdev-snapshot 2020-03-11 15:54:38 +01:00
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
088 iotests: Use _rm_test_img for deleting test images 2020-01-06 13:43:07 +01:00
088.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
089 tests/qemu-iotests: use AIOMODE with various tests 2020-01-30 21:01:40 +00:00
089.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
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 tests/qemu-iotests: Fix more reference output files due to recent qemu-io change 2019-05-07 09:43:42 -05:00
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 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
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 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
101.out
102 block: avoid recursive block_status call if possible 2019-06-04 15:20:41 +02:00
102.out block: avoid recursive block_status call if possible 2019-06-04 15:20:41 +02:00
103 iotests: Disable data_file where it cannot be used 2020-01-06 13:43:07 +01:00
103.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
104 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
104.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
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 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
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 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
113.out
114 iotests: Disable data_file where it cannot be used 2020-01-06 13:43:07 +01:00
114.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
115 iotests: Replace IMGOPTS= by -o 2020-01-06 13:43:07 +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 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
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 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
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 qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
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 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
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 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 tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
132.out
133 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
133.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
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 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
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: Disable data_file where it cannot be used 2020-01-06 13:43:07 +01:00
138.out qcow2-refcount: avoid eating RAM 2019-05-07 17:14:21 +02: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 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02: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/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 drop "from __future__ import print_function" 2020-02-07 15:15:16 +01:00
149.out tests: fix I/O test for hosts defaulting to LUKSv2 2019-10-10 10:56:18 +02:00
150 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
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 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
154.out
155 iotests: Test mirror with temporarily disabled target backing file 2020-03-11 15:54:38 +01:00
155.out iotests: Test mirror with temporarily disabled target backing file 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 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
157.out
158 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
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 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
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 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
177.out
178 iotests: Use _rm_test_img for deleting test images 2020-01-06 13:43:07 +01:00
178.out.qcow2 block: posix: Always allocate the first block 2019-09-03 14:55:35 +02: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 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 tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
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 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
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 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
194.out
195 iotests: Use _rm_test_img for deleting test images 2020-01-06 13:43:07 +01:00
195.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
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 tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
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 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
202.out
203 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
203.out
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: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
205.out
206 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
206.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
207 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
207.out ssh: switch from libssh2 to libssh 2019-06-24 16:01:04 +02:00
208 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
208.out
209 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
209.out nbd/client: Report offsets in bdrv_block_status 2019-03-30 20:52:29 -05:00
210 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
210.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
211 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
211.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
212 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
212.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
213 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
213.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
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 tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
216 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
216.out
217 iotests: Disable data_file where it cannot be used 2020-01-06 13:43:07 +01:00
217.out
218 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
218.out iotests: Test quitting with job on throttled node 2019-07-19 15:17:55 +02:00
219 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01: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 qcow2: Return 0/-errno in qcow2_alloc_compressed_cluster_offset() 2019-03-08 12:26:45 +01:00
221 iotests: Test unaligned raw images with O_DIRECT 2019-05-20 17:08:57 +02:00
221.out block: posix: Always allocate the first block 2019-09-03 14:55:35 +02:00
222 make all Python scripts executable 2020-02-07 15:15:16 +01: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 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
224.out
225 iotests: Use _rm_test_img for deleting test images 2020-01-06 13:43:07 +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 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 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01: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 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
231.out
232 iotests: Use _rm_test_img for deleting test images 2020-01-06 13:43:07 +01:00
232.out qemu-iotests: Fix 232 for non-qcow2 2019-03-19 15:49:29 +01:00
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 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
234.out
235 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
235.out
236 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
236.out block/dirty-bitmap: add recording and busy properties 2019-03-12 12:05:48 -04:00
237 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
237.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
238 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
238.out
239 tests/qemu-iotests: Do not hard-code the path to bash 2019-05-21 10:10:33 +02:00
239.out
240 iotests/240: Create socket in $SOCK_DIR 2019-10-28 11:22:31 +01:00
240.out scsi-disk: Use qdev_prop_drive_iothread 2019-06-04 15:22:22 +02:00
241 iotests: Let common.nbd create socket in $SOCK_DIR 2019-10-28 11:22:31 +01:00
241.out iotest: Fix 241 to run in generic directory 2019-04-12 18:03:01 +02:00
242 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
242.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
243 iotests: Disable data_file where it cannot be used 2020-01-06 13:43:07 +01:00
243.out qemu-iotests: Preallocation with external data file 2019-03-08 12:26:46 +01:00
244 iotests: Test copy offloading with external data file 2020-02-18 10:53:56 +01:00
244.out iotests: Test copy offloading with external data file 2020-02-18 10:53:56 +01:00
245 block: bdrv_reopen() with backing file in different AioContext 2020-03-06 17:34:09 +01:00
245.out iotests: Refactor blockdev-reopen test for iothreads 2020-03-06 17:34:01 +01:00
246 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
246.out tests/qemu-iotests: add bitmap resize test 246 2019-03-12 15:00:48 -04:00
247 iotests: Use _rm_test_img for deleting test images 2020-01-06 13:43:07 +01:00
247.out qemu-iotests: Fix 232 for non-qcow2 2019-03-19 15:49:29 +01:00
248 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +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: 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 iotests: test big qcow2 shrink 2019-06-04 16:55:58 +02:00
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 iotests: Add test for rebase without input base 2019-05-10 16:45:40 +02:00
253 iotests: Test unaligned raw images with O_DIRECT 2019-05-20 17:08:57 +02:00
253.out block: posix: Always allocate the first block 2019-09-03 14:55:35 +02:00
254 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
254.out iotests: test bitmap moving inside 254 2019-08-16 16:28:03 -04:00
255 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
255.out iotests: Test cancelling a job and closing the VM 2019-06-04 15:20:41 +02:00
256 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01: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 tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01: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 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01: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 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01: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 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01: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
277 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
277.out iotests: Test NBD client reconnection 2019-11-18 16:01:31 -06:00
279 iotests/279: Fix for non-qcow2 formats 2020-02-20 16:43:42 +01:00
279.out qemu-img: fix info --backing-chain --image-opts 2019-12-18 11:20:57 +01:00
280 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01: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
283 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01: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
check tests/qemu-iotests/check: Only check for Python 3 interpreter 2020-02-07 15:15:16 +01:00
common.config qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
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 tests/qemu-iotests: Don't use 'seq' in the iotests 2019-07-23 15:53:25 +01:00
common.qemu iotests: Include QMP input in .out files 2019-11-18 20:33:48 -06:00
common.rc iotests: Check for the availability of the required devices in 267 and 127 2020-02-06 13:47: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: Test snapshot -l field separation 2020-02-20 16:43:42 +01:00
iotests.py iotests: Fix run_job() with use_log=False 2020-03-11 15:54:38 +01:00
Makefile
nbd-fault-injector.py drop "from __future__ import print_function" 2020-02-07 15:15:16 +01: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.