blob: 4f3871d33717dac8ce6afa7e01407090048fe234 [file] [log] [blame]
Stefan Hajnoczi05560fc2014-03-26 13:05:24 +01001QA output created by 075
2
3== check that the first sector can be read ==
4read 512/512 bytes at offset 0
5512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
Stefan Hajnoczid65f97a2014-03-26 13:05:25 +01006
Stefan Hajnoczi42d43d32014-03-26 13:05:29 +01007== check that the last sector can be read ==
8read 512/512 bytes at offset 1048064
9512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
10
Stefan Hajnoczid65f97a2014-03-26 13:05:25 +010011== block_size must be a multiple of 512 ==
Thomas Huth36b99862019-04-28 17:54:44 +020012qemu-io: can't open device TEST_DIR/simple-pattern.cloop: block_size 513 must be a multiple of 512
Stefan Hajnoczid65f97a2014-03-26 13:05:25 +010013
14== block_size cannot be zero ==
Thomas Huth36b99862019-04-28 17:54:44 +020015qemu-io: can't open device TEST_DIR/simple-pattern.cloop: block_size cannot be zero
Stefan Hajnoczid65f97a2014-03-26 13:05:25 +010016
17== huge block_size ===
Thomas Huth36b99862019-04-28 17:54:44 +020018qemu-io: can't open device TEST_DIR/simple-pattern.cloop: block_size 4294966784 must be 64 MB or less
Stefan Hajnoczi509a41b2014-03-26 13:05:26 +010019
20== offsets_size overflow ===
Thomas Huth36b99862019-04-28 17:54:44 +020021qemu-io: can't open device TEST_DIR/simple-pattern.cloop: n_blocks 4294967295 must be 536870911 or less
Stefan Hajnoczi7b103b32014-03-26 13:05:27 +010022
23== refuse images that require too many offsets ===
Thomas Huth36b99862019-04-28 17:54:44 +020024qemu-io: can't open device TEST_DIR/simple-pattern.cloop: image requires too many offsets, try increasing block size
Stefan Hajnoczif56b9bc2014-03-26 13:05:28 +010025
26== refuse images with non-monotonically increasing offsets ==
Thomas Huth36b99862019-04-28 17:54:44 +020027qemu-io: can't open device TEST_DIR/simple-pattern.cloop: offsets not monotonically increasing at index 1, image file is corrupt
Stefan Hajnoczif56b9bc2014-03-26 13:05:28 +010028
29== refuse images with invalid compressed block size ==
Thomas Huth36b99862019-04-28 17:54:44 +020030qemu-io: can't open device TEST_DIR/simple-pattern.cloop: invalid compressed block size at index 1, image file is corrupt
Stefan Hajnoczi05560fc2014-03-26 13:05:24 +010031*** done