Stefan Hajnoczi | 05560fc | 2014-03-26 13:05:24 +0100 | [diff] [blame] | 1 | QA output created by 075 |
| 2 | |
| 3 | == check that the first sector can be read == |
| 4 | read 512/512 bytes at offset 0 |
| 5 | 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) |
Stefan Hajnoczi | d65f97a | 2014-03-26 13:05:25 +0100 | [diff] [blame] | 6 | |
Stefan Hajnoczi | 42d43d3 | 2014-03-26 13:05:29 +0100 | [diff] [blame] | 7 | == check that the last sector can be read == |
| 8 | read 512/512 bytes at offset 1048064 |
| 9 | 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) |
| 10 | |
Stefan Hajnoczi | d65f97a | 2014-03-26 13:05:25 +0100 | [diff] [blame] | 11 | == block_size must be a multiple of 512 == |
Thomas Huth | 36b9986 | 2019-04-28 17:54:44 +0200 | [diff] [blame] | 12 | qemu-io: can't open device TEST_DIR/simple-pattern.cloop: block_size 513 must be a multiple of 512 |
Stefan Hajnoczi | d65f97a | 2014-03-26 13:05:25 +0100 | [diff] [blame] | 13 | |
| 14 | == block_size cannot be zero == |
Thomas Huth | 36b9986 | 2019-04-28 17:54:44 +0200 | [diff] [blame] | 15 | qemu-io: can't open device TEST_DIR/simple-pattern.cloop: block_size cannot be zero |
Stefan Hajnoczi | d65f97a | 2014-03-26 13:05:25 +0100 | [diff] [blame] | 16 | |
| 17 | == huge block_size === |
Thomas Huth | 36b9986 | 2019-04-28 17:54:44 +0200 | [diff] [blame] | 18 | qemu-io: can't open device TEST_DIR/simple-pattern.cloop: block_size 4294966784 must be 64 MB or less |
Stefan Hajnoczi | 509a41b | 2014-03-26 13:05:26 +0100 | [diff] [blame] | 19 | |
| 20 | == offsets_size overflow === |
Thomas Huth | 36b9986 | 2019-04-28 17:54:44 +0200 | [diff] [blame] | 21 | qemu-io: can't open device TEST_DIR/simple-pattern.cloop: n_blocks 4294967295 must be 536870911 or less |
Stefan Hajnoczi | 7b103b3 | 2014-03-26 13:05:27 +0100 | [diff] [blame] | 22 | |
| 23 | == refuse images that require too many offsets === |
Thomas Huth | 36b9986 | 2019-04-28 17:54:44 +0200 | [diff] [blame] | 24 | qemu-io: can't open device TEST_DIR/simple-pattern.cloop: image requires too many offsets, try increasing block size |
Stefan Hajnoczi | f56b9bc | 2014-03-26 13:05:28 +0100 | [diff] [blame] | 25 | |
| 26 | == refuse images with non-monotonically increasing offsets == |
Thomas Huth | 36b9986 | 2019-04-28 17:54:44 +0200 | [diff] [blame] | 27 | qemu-io: can't open device TEST_DIR/simple-pattern.cloop: offsets not monotonically increasing at index 1, image file is corrupt |
Stefan Hajnoczi | f56b9bc | 2014-03-26 13:05:28 +0100 | [diff] [blame] | 28 | |
| 29 | == refuse images with invalid compressed block size == |
Thomas Huth | 36b9986 | 2019-04-28 17:54:44 +0200 | [diff] [blame] | 30 | qemu-io: can't open device TEST_DIR/simple-pattern.cloop: invalid compressed block size at index 1, image file is corrupt |
Stefan Hajnoczi | 05560fc | 2014-03-26 13:05:24 +0100 | [diff] [blame] | 31 | *** done |