Merge tag 'qemu-macppc-20230206' of https://github.com/mcayland/qemu into staging
[qemu.git] / tests / qemu-iotests / 031.out
blob0054c2ed97de0813c374dc0ce3730b88eff69e45
1 QA output created by 031
3 ===== Testing with -o compat=0.10 =====
5 === Create image with unknown header extension ===
7 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
8 magic                     0x514649fb
9 version                   2
10 backing_file_offset       0x0
11 backing_file_size         0x0
12 cluster_bits              16
13 size                      67108864
14 crypt_method              0
15 l1_size                   1
16 l1_table_offset           0x30000
17 refcount_table_offset     0x10000
18 refcount_table_clusters   1
19 nb_snapshots              0
20 snapshot_offset           0x0
21 incompatible_features     []
22 compatible_features       []
23 autoclear_features        []
24 refcount_order            4
25 header_length             72
27 Header extension:
28 magic                     0x12345678 (<unknown>)
29 length                    31
30 data                      'This is a test header extension'
32 No errors were found on the image.
34 === Rewrite header with no backing file ===
36 magic                     0x514649fb
37 version                   2
38 backing_file_offset       0x0
39 backing_file_size         0x0
40 cluster_bits              16
41 size                      67108864
42 crypt_method              0
43 l1_size                   1
44 l1_table_offset           0x30000
45 refcount_table_offset     0x10000
46 refcount_table_clusters   1
47 nb_snapshots              0
48 snapshot_offset           0x0
49 incompatible_features     []
50 compatible_features       []
51 autoclear_features        []
52 refcount_order            4
53 header_length             72
55 Header extension:
56 magic                     0x12345678 (<unknown>)
57 length                    31
58 data                      'This is a test header extension'
60 No errors were found on the image.
62 === Add a backing file and format ===
64 magic                     0x514649fb
65 version                   2
66 backing_file_offset       0x90
67 backing_file_size         0x17
68 cluster_bits              16
69 size                      67108864
70 crypt_method              0
71 l1_size                   1
72 l1_table_offset           0x30000
73 refcount_table_offset     0x10000
74 refcount_table_clusters   1
75 nb_snapshots              0
76 snapshot_offset           0x0
77 incompatible_features     []
78 compatible_features       []
79 autoclear_features        []
80 refcount_order            4
81 header_length             72
83 Header extension:
84 magic                     0xe2792aca (Backing format)
85 length                    11
86 data                      'host_device'
88 Header extension:
89 magic                     0x12345678 (<unknown>)
90 length                    31
91 data                      'This is a test header extension'
94 ===== Testing with -o compat=1.1 =====
96 === Create image with unknown header extension ===
98 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
99 magic                     0x514649fb
100 version                   3
101 backing_file_offset       0x0
102 backing_file_size         0x0
103 cluster_bits              16
104 size                      67108864
105 crypt_method              0
106 l1_size                   1
107 l1_table_offset           0x30000
108 refcount_table_offset     0x10000
109 refcount_table_clusters   1
110 nb_snapshots              0
111 snapshot_offset           0x0
112 incompatible_features     []
113 compatible_features       []
114 autoclear_features        []
115 refcount_order            4
116 header_length             112
118 Header extension:
119 magic                     0x6803f857 (Feature table)
120 length                    384
121 data                      <binary>
123 Header extension:
124 magic                     0x12345678 (<unknown>)
125 length                    31
126 data                      'This is a test header extension'
128 No errors were found on the image.
130 === Rewrite header with no backing file ===
132 magic                     0x514649fb
133 version                   3
134 backing_file_offset       0x0
135 backing_file_size         0x0
136 cluster_bits              16
137 size                      67108864
138 crypt_method              0
139 l1_size                   1
140 l1_table_offset           0x30000
141 refcount_table_offset     0x10000
142 refcount_table_clusters   1
143 nb_snapshots              0
144 snapshot_offset           0x0
145 incompatible_features     []
146 compatible_features       []
147 autoclear_features        []
148 refcount_order            4
149 header_length             112
151 Header extension:
152 magic                     0x6803f857 (Feature table)
153 length                    384
154 data                      <binary>
156 Header extension:
157 magic                     0x12345678 (<unknown>)
158 length                    31
159 data                      'This is a test header extension'
161 No errors were found on the image.
163 === Add a backing file and format ===
165 magic                     0x514649fb
166 version                   3
167 backing_file_offset       0x240
168 backing_file_size         0x17
169 cluster_bits              16
170 size                      67108864
171 crypt_method              0
172 l1_size                   1
173 l1_table_offset           0x30000
174 refcount_table_offset     0x10000
175 refcount_table_clusters   1
176 nb_snapshots              0
177 snapshot_offset           0x0
178 incompatible_features     []
179 compatible_features       []
180 autoclear_features        []
181 refcount_order            4
182 header_length             112
184 Header extension:
185 magic                     0xe2792aca (Backing format)
186 length                    11
187 data                      'host_device'
189 Header extension:
190 magic                     0x6803f857 (Feature table)
191 length                    384
192 data                      <binary>
194 Header extension:
195 magic                     0x12345678 (<unknown>)
196 length                    31
197 data                      'This is a test header extension'
199 *** done