blob: d8acb3e723557cd2747e5ca02e6f346227ef0a29 [file] [log] [blame]
Kevin Wolf24342f22014-03-26 13:05:41 +01001QA output created by 080
2
3== Huge header size ==
Fam Zheng74864582014-12-09 15:38:03 +08004Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
Thomas Huth36b99862019-04-28 17:54:44 +02005qemu-io: can't open device TEST_DIR/t.qcow2: qcow2 header exceeds cluster size
6qemu-io: can't open device TEST_DIR/t.qcow2: qcow2 header exceeds cluster size
Kevin Wolfa1b3955c2014-03-26 13:05:42 +01007
8== Huge unknown header extension ==
Fam Zheng74864582014-12-09 15:38:03 +08009Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
Thomas Huth36b99862019-04-28 17:54:44 +020010qemu-io: can't open device TEST_DIR/t.qcow2: Invalid backing file offset
11qemu-io: can't open device TEST_DIR/t.qcow2: Header extension too large
12qemu-io: can't open device TEST_DIR/t.qcow2: Header extension too large
Kevin Wolf5dab2fa2014-03-26 13:05:43 +010013
14== Huge refcount table size ==
Fam Zheng74864582014-12-09 15:38:03 +080015Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
Thomas Huth36b99862019-04-28 17:54:44 +020016qemu-io: can't open device TEST_DIR/t.qcow2: Reference count table too large
17qemu-io: can't open device TEST_DIR/t.qcow2: Reference count table too large
Kevin Wolf8c7de282014-03-26 13:05:44 +010018
19== Misaligned refcount table ==
Fam Zheng74864582014-12-09 15:38:03 +080020Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
Thomas Huth36b99862019-04-28 17:54:44 +020021qemu-io: can't open device TEST_DIR/t.qcow2: Reference count table offset invalid
Kevin Wolf8c7de282014-03-26 13:05:44 +010022
23== Huge refcount offset ==
Fam Zheng74864582014-12-09 15:38:03 +080024Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
Thomas Huth36b99862019-04-28 17:54:44 +020025qemu-io: can't open device TEST_DIR/t.qcow2: Reference count table offset invalid
Kevin Wolfce48f2f42014-03-26 13:05:45 +010026
27== Invalid snapshot table ==
Fam Zheng74864582014-12-09 15:38:03 +080028Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
Thomas Huth36b99862019-04-28 17:54:44 +020029qemu-io: can't open device TEST_DIR/t.qcow2: Snapshot table too large
30qemu-io: can't open device TEST_DIR/t.qcow2: Snapshot table too large
31qemu-io: can't open device TEST_DIR/t.qcow2: Snapshot table offset invalid
32qemu-io: can't open device TEST_DIR/t.qcow2: Snapshot table offset invalid
Kevin Wolfce48f2f42014-03-26 13:05:45 +010033
34== Hitting snapshot table size limit ==
Fam Zheng74864582014-12-09 15:38:03 +080035Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
Michael Tokarevb0a66202023-08-11 14:09:46 +030036qemu-img: Could not create snapshot 'test': File too large
Kevin Wolfce48f2f42014-03-26 13:05:45 +010037read 512/512 bytes at offset 0
38512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
Kevin Wolf2d51c322014-03-26 13:05:46 +010039
40== Invalid L1 table ==
Fam Zheng74864582014-12-09 15:38:03 +080041Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
Thomas Huth36b99862019-04-28 17:54:44 +020042qemu-io: can't open device TEST_DIR/t.qcow2: Active L1 table too large
43qemu-io: can't open device TEST_DIR/t.qcow2: Active L1 table too large
44qemu-io: can't open device TEST_DIR/t.qcow2: Active L1 table offset invalid
45qemu-io: can't open device TEST_DIR/t.qcow2: Active L1 table offset invalid
Kevin Wolf6d33e8e2014-03-26 13:05:47 +010046
Kevin Wolf11b128f2014-03-26 13:06:04 +010047== Invalid L1 table (with internal snapshot in the image) ==
Fam Zheng74864582014-12-09 15:38:03 +080048Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
Kevin Wolf11b128f2014-03-26 13:06:04 +010049qemu-img: Could not open 'TEST_DIR/t.IMGFMT': L1 table is too small
50
Kevin Wolf6d33e8e2014-03-26 13:05:47 +010051== Invalid backing file size ==
Fam Zheng74864582014-12-09 15:38:03 +080052Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
Thomas Huth36b99862019-04-28 17:54:44 +020053qemu-io: can't open device TEST_DIR/t.qcow2: Backing file name too long
Kevin Wolfb106ad92014-03-28 18:06:31 +010054
55== Invalid L2 entry (huge physical offset) ==
Fam Zheng74864582014-12-09 15:38:03 +080056Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
Kevin Wolfb106ad92014-03-28 18:06:31 +010057wrote 512/512 bytes at offset 0
58512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
Michael Tokarevb0a66202023-08-11 14:09:46 +030059qemu-img: Could not create snapshot 'test': File too large
60qemu-img: Could not create snapshot 'test': Resource temporarily unavailable
Kevin Wolf6a83f8b2014-03-26 13:06:06 +010061
Alberto Garcia314e8d32018-03-06 18:14:07 +020062== Invalid snapshot L1 table offset ==
63Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
64wrote 512/512 bytes at offset 0
65512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
66qemu-img: Failed to load snapshot: Snapshot L1 table offset invalid
Alberto Garciac9a442e2018-03-06 18:14:08 +020067qemu-img: Snapshot L1 table offset invalid
Max Reitzd1402b52018-05-09 23:00:18 +020068qemu-img: Failed to turn zero into data clusters: Invalid argument
Thomas Huth36b99862019-04-28 17:54:44 +020069qemu-io: Failed to flush the refcount block cache: Invalid argument
Alberto Garciac7a9d812018-03-06 18:14:09 +020070write failed: Invalid argument
Alberto Garciaa8475d72018-03-06 18:14:10 +020071qemu-img: Snapshot L1 table offset invalid
72qemu-img: Could not apply snapshot 'test': Failed to load snapshot: Invalid argument
Alberto Garciadb5794f2018-03-06 18:14:11 +020073qemu-img: Could not delete snapshot 'test': Snapshot L1 table offset invalid
Alberto Garcia0c2ada82018-03-06 18:14:12 +020074ERROR snapshot 1 (test) l1_offset=0x400200: L1 table is not cluster aligned; snapshot table entry corrupted
75Leaked cluster 4 refcount=2 reference=1
76Leaked cluster 5 refcount=2 reference=1
77Leaked cluster 6 refcount=1 reference=0
78
791 errors were found on the image.
80Data may be corrupted, or further writes to the image may corrupt it.
81
823 leaked clusters were found on the image.
83This means waste of disk space, but no harm to data.
Alberto Garcia314e8d32018-03-06 18:14:07 +020084
85== Invalid snapshot L1 table size ==
Fam Zheng74864582014-12-09 15:38:03 +080086Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
Kevin Wolf6a83f8b2014-03-26 13:06:06 +010087wrote 512/512 bytes at offset 0
88512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
89qemu-img: Failed to load snapshot: Snapshot L1 table too large
Alberto Garciac9a442e2018-03-06 18:14:08 +020090qemu-img: Snapshot L1 table too large
Max Reitzd1402b52018-05-09 23:00:18 +020091qemu-img: Failed to turn zero into data clusters: File too large
Thomas Huth36b99862019-04-28 17:54:44 +020092qemu-io: Failed to flush the refcount block cache: File too large
Alberto Garciac7a9d812018-03-06 18:14:09 +020093write failed: File too large
Alberto Garciaa8475d72018-03-06 18:14:10 +020094qemu-img: Snapshot L1 table too large
95qemu-img: Could not apply snapshot 'test': Failed to load snapshot: File too large
Alberto Garciadb5794f2018-03-06 18:14:11 +020096qemu-img: Could not delete snapshot 'test': Snapshot L1 table too large
Alberto Garcia0c2ada82018-03-06 18:14:12 +020097ERROR snapshot 1 (test) l1_size=0x10000000: L1 table is too large; snapshot table entry corrupted
98Leaked cluster 4 refcount=2 reference=1
99Leaked cluster 5 refcount=2 reference=1
100Leaked cluster 6 refcount=1 reference=0
101
1021 errors were found on the image.
103Data may be corrupted, or further writes to the image may corrupt it.
104
1053 leaked clusters were found on the image.
106This means waste of disk space, but no harm to data.
Kevin Wolf24342f22014-03-26 13:05:41 +0100107*** done