1QA output created by 080 2 3== Huge header size == 4Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 5can't open device TEST_DIR/t.qcow2: qcow2 header exceeds cluster size 6can't open device TEST_DIR/t.qcow2: qcow2 header exceeds cluster size 7 8== Huge unknown header extension == 9Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 10can't open device TEST_DIR/t.qcow2: Invalid backing file offset 11can't open device TEST_DIR/t.qcow2: Header extension too large 12can't open device TEST_DIR/t.qcow2: Header extension too large 13 14== Huge refcount table size == 15Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 16can't open device TEST_DIR/t.qcow2: Reference count table too large 17can't open device TEST_DIR/t.qcow2: Reference count table too large 18 19== Misaligned refcount table == 20Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 21can't open device TEST_DIR/t.qcow2: Reference count table offset invalid 22 23== Huge refcount offset == 24Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 25can't open device TEST_DIR/t.qcow2: Reference count table offset invalid 26 27== Invalid snapshot table == 28Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 29can't open device TEST_DIR/t.qcow2: Snapshot table too large 30can't open device TEST_DIR/t.qcow2: Snapshot table too large 31can't open device TEST_DIR/t.qcow2: Snapshot table offset invalid 32can't open device TEST_DIR/t.qcow2: Snapshot table offset invalid 33 34== Hitting snapshot table size limit == 35Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 36qemu-img: Could not create snapshot 'test': -27 (File too large) 37read 512/512 bytes at offset 0 38512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 39 40== Invalid L1 table == 41Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 42can't open device TEST_DIR/t.qcow2: Active L1 table too large 43can't open device TEST_DIR/t.qcow2: Active L1 table too large 44can't open device TEST_DIR/t.qcow2: Active L1 table offset invalid 45can't open device TEST_DIR/t.qcow2: Active L1 table offset invalid 46 47== Invalid L1 table (with internal snapshot in the image) == 48Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 49qemu-img: Could not open 'TEST_DIR/t.IMGFMT': L1 table is too small 50 51== Invalid backing file size == 52Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 53can't open device TEST_DIR/t.qcow2: Backing file name too long 54 55== Invalid L2 entry (huge physical offset) == 56Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 57wrote 512/512 bytes at offset 0 58512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 59qemu-img: Could not create snapshot 'test': -27 (File too large) 60qemu-img: Could not create snapshot 'test': -11 (Resource temporarily unavailable) 61 62== 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 67qemu-img: Snapshot L1 table offset invalid 68qemu-img: Error while amending options: Invalid argument 69Failed to flush the refcount block cache: Invalid argument 70write failed: Invalid argument 71qemu-img: Snapshot L1 table offset invalid 72qemu-img: Could not apply snapshot 'test': Failed to load snapshot: Invalid argument 73qemu-img: Could not delete snapshot 'test': Snapshot L1 table offset invalid 74ERROR 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. 84 85== Invalid snapshot L1 table size == 86Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 87wrote 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 90qemu-img: Snapshot L1 table too large 91qemu-img: Error while amending options: File too large 92Failed to flush the refcount block cache: File too large 93write failed: File too large 94qemu-img: Snapshot L1 table too large 95qemu-img: Could not apply snapshot 'test': Failed to load snapshot: File too large 96qemu-img: Could not delete snapshot 'test': Snapshot L1 table too large 97ERROR 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. 107*** done 108