xref: /qemu/tests/qemu-iotests/112.out (revision b0a6620a)
1d2eed8c6SMax ReitzQA output created by 112
2d2eed8c6SMax Reitz
3d2eed8c6SMax Reitz=== refcount_bits limits ===
4d2eed8c6SMax Reitz
5d2eed8c6SMax ReitzFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
6d2eed8c6SMax Reitzqemu-img: TEST_DIR/t.IMGFMT: Refcount width must be a power of two and may not exceed 64 bits
757ee95edSMax ReitzFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
8d2eed8c6SMax Reitzqemu-img: TEST_DIR/t.IMGFMT: Refcount width must be a power of two and may not exceed 64 bits
9d2eed8c6SMax ReitzFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
10d2eed8c6SMax Reitzqemu-img: TEST_DIR/t.IMGFMT: Refcount width must be a power of two and may not exceed 64 bits
11d2eed8c6SMax ReitzFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
124e2f4418SEric Blakeqemu-img: TEST_DIR/t.IMGFMT: Refcount width must be a power of two and may not exceed 64 bits
13d2eed8c6SMax ReitzFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
14d2eed8c6SMax Reitzrefcount bits: 1
15d2eed8c6SMax ReitzFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
16d2eed8c6SMax Reitzrefcount bits: 64
17d2eed8c6SMax ReitzFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
18d2eed8c6SMax Reitzrefcount bits: 16
19d2eed8c6SMax Reitz
20d2eed8c6SMax Reitz=== refcount_bits and compat=0.10 ===
21d2eed8c6SMax Reitz
22d2eed8c6SMax ReitzFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
23d2eed8c6SMax Reitzrefcount bits: 16
24d2eed8c6SMax ReitzFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
25b76b4f60SKevin Wolfqemu-img: TEST_DIR/t.IMGFMT: Different refcount widths than 16 bits require compatibility level 1.1 or above (use version=v3 or greater)
26d2eed8c6SMax ReitzFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
274e2f4418SEric Blakeqemu-img: TEST_DIR/t.IMGFMT: Different refcount widths than 16 bits require compatibility level 1.1 or above (use version=v3 or greater)
28d2eed8c6SMax Reitz
29d2eed8c6SMax Reitz=== Snapshot limit on refcount_bits=1 ===
30d2eed8c6SMax Reitz
31d2eed8c6SMax ReitzFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
32d2eed8c6SMax Reitzrefcount bits: 1
33d2eed8c6SMax Reitzwrote 512/512 bytes at offset 0
34d2eed8c6SMax Reitz512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
35b0a6620aSMichael Tokarevqemu-img: Could not create snapshot 'foo': Invalid argument
36d2eed8c6SMax ReitzLeaked cluster 6 refcount=1 reference=0
37d2eed8c6SMax Reitz
38d2eed8c6SMax Reitz1 leaked clusters were found on the image.
39d2eed8c6SMax ReitzThis means waste of disk space, but no harm to data.
40d2eed8c6SMax Reitz
41d2eed8c6SMax Reitz=== Snapshot limit on refcount_bits=2 ===
42d2eed8c6SMax Reitz
43d2eed8c6SMax ReitzFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
44d2eed8c6SMax Reitzrefcount bits: 2
45d2eed8c6SMax Reitzwrote 512/512 bytes at offset 0
46d2eed8c6SMax Reitz512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
47b0a6620aSMichael Tokarevqemu-img: Could not create snapshot 'baz': Invalid argument
48d2eed8c6SMax ReitzLeaked cluster 7 refcount=1 reference=0
49d2eed8c6SMax Reitz
50d2eed8c6SMax Reitz1 leaked clusters were found on the image.
51d2eed8c6SMax ReitzThis means waste of disk space, but no harm to data.
52d2eed8c6SMax Reitz
53d2eed8c6SMax Reitz=== Compressed clusters with refcount_bits=1 ===
54d2eed8c6SMax Reitz
55d2eed8c6SMax ReitzFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
56d2eed8c6SMax Reitzrefcount bits: 1
57d2eed8c6SMax Reitzwrote 65536/65536 bytes at offset 0
58d2eed8c6SMax Reitz64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
59d2eed8c6SMax Reitzwrote 65536/65536 bytes at offset 65536
60d2eed8c6SMax Reitz64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
61d2eed8c6SMax ReitzNo errors were found on the image.
62d2eed8c6SMax Reitz
63d2eed8c6SMax Reitz=== MSb set in 64 bit refcount ===
64d2eed8c6SMax Reitz
65d2eed8c6SMax ReitzFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
66d2eed8c6SMax Reitzrefcount bits: 64
67d2eed8c6SMax Reitzwrote 512/512 bytes at offset 0
68d2eed8c6SMax Reitz512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
69d2eed8c6SMax Reitzwrote 512/512 bytes at offset 0
70d2eed8c6SMax Reitz512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
71d2eed8c6SMax Reitz
72d2eed8c6SMax Reitz=== Snapshot on maximum 64 bit refcount value ===
73d2eed8c6SMax Reitz
74d2eed8c6SMax ReitzFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
75d2eed8c6SMax Reitzrefcount bits: 64
76d2eed8c6SMax Reitzwrote 512/512 bytes at offset 0
77d2eed8c6SMax Reitz512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
78b0a6620aSMichael Tokarevqemu-img: Could not create snapshot 'foo': Invalid argument
79d2eed8c6SMax ReitzLeaked cluster 5 refcount=18446744073709551615 reference=1
80d2eed8c6SMax ReitzLeaked cluster 6 refcount=1 reference=0
81d2eed8c6SMax Reitz
82d2eed8c6SMax Reitz2 leaked clusters were found on the image.
83d2eed8c6SMax ReitzThis means waste of disk space, but no harm to data.
84e9dbdc5eSMax Reitz
85e9dbdc5eSMax Reitz=== Amend from refcount_bits=16 to refcount_bits=1 ===
86e9dbdc5eSMax Reitz
87e9dbdc5eSMax ReitzFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
88e9dbdc5eSMax Reitzrefcount bits: 16
89e9dbdc5eSMax Reitzwrote 33554432/33554432 bytes at offset 16777216
90e9dbdc5eSMax Reitz32 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
91e9dbdc5eSMax ReitzNo errors were found on the image.
92e9dbdc5eSMax Reitzrefcount bits: 1
93e9dbdc5eSMax Reitz
94e9dbdc5eSMax Reitz=== Amend from refcount_bits=1 to refcount_bits=64 ===
95e9dbdc5eSMax Reitz
96e9dbdc5eSMax ReitzNo errors were found on the image.
97e9dbdc5eSMax Reitzrefcount bits: 64
98e9dbdc5eSMax Reitz
99e9dbdc5eSMax Reitz=== Amend to compat=0.10 ===
100e9dbdc5eSMax Reitz
101e9dbdc5eSMax Reitzqemu-img: compat=0.10 requires refcount_bits=16
102e9dbdc5eSMax Reitzrefcount bits: 64
103e9dbdc5eSMax ReitzNo errors were found on the image.
104e9dbdc5eSMax Reitzrefcount bits: 16
105e9dbdc5eSMax Reitzrefcount bits: 16
106d1402b50SMax Reitzqemu-img: Refcount widths other than 16 bits require compatibility level 1.1 or above (use compat=1.1 or greater)
107e9dbdc5eSMax Reitzrefcount bits: 16
108e9dbdc5eSMax Reitz
109e9dbdc5eSMax Reitz=== Amend with snapshot ===
110e9dbdc5eSMax Reitz
111e9dbdc5eSMax Reitzwrote 16777216/16777216 bytes at offset 0
112e9dbdc5eSMax Reitz16 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
113e9dbdc5eSMax Reitzqemu-img: Cannot decrease refcount entry width to 1 bits: Cluster at offset 0x50000 has a refcount of 2
114e9dbdc5eSMax ReitzNo errors were found on the image.
115e9dbdc5eSMax Reitzrefcount bits: 16
116e9dbdc5eSMax ReitzNo errors were found on the image.
117e9dbdc5eSMax Reitzrefcount bits: 2
118e9dbdc5eSMax Reitz
119e9dbdc5eSMax Reitz=== Testing too many references for check ===
120e9dbdc5eSMax Reitz
121e9dbdc5eSMax ReitzFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
122e9dbdc5eSMax Reitzrefcount bits: 1
123e9dbdc5eSMax Reitzwrote 65536/65536 bytes at offset 0
124e9dbdc5eSMax Reitz64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
125e9dbdc5eSMax ReitzERROR: overflow cluster offset=0x50000
126e9dbdc5eSMax ReitzUse qemu-img amend to increase the refcount entry width or qemu-img convert to create a clean copy if the image cannot be opened for writing
127e9dbdc5eSMax Reitz
128e9dbdc5eSMax Reitz1 errors were found on the image.
129e9dbdc5eSMax ReitzData may be corrupted, or further writes to the image may corrupt it.
130e9dbdc5eSMax Reitzrefcount bits: 2
131e9dbdc5eSMax ReitzERROR cluster 5 refcount=1 reference=2
132e9dbdc5eSMax ReitzRepairing cluster 5 refcount=1 reference=2
133e9dbdc5eSMax ReitzRepairing OFLAG_COPIED data cluster: l2_entry=8000000000050000 refcount=2
134e9dbdc5eSMax ReitzRepairing OFLAG_COPIED data cluster: l2_entry=8000000000050000 refcount=2
135e9dbdc5eSMax ReitzThe following inconsistencies were found and repaired:
136e9dbdc5eSMax Reitz
137e9dbdc5eSMax Reitz    0 leaked clusters
138e9dbdc5eSMax Reitz    3 corruptions
139e9dbdc5eSMax Reitz
140e9dbdc5eSMax ReitzDouble checking the fixed image now...
141e9dbdc5eSMax ReitzNo errors were found on the image.
142e9dbdc5eSMax Reitz
143e9dbdc5eSMax Reitz=== Multiple walks necessary during amend ===
144e9dbdc5eSMax Reitz
145e9dbdc5eSMax ReitzFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=65536
146e9dbdc5eSMax Reitzwrote 29696/29696 bytes at offset 0
147e9dbdc5eSMax Reitz29 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
148e9dbdc5eSMax Reitz    (66.67/100%)
149e9dbdc5eSMax Reitz    (50.00/100%)
150e9dbdc5eSMax Reitzrefcount bits: 64
151e9dbdc5eSMax ReitzNo errors were found on the image.
152d2eed8c6SMax Reitz*** done
153