1 QA output created by 112
3 === refcount_bits limits ===
5 qemu-img: TEST_DIR/t.IMGFMT: Refcount width must be a power of two and may not exceed 64 bits
6 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
7 qemu-img: TEST_DIR/t.IMGFMT: Refcount width must be a power of two and may not exceed 64 bits
8 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 refcount_bits=-1
9 qemu-img: TEST_DIR/t.IMGFMT: Refcount width must be a power of two and may not exceed 64 bits
10 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
11 qemu-img: TEST_DIR/t.IMGFMT: Refcount width must be a power of two and may not exceed 64 bits
12 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
13 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
15 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
17 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
20 === refcount_bits and compat=0.10 ===
22 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
24 qemu-img: TEST_DIR/t.IMGFMT: Different refcount widths than 16 bits require compatibility level 1.1 or above (use compat=1.1 or greater)
25 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
26 qemu-img: TEST_DIR/t.IMGFMT: Different refcount widths than 16 bits require compatibility level 1.1 or above (use compat=1.1 or greater)
27 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
29 === Snapshot limit on refcount_bits=1 ===
31 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
33 wrote 512/512 bytes at offset 0
34 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
35 qemu-img: Could not create snapshot 'foo': -22 (Invalid argument)
36 Leaked cluster 6 refcount=1 reference=0
38 1 leaked clusters were found on the image.
39 This means waste of disk space, but no harm to data.
41 === Snapshot limit on refcount_bits=2 ===
43 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
45 wrote 512/512 bytes at offset 0
46 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
47 qemu-img: Could not create snapshot 'baz': -22 (Invalid argument)
48 Leaked cluster 7 refcount=1 reference=0
50 1 leaked clusters were found on the image.
51 This means waste of disk space, but no harm to data.
53 === Compressed clusters with refcount_bits=1 ===
55 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
57 wrote 65536/65536 bytes at offset 0
58 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
59 wrote 65536/65536 bytes at offset 65536
60 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
61 No errors were found on the image.
63 === MSb set in 64 bit refcount ===
65 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
67 wrote 512/512 bytes at offset 0
68 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
69 wrote 512/512 bytes at offset 0
70 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
72 === Snapshot on maximum 64 bit refcount value ===
74 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
76 wrote 512/512 bytes at offset 0
77 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
78 qemu-img: Could not create snapshot 'foo': -22 (Invalid argument)
79 Leaked cluster 5 refcount=18446744073709551615 reference=1
80 Leaked cluster 6 refcount=1 reference=0
82 2 leaked clusters were found on the image.
83 This means waste of disk space, but no harm to data.