qemu-e2k/tests/qemu-iotests
Alberto Garcia a5675f3901 qcow2: Fix preallocation on images with unaligned sizes
When resizing an image with qcow2_co_truncate() using the falloc or
full preallocation modes the code assumes that both the old and new
sizes are cluster-aligned.

There are two problems with this:

  1) The calculation of how many clusters are involved does not always
     get the right result.

     Example: creating a 60KB image and resizing it (with
     preallocation=full) to 80KB won't allocate the second cluster.

  2) No copy-on-write is performed, so in the previous example if
     there is a backing file then the first 60KB of the first cluster
     won't be filled with data from the backing file.

This patch fixes both issues.

Signed-off-by: Alberto Garcia <berto@igalia.com>
Message-Id: <20200617140036.20311-1-berto@igalia.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
2020-07-06 08:33:06 +02:00
..
sample_images qemu-iotests: add test case for dmg 2019-02-01 13:46:44 +01:00
.gitignore iotests: record separate timings per format,protocol pair 2017-02-12 00:47:42 +01:00
001 block: Comment cleanups 2020-05-05 13:17:36 +02:00
001.out qemu-iotests: Remove traling whitespaces in *.out 2014-12-12 16:52:33 +00:00
002 iotests: Disable broken streamOptimized tests 2019-09-03 14:55:35 +02:00
002.out qemu-iotests: Remove traling whitespaces in *.out 2014-12-12 16:52:33 +00:00
003 iotests: Disable broken streamOptimized tests 2019-09-03 14:55:35 +02:00
003.out qemu-iotests: Remove traling whitespaces in *.out 2014-12-12 16:52:33 +00:00
004 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
004.out qemu-iotests: Remove traling whitespaces in *.out 2014-12-12 16:52:33 +00:00
005 iotests: Provide a function for checking the creation of huge files 2019-12-18 11:20:57 +01:00
005.out qemu-iotests: Remove traling whitespaces in *.out 2014-12-12 16:52:33 +00:00
007 iotests: Disable data_file where it cannot be used 2020-01-06 13:43:07 +01:00
007.out qemu-iotests: Remove traling whitespaces in *.out 2014-12-12 16:52:33 +00:00
008 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
008.out qemu-iotests: Remove traling whitespaces in *.out 2014-12-12 16:52:33 +00:00
009 iotests: Disable broken streamOptimized tests 2019-09-03 14:55:35 +02:00
009.out qemu-iotests: Remove traling whitespaces in *.out 2014-12-12 16:52:33 +00:00
010 iotests: Disable broken streamOptimized tests 2019-09-03 14:55:35 +02:00
010.out qemu-iotests: Remove traling whitespaces in *.out 2014-12-12 16:52:33 +00:00
011 iotests: Disable broken streamOptimized tests 2019-09-03 14:55:35 +02:00
011.out qemu-iotests: Remove traling whitespaces in *.out 2014-12-12 16:52:33 +00:00
012 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
012.out qemu-iotests: Remove traling whitespaces in *.out 2014-12-12 16:52:33 +00:00
013 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
013.out qemu-iotests: Remove traling whitespaces in *.out 2014-12-12 16:52:33 +00:00
014 iotests: Disable data_file where it cannot be used 2020-01-06 13:43:07 +01:00
014.out qemu-iotests: Remove traling whitespaces in *.out 2014-12-12 16:52:33 +00:00
015 iotests: Disable data_file where it cannot be used 2020-01-06 13:43:07 +01:00
015.out qemu-iotests: Remove traling whitespaces in *.out 2014-12-12 16:52:33 +00:00
017 iotests: Disable broken streamOptimized tests 2019-09-03 14:55:35 +02:00
017.out opts: produce valid command line in qemu_opts_print 2015-09-11 10:21:38 +03:00
018 iotests: Disable broken streamOptimized tests 2019-09-03 14:55:35 +02:00
018.out iotests: 018: Use TEST_IMG override instead of "mv" 2016-01-07 21:30:17 +01:00
019 iotests: Use _rm_test_img for deleting test images 2020-01-06 13:43:07 +01:00
019.out qemu-io: Switch 'alloc' command to byte-based length 2017-05-11 14:28:05 +02:00
020 iotests: Use _rm_test_img for deleting test images 2020-01-06 13:43:07 +01:00
020.out iotests: Fix 020 for vmdk 2018-01-23 12:34:43 +01:00
021 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
021.out qemu-iotests: Remove traling whitespaces in *.out 2014-12-12 16:52:33 +00:00
022 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
022.out qemu-iotests: Remove traling whitespaces in *.out 2014-12-12 16:52:33 +00:00
023 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
023.out qemu-io: Allow unaligned access by default 2016-05-12 15:33:24 +02:00
024 iotests: Use _rm_test_img for deleting test images 2020-01-06 13:43:07 +01:00
024.out iotests: Add test for rebasing with relative paths 2018-06-11 16:18:45 +02:00
025 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
025.out qemu-iotests: Remove traling whitespaces in *.out 2014-12-12 16:52:33 +00:00
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 qemu-iotests: Remove traling whitespaces in *.out 2014-12-12 16:52:33 +00:00
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 qemu-iotests: Remove traling whitespaces in *.out 2014-12-12 16:52:33 +00:00
030 iotests/030: Reduce run time by unthrottling job earlier 2020-05-18 19:05:25 +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: QcowHeaderExtension print names for extension magics 2020-06-09 15:47:10 -05:00
032 iotests: Disable broken streamOptimized tests 2019-09-03 14:55:35 +02:00
032.out qemu-iotests: Remove traling whitespaces in *.out 2014-12-12 16:52:33 +00:00
033 iotests: Disable broken streamOptimized tests 2019-09-03 14:55:35 +02:00
033.out iotest 033: add misaligned write-zeroes test via truncate 2018-03-02 18:39:07 +01:00
034 iotests: Disable broken streamOptimized tests 2019-09-03 14:55:35 +02:00
034.out iotests: 034: Use TEST_IMG override instead of "mv" 2016-01-07 21:30:17 +01:00
035 tests/qemu-iotests: Don't use 'seq' in the iotests 2019-07-23 15:53:25 +01:00
035.out qemu-iotests: Remove traling whitespaces in *.out 2014-12-12 16:52:33 +00:00
036 qcow2: Avoid feature name extension on small cluster size 2020-03-26 14:44:33 +01:00
036.out qcow2: QcowHeaderExtension print names for extension magics 2020-06-09 15:47:10 -05:00
037 iotests: Disable broken streamOptimized tests 2019-09-03 14:55:35 +02:00
037.out iotests: 037: Use TEST_IMG override instead of "mv" 2016-01-07 21:30:17 +01:00
038 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
038.out iotests: 038: Use TEST_IMG override instead of "mv" 2016-01-07 21:30:17 +01:00
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/041: Skip test_small_target for qed 2020-06-17 16:21:21 +02:00
041.out iotests: Mirror with different source/target size 2020-05-18 19:05:25 +02:00
042 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
042.out qemu-iotests: Remove traling whitespaces in *.out 2014-12-12 16:52:33 +00:00
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 block/qcow2: Add qcow2_refcount_area() 2017-07-11 17:45:02 +02:00
045 tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
045.out qemu-iotests: add tests for runtime fd passing via SCM rights 2013-09-12 10:12:47 +02:00
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 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
047.out qemu-iotests: Remove traling whitespaces in *.out 2014-12-12 16:52:33 +00:00
048 iotests: Disable data_file where it cannot be used 2020-01-06 13:43:07 +01:00
048.out block: enable testing of LUKS driver with block I/O tests 2016-05-12 15:33:24 +02:00
049 block: Error out on image creation with conflicting size options 2019-12-18 11:20:57 +01:00
049.out qemu_img: add cvtnum_full to print error reports 2020-05-18 11:02:05 -05:00
050 iotests: Use _rm_test_img for deleting test images 2020-01-06 13:43:07 +01:00
050.out iotests: 050: Use TEST_IMG override instead of "mv" 2016-01-07 21:30:17 +01:00
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 iotests: Fix 051 output after qdev_init_nofail() removal 2020-07-03 10:06:29 +02:00
052 block: Comment cleanups 2020-05-05 13:17:36 +02:00
052.out block: enable testing of LUKS driver with block I/O tests 2016-05-12 15:33:24 +02:00
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 qemu-iotests: Remove traling whitespaces in *.out 2014-12-12 16:52:33 +00:00
055 iotests/055: Use cache.no-flush for vmdk target 2020-05-08 13:26:35 +02:00
055.out iotests: Backup with different source/target size 2020-05-08 13:26:35 +02:00
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 qemu-iotests: add 057 internal snapshot for block device test case 2013-09-12 10:12:47 +02:00
058 tests/qemu-iotests: use AIOMODE with various tests 2020-01-30 21:01:40 +00:00
058.out qemu-iotests: add test for snapshot in qemu-img convert 2013-12-04 15:19:00 +01:00
059 iotests: vmdk: Enable zeroed_grained=on by default 2020-05-08 13:26:35 +02: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: introduce compression type feature 2020-05-13 14:20:31 +02:00
061 qcow2: Allow resize of images with internal snapshots 2020-05-05 13:17:36 +02:00
061.out qcow2: QcowHeaderExtension print names for extension magics 2020-06-09 15:47:10 -05:00
062 iotests: Disable data_file where it cannot be used 2020-01-06 13:43:07 +01:00
062.out qemu-iotests: Remove traling whitespaces in *.out 2014-12-12 16:52:33 +00:00
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 iotests: Lower 064's memory usage 2015-01-23 12:41:32 -05:00
065 qcow2: introduce compression type feature 2020-05-13 14:20:31 +02:00
065.out qemu-iotests: Additional info from qemu-img info 2013-10-11 16:49:50 +02:00
066 iotests: Disable data_file where it cannot be used 2020-01-06 13:43:07 +01:00
066.out iotests: Extend test 066 2017-05-11 12:08:24 +02:00
067 iotests: Disable data_file where it cannot be used 2020-01-06 13:43:07 +01:00
067.out block-backend: Set werror/rerror defaults in blk_new() 2018-10-01 19:13:46 +02:00
068 iotests: Disable data_file where it cannot be used 2020-01-06 13:43:07 +01:00
068.out snapshot/tests: Try loadvm twice 2017-09-06 15:19:01 +01:00
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 qmp: Split ShutdownCause host-qmp into quit and system-reset 2018-12-18 07:55:47 +01:00
072 iotests: Disable broken streamOptimized tests 2019-09-03 14:55:35 +02:00
072.out qemu-iotests: Remove traling whitespaces in *.out 2014-12-12 16:52:33 +00:00
073 iotests: Disable data_file where it cannot be used 2020-01-06 13:43:07 +01:00
073.out opts: produce valid command line in qemu_opts_print 2015-09-11 10:21:38 +03:00
074 iotests: Disable data_file where it cannot be used 2020-01-06 13:43:07 +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 iotests: Replace IMGOPTS= by -o 2020-01-06 13:43:07 +01:00
079.out opts: produce valid command line in qemu_opts_print 2015-09-11 10:21:38 +03:00
080 qcow2: introduce compression type feature 2020-05-13 14:20:31 +02: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/082: require bochs 2020-05-08 13:26:35 +02:00
082.out qcow2: introduce compression type feature 2020-05-13 14:20:31 +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: Fix cleanup path in some tests 2020-03-24 11:57:38 +01:00
085.out qcow2: introduce compression type feature 2020-05-13 14:20:31 +02:00
086 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
086.out qemu-iotests: Remove traling whitespaces in *.out 2014-12-12 16:52:33 +00:00
087 iotests: Fix cleanup path in some tests 2020-03-24 11:57:38 +01:00
087.out qmp: Split ShutdownCause host-qmp into quit and system-reset 2018-12-18 07:55:47 +01:00
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 qemu-iotests: Remove traling whitespaces in *.out 2014-12-12 16:52:33 +00:00
091 iotests: handle tmpfs 2020-05-08 13:26:35 +02: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 qemu-iotests: Test removing a throttle group member with a pending timer 2018-08-15 12:50:39 +02:00
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 throttle: test that snapshots move the throttling configuration 2015-10-16 15:34:29 +02:00
097 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
097.out iotests: Improve image-clear tests on non-aligned image 2017-04-03 17:11:40 +02:00
098 iotests: Disable data_file where it cannot be used 2020-01-06 13:43:07 +01:00
098.out block: Use blk_make_empty() after commits 2020-05-18 19:05:25 +02:00
099 iotests: Disable data_file where it cannot be used 2020-01-06 13:43:07 +01:00
099.out qemu-iotests: Remove traling whitespaces in *.out 2014-12-12 16:52:33 +00:00
101 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
101.out qemu-iotests: add test case 101 for short file I/O 2014-08-22 11:01:12 +02:00
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 vmdk: Fix integer overflow in offset calculation 2014-10-03 10:30:33 +01:00
106 iotests: Replace IMGOPTS= by -o 2020-01-06 13:43:07 +01:00
106.out iotests: Test preallocated truncate of 2G image 2018-04-03 17:39:37 +02:00
107 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
107.out qemu-iotests: Remove traling whitespaces in *.out 2014-12-12 16:52:33 +00:00
108 iotests: Disable data_file where it cannot be used 2020-01-06 13:43:07 +01:00
108.out qemu-iotests: Remove traling whitespaces in *.out 2014-12-12 16:52:33 +00:00
109 iotests/109: Don't mirror with mismatched size 2020-05-18 19:05:24 +02:00
109.out iotests/109: Don't mirror with mismatched size 2020-05-18 19:05:24 +02: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 qemu-img: Check for backing image if specified during create 2017-07-18 15:27:37 +02:00
112 iotests: Disable data_file where it cannot be used 2020-01-06 13:43:07 +01:00
112.out block: Add Error parameter to bdrv_amend_options 2018-06-11 16:18:45 +02:00
113 iotests/113: mark bochs as required to support whitelisting 2020-05-08 13:26:35 +02:00
113.out iotests: Rework 113 2018-06-11 16:18:45 +02:00
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 opts: produce valid command line in qemu_opts_print 2015-09-11 10:21:38 +03:00
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 iotests.py: Add skip_for_formats() decorator 2020-06-17 16:21:21 +02: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 qmp: Split ShutdownCause host-qmp into quit and system-reset 2018-12-18 07:55:47 +01:00
120 iotests: Check for enabled drivers before testing them 2019-09-03 14:56:06 +02:00
120.out qmp: Split ShutdownCause host-qmp into quit and system-reset 2018-12-18 07:55:47 +01:00
121 iotests: Disable data_file where it cannot be used 2020-01-06 13:43:07 +01:00
121.out qcow2: Reset free_cluster_index when allocating a new refcount block 2018-03-26 12:16:00 +02:00
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 iotests: Add test for qemu-img convert to NBD 2015-02-16 15:07:18 +00:00
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 qcow2: Fix preallocation on images with unaligned sizes 2020-07-06 08:33:06 +02:00
125.out qcow2: Fix preallocation on images with unaligned sizes 2020-07-06 08:33:06 +02:00
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 iotests: add O_DIRECT alignment probing test 2015-03-10 14:02:24 +01:00
129 tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
129.out qemu-iotests: Test that "stop" doesn't drain block jobs 2015-04-28 15:36:09 +02:00
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 qemu-iotests: Add test case for mirror with unmap 2015-07-02 10:06:23 +01:00
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 block: Comment cleanups 2020-05-05 13:17:36 +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 block: qemu-iotests - add check for multiplication overflow in vpc 2015-07-27 17:19:07 +02:00
136 tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
136.out block: Remove bdrv_aio_multiwrite() 2016-05-19 16:45:31 +02:00
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 qemu-iotests/139: Avoid blockdev-add with id 2016-09-23 13:45:36 +02:00
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 qemu-iotests: Filter HMP readline escape characters 2017-04-27 15:39:49 +02:00
143 nbd/server: Avoid long error message assertions CVE-2020-10761 2020-06-10 12:58:59 -05:00
143.out nbd/server: Avoid long error message assertions CVE-2020-10761 2020-06-10 12:58:59 -05:00
144 iotests: Use _rm_test_img for deleting test images 2020-01-06 13:43:07 +01:00
144.out qcow2: introduce compression type feature 2020-05-13 14:20:31 +02:00
145 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
145.out qemu-iotests: Filter HMP readline escape characters 2017-04-27 15:39:49 +02:00
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/147: Fix drive parameters 2020-02-20 16:43:42 +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/148: use skip_if_unsupported 2020-05-08 13:26:35 +02:00
148.out iotests: Test QUORUM_REPORT_BAD in fifo mode 2016-03-17 16:43:30 +01:00
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 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 iotests: Test case for drive-mirror with unaligned image size 2016-04-20 16:52:55 +02:00
153 Fix iotest 153 2020-05-05 13:17:36 +02:00
153.out Fix iotest 153 2020-05-05 13:17:36 +02:00
154 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
154.out block: Exploit BDRV_BLOCK_EOF for larger zero blocks 2017-06-30 21:48:06 +08:00
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 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
157.out iotests: fix remainining tests to work with LUKS 2017-07-11 17:44:59 +02:00
158 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
158.out qcow2: convert QCow2 to use QCryptoBlock for encryption 2017-07-11 17:44:56 +02:00
159 iotests: Use _rm_test_img for deleting test images 2020-01-06 13:43:07 +01:00
159.out qemu-img: add the 'dd' subcommand 2016-09-20 22:10:57 +02:00
160 iotests: Use _rm_test_img for deleting test images 2020-01-06 13:43:07 +01:00
160.out qemu-img: add skip option to dd 2016-09-20 22:10:57 +02:00
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 qemu-iotests: add shrinking image test 2017-09-26 15:00:32 +02:00
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 qemu-img: add the 'dd' subcommand 2016-09-20 22:10:57 +02:00
171 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
171.out qemu-iotests: test 'offset' and 'size' options in raw driver 2016-10-31 16:52:39 +01:00
172 fdc: Reject clash between -drive if=floppy and -global isa-fdc 2020-06-23 16:07:07 +02:00
172.out qdev: Reject drive property override 2020-06-23 16:07:07 +02:00
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 qemu-io: Add failure regression tests 2017-02-12 00:47:42 +01:00
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 qmp: Split ShutdownCause host-qmp into quit and system-reset 2018-12-18 07:55:47 +01:00
177 qcow2: Forbid discard in qcow2 v2 images with backing files 2020-04-07 13:51:09 +02:00
177.out iotests: Split 177 into two parts for compat=0.10 2018-01-23 12:34:43 +01:00
178 qemu-img: allow qemu-img measure --object without a filename 2020-03-11 12:42:29 +01:00
178.out.qcow2 qcow2: Expose bitmaps' size during measure 2020-05-28 13:16:16 -05:00
178.out.raw iotests: Fix test 178 2020-05-28 13:15:23 -05:00
179 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
179.out iotests: Add test 179 to cover write zeroes with unmap 2017-05-11 14:28:07 +02:00
181 tests/qemu-iotests: use AIOMODE with various tests 2020-01-30 21:01:40 +00:00
181.out iotests: fix 181: enable postcopy-ram capability on target 2017-09-26 14:46:23 +02:00
182 iotests: Use _rm_test_img for deleting test images 2020-01-06 13:43:07 +01:00
182.out qcow2: introduce compression type feature 2020-05-13 14:20:31 +02: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 qmp: Split ShutdownCause host-qmp into quit and system-reset 2018-12-18 07:55:47 +01:00
185 tests/qemu-iotests: use AIOMODE with various tests 2020-01-30 21:01:40 +00:00
185.out qcow2: introduce compression type feature 2020-05-13 14:20:31 +02: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 block: Comment cleanups 2020-05-05 13:17:36 +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 qcow2: add iotests to cover LUKS encryption support 2017-07-11 17:44:56 +02:00
190 iotests/{190,291}: compat=0.10 is unsupported 2020-06-17 16:21:21 +02:00
190.out qcow2: Expose bitmaps' size during measure 2020-05-28 13:16:16 -05:00
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: 194: wait for migration completion on target too 2020-06-09 17:05:50 -05:00
194.out iotests: 194: wait for migration completion on target too 2020-06-09 17:05:50 -05:00
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 iotests: test clearing unknown autoclear_features by qcow2 2017-11-17 18:06:21 +01:00
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 qcow2: introduce compression type feature 2020-05-13 14:20:31 +02:00
199 tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
199.out iotests: add dirty bitmap postcopy test 2018-03-13 17:06:32 -04:00
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 tests/qemu-iotests: adding savevm/loadvm with postcopy flag test 2018-01-23 12:33:07 +01:00
202 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
202.out iotests: Unify log outputs between Python 2 and 3 2018-10-30 21:13:54 -03:00
203 iotests: add script_initialize 2020-05-05 13:17:36 +02: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: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
205.out iotest 205: new test for qmp nbd-server-remove 2018-01-26 09:37:21 -06:00
206 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
206.out qcow2: introduce compression type feature 2020-05-13 14:20:31 +02:00
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 iotests: Unify log outputs between Python 2 and 3 2018-10-30 21:13:54 -03:00
209 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
209.out nbd/client: Report offsets in bdrv_block_status 2019-03-30 20:52:29 -05:00
210 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
210.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
211 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
211.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
212 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
212.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
213 iotests: add script_initialize 2020-05-05 13:17:36 +02: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 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
216.out iotests: Unify log outputs between Python 2 and 3 2018-10-30 21:13:54 -03:00
217 iotests: Disable data_file where it cannot be used 2020-01-06 13:43:07 +01:00
217.out iotests: Repairing error during snapshot deletion 2018-06-11 16:18:45 +02:00
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 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 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
222.out iotests: Unify log outputs between Python 2 and 3 2018-10-30 21:13:54 -03:00
223 iotests: Enhance 223 to cover qemu-img map improvements 2020-05-18 11:02:05 -05:00
223.out iotests: Enhance 223 to cover qemu-img map improvements 2020-05-18 11:02:05 -05:00
224 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
224.out iotests: Test json:{} filenames of internal BDSs 2019-02-25 15:11:27 +01:00
225 iotests: Use _rm_test_img for deleting test images 2020-01-06 13:43:07 +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 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 block: Purify .bdrv_refresh_filename() 2019-02-25 15:11:27 +01:00
229 iotests/229: data_file is unsupported 2020-06-17 16:21:21 +02:00
229.out iotests/229: Use blkdebug to inject an error 2020-05-18 19:05:24 +02:00
231 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
231.out block/rbd: add iotest for rbd legacy keyvalue filename parsing 2018-09-24 23:46:05 -04:00
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 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
234.out iotests: Make 234 stable 2019-02-01 13:46:44 +01:00
235 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
235.out iotests: simple mirror test with kvm on 1G image 2018-12-03 16:51:53 +01:00
236 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
236.out block/dirty-bitmap: add recording and busy properties 2019-03-12 12:05:48 -04:00
237 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
237.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
238 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
238.out iotests: add 238 for throttling tgm unregister iothread segfault 2019-01-24 10:02:28 +00:00
239 tests/qemu-iotests: Do not hard-code the path to bash 2019-05-21 10:10:33 +02:00
239.out qemu-iotests: add test case for dmg 2019-02-01 13:46:44 +01:00
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 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
242.out qcow2: introduce compression type feature 2020-05-13 14:20:31 +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 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 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 iotests: add script_initialize 2020-05-05 13:17:36 +02: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 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 qcow2: introduce compression type feature 2020-05-13 14:20:31 +02:00
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: introduce compression type feature 2020-05-13 14:20:31 +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 qcow2: introduce compression type feature 2020-05-13 14:20:31 +02: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/283: Use consistent size for source and target 2020-05-08 13:26:35 +02:00
283.out iotests/283: Use consistent size for source and target 2020-05-08 13:26:35 +02: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
287 iotests: 287: add qcow2 compression type test 2020-05-13 14:20:31 +02:00
287.out iotests: 287: add qcow2 compression type test 2020-05-13 14:20:31 +02: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
291 iotests: don't test qcow2.py inside 291 2020-06-24 10:00:04 +02:00
291.out iotests: don't test qcow2.py inside 291 2020-06-24 10:00:04 +02:00
292 iotests/292: data_file is unsupported 2020-06-17 16:21:21 +02:00
292.out qcow2: Avoid integer wraparound in qcow2_co_truncate() 2020-05-08 13:26:35 +02:00
297 iotests: Run pylint and mypy in a testcase 2020-05-18 19:05:25 +02:00
297.out iotests: Run pylint and mypy in a testcase 2020-05-18 19:05:25 +02:00
Makefile iotests: record separate timings per format,protocol pair 2017-02-12 00:47:42 +01:00
README doc: Fix mailing list address in tests/qemu-iotests/README 2016-06-16 15:19:55 +02:00
check iotests: vmdk: Enable zeroed_grained=on by default 2020-05-08 13:26:35 +02:00
common.config qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
common.filter iotests/109: Don't mirror with mismatched size 2020-05-18 19:05:24 +02: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: handle tmpfs 2020-05-08 13:26:35 +02:00
common.tls qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
group iotests: Add test 291 to for qemu-img bitmap coverage 2020-05-28 13:16:30 -05:00
iotests.py iotests.py: Do not wait() before communicate() 2020-07-03 09:54:07 +02:00
nbd-fault-injector.py python: remove more instances of sys.version_info 2020-05-31 18:25:07 +02:00
pylintrc iotests: limit line length to 79 chars 2020-05-05 13:17:36 +02:00
qcow2.py iotests: Add copyright line in qcow2.py 2020-06-17 16:21:21 +02:00
qcow2_format.py iotests: Add copyright line in qcow2.py 2020-06-17 16:21:21 +02:00
qed.py drop "from __future__ import print_function" 2020-02-07 15:15:16 +01:00
socket_scm_helper.c socket_scm_helper: Accept fd directly 2016-10-27 19:05:23 +02:00

README

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

* Intro

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

* Usage

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

* Feedback and patches

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