qemu-e2k/tests/qemu-iotests
Max Reitz b8c1f90118 block/ssh: Implement .bdrv_refresh_filename()
This requires some changes to keep iotests 104 and 207 working.

qemu-img info in 104 will now return a filename including the user name
and the port, which need to be filtered by adjusting REMOTE_TEST_DIR in
common.rc.  This additional information has to be marked optional,
however (which is simple as REMOTE_TEST_DIR is a regex), because
otherwise 197 and 215 would fail: They use it (indirectly) to filter
qemu-img create output which contains a backing filename they have
passed to it -- which probably does not contain a user name or port
number.

The problem in 207 is a nice one to have: qemu-img info used to return
json:{} filenames, but with this patch it returns nice plain ones.  We
now need to adjust the filtering to hide the user name (and port number
while we are at it).  The simplest way to do this is to include both in
iotests.remote_filename() so that bdrv_refresh_filename() will not
change it, and then iotests.img_info_log() will filter it correctly
automatically.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Tested-by: Richard W.M. Jones <rjones@redhat.com>
Message-id: 20190225190828.17726-2-mreitz@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
2019-05-07 17:14:21 +02:00
..
sample_images qemu-iotests: add test case for dmg 2019-02-01 13:46:44 +01:00
.gitignore
001 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
001.out
002 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
002.out
003 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
003.out
004 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
004.out
005 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
005.out
007 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
007.out
008 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
008.out
009 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
009.out
010 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
010.out
011 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
011.out
012 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
012.out
013 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
013.out
014 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
014.out
015 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
015.out
017 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
017.out
018 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
018.out
019 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
019.out
020 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
020.out iotests: Fix 020 for vmdk 2018-01-23 12:34:43 +01:00
021 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
021.out
022 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
022.out
023 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
023.out
024 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
024.out iotests: Add test for rebasing with relative paths 2018-06-11 16:18:45 +02:00
025 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
025.out
026 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
026.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
026.out.nocache qemu-iotests: Test qcow2 not leaking clusters on write error 2018-06-29 14:20:56 +02:00
027 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
027.out
028 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
028.out
029 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
029.out
030 block: test block-stream with a base node that is used by block-commit 2019-04-02 12:04:44 +02:00
030.out block: test block-stream with a base node that is used by block-commit 2019-04-02 12:04:44 +02:00
031 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
031.out qcow2: Basic definitions for external data files 2019-03-08 12:26:45 +01:00
032 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
032.out
033 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
033.out iotest 033: add misaligned write-zeroes test via truncate 2018-03-02 18:39:07 +01:00
034 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
034.out
035 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
035.out
036 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
036.out qcow2: Basic definitions for external data files 2019-03-08 12:26:45 +01:00
037 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
037.out
038 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
038.out
039 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
039.out 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: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
042.out
043 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
043.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
044 iotests: Different iterator behavior in Python 3 2018-10-30 21:11:52 -03:00
044.out block/qcow2: Add qcow2_refcount_area() 2017-07-11 17:45:02 +02:00
045 iotests: Let 045 be run concurrently 2019-02-25 15:11:28 +01:00
045.out
046 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
046.out
047 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
047.out
048 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
048.out
049 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
049.out block: Clean up bdrv_img_create()'s error reporting 2018-10-19 14:51:34 +02:00
050 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
050.out
051 qemu-iotests: Treat custom TEST_DIR in 051 2019-03-19 15:51:31 +01:00
051.out file-posix: Fix bdrv_open_flags() for snapshot=on 2019-03-12 20:30:14 +01:00
051.pc.out file-posix: Fix bdrv_open_flags() for snapshot=on 2019-03-12 20:30:14 +01:00
052 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
052.out
053 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
053.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
054 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
054.out
055 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 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
058.out
059 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
059.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
060 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
060.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
061 qemu-iotests: amend with external data file 2019-03-08 12:26:46 +01:00
061.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
062 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
062.out
063 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
063.out qcow2: Fix src_offset in copy offloading 2018-06-29 14:20:56 +02:00
064 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
064.out
065 iotests: Different iterator behavior in Python 3 2018-10-30 21:11:52 -03:00
065.out
066 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
066.out
067 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
067.out block-backend: Set werror/rerror defaults in blk_new() 2018-10-01 19:13:46 +02:00
068 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
068.out snapshot/tests: Try loadvm twice 2017-09-06 15:19:01 +01:00
069 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
069.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
070 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
070.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
071 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
071.out qmp: Split ShutdownCause host-qmp into quit and system-reset 2018-12-18 07:55:47 +01:00
072 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
072.out
073 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
073.out
074 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
074.out qemu-img: Drop redundant error message in compare 2017-10-26 14:45:57 +02:00
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 iotests: 077: Filter out 'resume' lines 2017-11-14 18:06:25 +01:00
078 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
078.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
079 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
079.out
080 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
080.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
081 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
081.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
082 iotests: Perform the correct test in 082 2019-04-30 15:29:00 +02:00
082.out qemu-img: Make create hint at protocol options 2019-04-30 15:29:00 +02:00
083 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
083.out block/nbd-client: use traces instead of noisy error_report_err 2019-01-04 17:34:58 -06:00
084 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
084.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
085 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
085.out
086 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
086.out
087 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
087.out qmp: Split ShutdownCause host-qmp into quit and system-reset 2018-12-18 07:55:47 +01:00
088 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
088.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
089 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
089.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
090 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
090.out
091 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
091.out
092 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
092.out
093 iotests: Use // for Python integer division 2018-10-30 21:11:52 -03:00
093.out qemu-iotests: Test removing a throttle group member with a pending timer 2018-08-15 12:50:39 +02:00
094 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
094.out qmp: Split ShutdownCause host-qmp into quit and system-reset 2018-12-18 07:55:47 +01:00
095 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
095.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
096 python: futurize -f lib2to3.fixes.fix_has_key 2018-06-08 14:39:24 -03: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 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
098.out
099 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
099.out
101 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
101.out
102 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
102.out qemu-iotests: Fix locking issue in 102 2018-01-23 12:34:42 +01:00
103 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
103.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
104 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
104.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
105 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
105.out
106 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
106.out iotests: Test preallocated truncate of 2G image 2018-04-03 17:39:37 +02:00
107 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
107.out
108 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
108.out
109 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
109.out qmp: Split ShutdownCause host-qmp into quit and system-reset 2018-12-18 07:55:47 +01:00
110 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
110.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
111 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
111.out qemu-img: Check for backing image if specified during create 2017-07-18 15:27:37 +02:00
112 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
112.out block: Add Error parameter to bdrv_amend_options 2018-06-11 16:18:45 +02:00
113 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
113.out iotests: Rework 113 2018-06-11 16:18:45 +02:00
114 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
114.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
115 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
115.out
116 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
116.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
117 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
117.out qmp: Split ShutdownCause host-qmp into quit and system-reset 2018-12-18 07:55:47 +01:00
118 iotests: Replace assertEquals() with assertEqual() 2018-11-21 10:30:05 +01:00
118.out
119 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
119.out qmp: Split ShutdownCause host-qmp into quit and system-reset 2018-12-18 07:55:47 +01:00
120 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
120.out qmp: Split ShutdownCause host-qmp into quit and system-reset 2018-12-18 07:55:47 +01:00
121 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
121.out qcow2: Reset free_cluster_index when allocating a new refcount block 2018-03-26 12:16:00 +02:00
122 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
122.out qemu-img: align result of is_allocated_sectors 2018-07-12 18:24:08 +02:00
123 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
123.out
124 iotests: add busy/recording bit test to 124 2019-03-12 12:05:48 -04:00
124.out iotests: add busy/recording bit test to 124 2019-03-12 12:05:48 -04:00
125 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
125.out iotests: Add cluster_size=64k to 125 2017-10-26 15:01:14 +02:00
126 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
126.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
127 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
127.out qmp: Split ShutdownCause host-qmp into quit and system-reset 2018-12-18 07:55:47 +01:00
128 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
128.out
129 iotests: Mark all tests executable 2018-03-09 15:40:07 +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 iotests: Mark all tests executable 2018-03-09 15:40:07 +01:00
132.out
133 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
133.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
134 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
134.out
135 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
135.out
136 iotests: Use // for Python integer division 2018-10-30 21:11:52 -03:00
136.out
137 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
137.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
138 qcow2-refcount: avoid eating RAM 2019-05-07 17:14:21 +02:00
138.out qcow2-refcount: avoid eating RAM 2019-05-07 17:14:21 +02:00
139 iotests: check whitelisted formats 2019-03-08 12:26:45 +01:00
139.out
140 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
140.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
141 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
141.out mirror: Block the source BlockDriverState in mirror_start_job() 2019-02-01 13:46:44 +01:00
142 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
142.out
143 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
143.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
144 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
144.out job: Add JOB_STATUS_CHANGE QMP event 2018-05-23 14:30:51 +02:00
145 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
145.out
146 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
146.out block: fix iotest 146 output expectations 2018-03-19 12:01:39 +01:00
147 iotests: Allow 147 to be run concurrently 2019-01-31 00:44:55 +01: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: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
150.out
151 iotests: Use // for Python integer division 2018-10-30 21:11:52 -03:00
151.out 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: 153: Wait for an answer to QMP commands 2019-03-19 15:49:29 +01:00
153.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
154 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
154.out
155 iotests: Move qmp_to_opts() to VM 2018-05-23 14:30:51 +02:00
155.out
156 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
156.out qmp: Split ShutdownCause host-qmp into quit and system-reset 2018-12-18 07:55:47 +01:00
157 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
157.out iotests: fix remainining tests to work with LUKS 2017-07-11 17:44:59 +02:00
158 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
158.out
159 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
159.out
160 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
160.out
161 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
161.out block: Update BlockDriverState.inherits_from on bdrv_drop_intermediate() 2018-11-22 19:37:31 +01:00
162 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
162.out
163 iotests: Different iterator behavior in Python 3 2018-10-30 21:11:52 -03:00
163.out 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: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
170.out
171 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
171.out
172 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
172.out hw/block/fdc: Convert to realize 2017-09-18 19:43:38 -04:00
173 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
173.out
174 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
174.out
175 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
175.out
176 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
176.out qmp: Split ShutdownCause host-qmp into quit and system-reset 2018-12-18 07:55:47 +01:00
177 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
177.out iotests: Split 177 into two parts for compat=0.10 2018-01-23 12:34:43 +01:00
178 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
178.out.qcow2 iotests: add LUKS payload overhead to 178 qemu-img measure test 2019-02-25 15:11:28 +01:00
178.out.raw iotests: add test 178 for qemu-img measure 2017-07-11 17:45:01 +02:00
179 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
179.out
181 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
181.out iotests: fix 181: enable postcopy-ram capability on target 2017-09-26 14:46:23 +02:00
182 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
182.out iotests: Test file-posix locking and reopen 2018-11-19 14:32:04 +01:00
183 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
183.out qmp: Split ShutdownCause host-qmp into quit and system-reset 2018-12-18 07:55:47 +01:00
184 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
184.out qmp: Split ShutdownCause host-qmp into quit and system-reset 2018-12-18 07:55:47 +01:00
185 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
185.out qmp: Split ShutdownCause host-qmp into quit and system-reset 2018-12-18 07:55:47 +01:00
186 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
186.out iotests: Update 186 after commit ac64273c66 2018-04-03 16:58:48 +02:00
187 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
187.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
188 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
188.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
189 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
189.out qcow2: add iotests to cover LUKS encryption support 2017-07-11 17:44:56 +02:00
190 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
190.out iotests: Add test of recent fix to 'qemu-img measure' 2017-08-01 18:09:33 +02:00
191 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
191.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
192 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
192.out 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 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
195.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
196 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: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
197.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
198 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
198.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
199 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 iotests: Fix test 200 on s390x without virtio-pci 2019-04-02 12:04:44 +02:00
200.out qemu-iotest: add test for blockjob coroutine race condition 2017-11-21 11:58:12 -05:00
201 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01: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 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
204.out iotests: Split 177 into two parts for compat=0.10 2018-01-23 12:34:43 +01:00
205 tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
205.out iotest 205: new test for qmp nbd-server-remove 2018-01-26 09:37:21 -06:00
206 iotests: change qmp_log filters to expect QMP objects only 2019-01-14 10:09:46 -06:00
206.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
207 block/ssh: Implement .bdrv_refresh_filename() 2019-05-07 17:14:21 +02:00
207.out block/ssh: Implement .bdrv_refresh_filename() 2019-05-07 17:14:21 +02: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 nbd/client: Report offsets in bdrv_block_status 2019-03-30 20:52:29 -05:00
210 iotests: Re-add filename filters 2019-02-25 15:11:27 +01:00
210.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
211 iotests: Skip 211 on insufficient memory 2019-02-25 15:11:28 +01:00
211.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
212 iotests: Re-add filename filters 2019-02-25 15:11:27 +01:00
212.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
213 iotests: Re-add filename filters 2019-02-25 15:11:27 +01:00
213.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
214 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
214.out iotests: Split 214 off of 122 2018-05-15 16:15:21 +02:00
215 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
215.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
216 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 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01: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 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
220.out qcow2: Return 0/-errno in qcow2_alloc_compressed_cluster_offset() 2019-03-08 12:26:45 +01:00
221 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
221.out 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 nbd patches for 2019-03-08 2019-03-09 20:55:44 +00:00
223.out nbd/server: Advertise actual minimum block size 2019-04-01 08:52:28 -05:00
224 iotests: Test json:{} filenames of internal BDSs 2019-02-25 15:11:27 +01:00
224.out iotests: Test json:{} filenames of internal BDSs 2019-02-25 15:11:27 +01:00
225 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
225.out iotests: Add VMDK backing file correlation test 2018-07-09 19:43:24 +02:00
226 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
226.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
227 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
227.out qmp: Split ShutdownCause host-qmp into quit and system-reset 2018-12-18 07:55:47 +01:00
228 block: Purify .bdrv_refresh_filename() 2019-02-25 15:11:27 +01:00
228.out block: Purify .bdrv_refresh_filename() 2019-02-25 15:11:27 +01:00
229 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
229.out iotests: Filter second BLOCK_JOB_ERROR from 229 2019-02-01 13:46:45 +01:00
231 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
231.out block/rbd: add iotest for rbd legacy keyvalue filename parsing 2018-09-24 23:46:05 -04:00
232 qemu-iotests: Fix 232 for non-qcow2 2019-03-19 15:49:29 +01:00
232.out qemu-iotests: Fix 232 for non-qcow2 2019-03-19 15:49:29 +01:00
233 nbd patches for 2019-03-08 2019-03-09 20:55:44 +00:00
233.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
234 iotests: Make 234 stable 2019-02-01 13:46:44 +01:00
234.out iotests: Make 234 stable 2019-02-01 13:46:44 +01:00
235 tests/qemu-iotests/235: Allow fallback to tcg 2019-04-02 12:04:56 +02:00
235.out iotests: simple mirror test with kvm on 1G image 2018-12-03 16:51:53 +01:00
236 iotests: add iotest 236 for testing bitmap merge 2019-01-14 10:09:46 -06:00
236.out block/dirty-bitmap: add recording and busy properties 2019-03-12 12:05:48 -04:00
237 iotests: Fix 237 for Python 2.x 2019-02-25 15:11:27 +01:00
237.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
238 iotests: use iotests.VM in 238 2019-03-08 12:26:45 +01:00
238.out iotests: add 238 for throttling tgm unregister iothread segfault 2019-01-24 10:02:28 +00:00
239 qemu-iotests: add test case for dmg 2019-02-01 13:46:44 +01:00
239.out qemu-iotests: add test case for dmg 2019-02-01 13:46:44 +01:00
240 virtio-scsi: Forbid devices with different iothreads sharing a blockdev 2019-02-01 13:46:45 +01:00
240.out virtio-scsi: Forbid devices with different iothreads sharing a blockdev 2019-02-01 13:46:45 +01:00
241 iotest: Fix 241 to run in generic directory 2019-04-12 18:03:01 +02:00
241.out iotest: Fix 241 to run in generic directory 2019-04-12 18:03:01 +02:00
242 iotests: handle TypeError for Python 3 in test 242 2019-02-26 10:37:06 -06:00
242.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
243 qemu-iotests: Preallocation with external data file 2019-03-08 12:26:46 +01:00
243.out qemu-iotests: Preallocation with external data file 2019-03-08 12:26:46 +01:00
244 qemu-iotests: General tests for qcow2 with external data file 2019-03-08 12:26:46 +01:00
244.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
245 iotests: Let 245 pass on tmpfs 2019-04-12 18:03:01 +02:00
245.out qemu-iotests: Test the x-blockdev-reopen QMP command 2019-03-12 20:30:14 +01:00
246 tests/qemu-iotests: add bitmap resize test 246 2019-03-12 15:00:48 -04:00
246.out tests/qemu-iotests: add bitmap resize test 246 2019-03-12 15:00:48 -04:00
247 qemu-iotests: Fix 232 for non-qcow2 2019-03-19 15:49:29 +01:00
247.out qemu-iotests: Fix 232 for non-qcow2 2019-03-19 15:49:29 +01:00
248 iotests: add 248: test resume mirror after auto pause on ENOSPC 2019-03-26 11:37:51 +01:00
248.out iotests: add 248: test resume mirror after auto pause on ENOSPC 2019-03-26 11:37:51 +01:00
249 iotests: Check that images are in read-only mode after block-commit 2019-04-30 15:29:00 +02:00
249.out iotests: Check that images are in read-only mode after block-commit 2019-04-30 15:29:00 +02:00
check qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
common.config qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
common.filter qemu-iotests: Ensure GNU sed is used 2019-03-08 12:26:45 +01:00
common.nbd qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
common.pattern qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
common.qemu qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
common.rc block/ssh: Implement .bdrv_refresh_filename() 2019-05-07 17:14:21 +02:00
common.tls qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
group iotests: Check that images are in read-only mode after block-commit 2019-04-30 15:29:00 +02:00
iotests.py block/ssh: Implement .bdrv_refresh_filename() 2019-05-07 17:14:21 +02:00
Makefile
nbd-fault-injector.py iotests: Modify imports for Python 3 2018-10-30 21:13:54 -03:00
qcow2.py iotests: Use Python byte strings where appropriate 2018-10-30 21:11:52 -03:00
qed.py iotests: Use // for Python integer division 2018-10-30 21:11:52 -03:00
README
socket_scm_helper.c

=== This is the QEMU I/O test suite ===

* Intro

This package contains a simple test suite for the I/O layer of qemu.
It does not require a guest, but only the qemu, qemu-img and qemu-io
binaries.  This does limit it to exercise the low-level I/O path only
but no actual block drivers like ide, scsi or virtio.

* Usage

Just run ./check to run all tests for the raw image format, or ./check
-qcow2 to test the qcow2 image format.  The output of ./check -h explains
additional options to test further image formats or I/O methods.

* Feedback and patches

Please send improvements to the test suite, general feedback or just
reports of failing tests cases to qemu-devel@nongnu.org with a CC:
to qemu-block@nongnu.org.