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 6no file open, try 'help open' 7can't open device TEST_DIR/t.qcow2: qcow2 header exceeds cluster size 8no file open, try 'help open' 9 10== Huge unknown header extension == 11Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 12can't open device TEST_DIR/t.qcow2: Invalid backing file offset 13no file open, try 'help open' 14can't open device TEST_DIR/t.qcow2: Header extension too large 15no file open, try 'help open' 16can't open device TEST_DIR/t.qcow2: Header extension too large 17no file open, try 'help open' 18 19== Huge refcount table size == 20Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 21can't open device TEST_DIR/t.qcow2: Reference count table too large 22no file open, try 'help open' 23can't open device TEST_DIR/t.qcow2: Reference count table too large 24no file open, try 'help open' 25 26== Misaligned refcount table == 27Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 28can't open device TEST_DIR/t.qcow2: Invalid reference count table offset 29no file open, try 'help open' 30 31== Huge refcount offset == 32Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 33can't open device TEST_DIR/t.qcow2: Invalid reference count table offset 34no file open, try 'help open' 35 36== Invalid snapshot table == 37Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 38can't open device TEST_DIR/t.qcow2: Too many snapshots 39no file open, try 'help open' 40can't open device TEST_DIR/t.qcow2: Too many snapshots 41no file open, try 'help open' 42can't open device TEST_DIR/t.qcow2: Invalid snapshot table offset 43no file open, try 'help open' 44can't open device TEST_DIR/t.qcow2: Invalid snapshot table offset 45no file open, try 'help open' 46 47== Hitting snapshot table size limit == 48Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 49qemu-img: Could not create snapshot 'test': -27 (File too large) 50read 512/512 bytes at offset 0 51512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 52 53== Invalid L1 table == 54Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 55can't open device TEST_DIR/t.qcow2: Active L1 table too large 56no file open, try 'help open' 57can't open device TEST_DIR/t.qcow2: Active L1 table too large 58no file open, try 'help open' 59can't open device TEST_DIR/t.qcow2: Invalid L1 table offset 60no file open, try 'help open' 61can't open device TEST_DIR/t.qcow2: Invalid L1 table offset 62no file open, try 'help open' 63 64== Invalid L1 table (with internal snapshot in the image) == 65Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 66qemu-img: Could not open 'TEST_DIR/t.IMGFMT': L1 table is too small 67 68== Invalid backing file size == 69Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 70can't open device TEST_DIR/t.qcow2: Backing file name too long 71no file open, try 'help open' 72 73== Invalid L2 entry (huge physical offset) == 74Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 75wrote 512/512 bytes at offset 0 76512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 77qemu-img: Could not create snapshot 'test': -27 (File too large) 78qemu-img: Could not create snapshot 'test': -11 (Resource temporarily unavailable) 79 80== Invalid snapshot L1 table == 81Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 82wrote 512/512 bytes at offset 0 83512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 84qemu-img: Failed to load snapshot: Snapshot L1 table too large 85*** done 86