1QA output created by 080 2 3== Huge header size == 4Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 5qemu-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 7 8== Huge unknown header extension == 9Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 10qemu-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 13 14== Huge refcount table size == 15Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 16qemu-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 18 19== Misaligned refcount table == 20Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 21qemu-io: can'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 25qemu-io: can'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 29qemu-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 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 42qemu-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 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 53qemu-io: can'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: Failed to turn zero into data clusters: Invalid argument 69qemu-io: Failed 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: Failed to turn zero into data clusters: File too large 92qemu-io: Failed 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