Statistics
| Branch: | Revision:

root / tests / qemu-iotests / 031.out @ 814589c4

History | View | Annotate | Download (5.4 kB)

1 f394f1fe Kevin Wolf
QA output created by 031
2 f394f1fe Kevin Wolf
3 1042ec94 Kevin Wolf
===== Testing with -o compat=0.10 =====
4 1042ec94 Kevin Wolf
5 f394f1fe Kevin Wolf
=== Create image with unknown header extension ===
6 f394f1fe Kevin Wolf
7 7299550b Kevin Wolf
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 
8 f394f1fe Kevin Wolf
magic                     0x514649fb
9 f394f1fe Kevin Wolf
version                   2
10 f394f1fe Kevin Wolf
backing_file_offset       0x0
11 f394f1fe Kevin Wolf
backing_file_size         0x0
12 f394f1fe Kevin Wolf
cluster_bits              16
13 f394f1fe Kevin Wolf
size                      67108864
14 f394f1fe Kevin Wolf
crypt_method              0
15 f394f1fe Kevin Wolf
l1_size                   1
16 f394f1fe Kevin Wolf
l1_table_offset           0x30000
17 f394f1fe Kevin Wolf
refcount_table_offset     0x10000
18 f394f1fe Kevin Wolf
refcount_table_clusters   1
19 f394f1fe Kevin Wolf
nb_snapshots              0
20 f394f1fe Kevin Wolf
snapshot_offset           0x0
21 1042ec94 Kevin Wolf
incompatible_features     0x0
22 1042ec94 Kevin Wolf
compatible_features       0x0
23 1042ec94 Kevin Wolf
autoclear_features        0x0
24 1042ec94 Kevin Wolf
refcount_order            4
25 1042ec94 Kevin Wolf
header_length             72
26 f394f1fe Kevin Wolf
27 f394f1fe Kevin Wolf
Header extension:
28 f394f1fe Kevin Wolf
magic                     0x12345678
29 f394f1fe Kevin Wolf
length                    31
30 f394f1fe Kevin Wolf
data                      'This is a test header extension'
31 f394f1fe Kevin Wolf
32 f394f1fe Kevin Wolf
No errors were found on the image.
33 f394f1fe Kevin Wolf
34 f394f1fe Kevin Wolf
=== Rewrite header with no backing file ===
35 f394f1fe Kevin Wolf
36 f394f1fe Kevin Wolf
magic                     0x514649fb
37 f394f1fe Kevin Wolf
version                   2
38 f394f1fe Kevin Wolf
backing_file_offset       0x0
39 f394f1fe Kevin Wolf
backing_file_size         0x0
40 f394f1fe Kevin Wolf
cluster_bits              16
41 f394f1fe Kevin Wolf
size                      67108864
42 f394f1fe Kevin Wolf
crypt_method              0
43 f394f1fe Kevin Wolf
l1_size                   1
44 f394f1fe Kevin Wolf
l1_table_offset           0x30000
45 f394f1fe Kevin Wolf
refcount_table_offset     0x10000
46 f394f1fe Kevin Wolf
refcount_table_clusters   1
47 f394f1fe Kevin Wolf
nb_snapshots              0
48 f394f1fe Kevin Wolf
snapshot_offset           0x0
49 1042ec94 Kevin Wolf
incompatible_features     0x0
50 1042ec94 Kevin Wolf
compatible_features       0x0
51 1042ec94 Kevin Wolf
autoclear_features        0x0
52 1042ec94 Kevin Wolf
refcount_order            4
53 1042ec94 Kevin Wolf
header_length             72
54 1042ec94 Kevin Wolf
55 1042ec94 Kevin Wolf
Header extension:
56 1042ec94 Kevin Wolf
magic                     0x6803f857
57 1042ec94 Kevin Wolf
length                    0
58 1042ec94 Kevin Wolf
data                      ''
59 f394f1fe Kevin Wolf
60 f394f1fe Kevin Wolf
Header extension:
61 f394f1fe Kevin Wolf
magic                     0x12345678
62 f394f1fe Kevin Wolf
length                    31
63 f394f1fe Kevin Wolf
data                      'This is a test header extension'
64 f394f1fe Kevin Wolf
65 f394f1fe Kevin Wolf
No errors were found on the image.
66 f394f1fe Kevin Wolf
67 f394f1fe Kevin Wolf
=== Add a backing file and format ===
68 f394f1fe Kevin Wolf
69 f394f1fe Kevin Wolf
magic                     0x514649fb
70 f394f1fe Kevin Wolf
version                   2
71 1042ec94 Kevin Wolf
backing_file_offset       0x98
72 1042ec94 Kevin Wolf
backing_file_size         0x17
73 1042ec94 Kevin Wolf
cluster_bits              16
74 1042ec94 Kevin Wolf
size                      67108864
75 1042ec94 Kevin Wolf
crypt_method              0
76 1042ec94 Kevin Wolf
l1_size                   1
77 1042ec94 Kevin Wolf
l1_table_offset           0x30000
78 1042ec94 Kevin Wolf
refcount_table_offset     0x10000
79 1042ec94 Kevin Wolf
refcount_table_clusters   1
80 1042ec94 Kevin Wolf
nb_snapshots              0
81 1042ec94 Kevin Wolf
snapshot_offset           0x0
82 1042ec94 Kevin Wolf
incompatible_features     0x0
83 1042ec94 Kevin Wolf
compatible_features       0x0
84 1042ec94 Kevin Wolf
autoclear_features        0x0
85 1042ec94 Kevin Wolf
refcount_order            4
86 1042ec94 Kevin Wolf
header_length             72
87 1042ec94 Kevin Wolf
88 1042ec94 Kevin Wolf
Header extension:
89 1042ec94 Kevin Wolf
magic                     0xe2792aca
90 1042ec94 Kevin Wolf
length                    11
91 1042ec94 Kevin Wolf
data                      'host_device'
92 1042ec94 Kevin Wolf
93 1042ec94 Kevin Wolf
Header extension:
94 1042ec94 Kevin Wolf
magic                     0x6803f857
95 1042ec94 Kevin Wolf
length                    0
96 1042ec94 Kevin Wolf
data                      ''
97 1042ec94 Kevin Wolf
98 1042ec94 Kevin Wolf
Header extension:
99 1042ec94 Kevin Wolf
magic                     0x12345678
100 1042ec94 Kevin Wolf
length                    31
101 1042ec94 Kevin Wolf
data                      'This is a test header extension'
102 1042ec94 Kevin Wolf
103 1042ec94 Kevin Wolf
104 1042ec94 Kevin Wolf
===== Testing with -o compat=1.1 =====
105 1042ec94 Kevin Wolf
106 1042ec94 Kevin Wolf
=== Create image with unknown header extension ===
107 1042ec94 Kevin Wolf
108 1042ec94 Kevin Wolf
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 
109 1042ec94 Kevin Wolf
magic                     0x514649fb
110 1042ec94 Kevin Wolf
version                   3
111 1042ec94 Kevin Wolf
backing_file_offset       0x0
112 1042ec94 Kevin Wolf
backing_file_size         0x0
113 1042ec94 Kevin Wolf
cluster_bits              16
114 1042ec94 Kevin Wolf
size                      67108864
115 1042ec94 Kevin Wolf
crypt_method              0
116 1042ec94 Kevin Wolf
l1_size                   1
117 1042ec94 Kevin Wolf
l1_table_offset           0x30000
118 1042ec94 Kevin Wolf
refcount_table_offset     0x10000
119 1042ec94 Kevin Wolf
refcount_table_clusters   1
120 1042ec94 Kevin Wolf
nb_snapshots              0
121 1042ec94 Kevin Wolf
snapshot_offset           0x0
122 1042ec94 Kevin Wolf
incompatible_features     0x0
123 1042ec94 Kevin Wolf
compatible_features       0x0
124 1042ec94 Kevin Wolf
autoclear_features        0x0
125 1042ec94 Kevin Wolf
refcount_order            4
126 1042ec94 Kevin Wolf
header_length             104
127 1042ec94 Kevin Wolf
128 1042ec94 Kevin Wolf
Header extension:
129 1042ec94 Kevin Wolf
magic                     0x12345678
130 1042ec94 Kevin Wolf
length                    31
131 1042ec94 Kevin Wolf
data                      'This is a test header extension'
132 1042ec94 Kevin Wolf
133 1042ec94 Kevin Wolf
No errors were found on the image.
134 1042ec94 Kevin Wolf
135 1042ec94 Kevin Wolf
=== Rewrite header with no backing file ===
136 1042ec94 Kevin Wolf
137 1042ec94 Kevin Wolf
magic                     0x514649fb
138 1042ec94 Kevin Wolf
version                   3
139 1042ec94 Kevin Wolf
backing_file_offset       0x0
140 1042ec94 Kevin Wolf
backing_file_size         0x0
141 1042ec94 Kevin Wolf
cluster_bits              16
142 1042ec94 Kevin Wolf
size                      67108864
143 1042ec94 Kevin Wolf
crypt_method              0
144 1042ec94 Kevin Wolf
l1_size                   1
145 1042ec94 Kevin Wolf
l1_table_offset           0x30000
146 1042ec94 Kevin Wolf
refcount_table_offset     0x10000
147 1042ec94 Kevin Wolf
refcount_table_clusters   1
148 1042ec94 Kevin Wolf
nb_snapshots              0
149 1042ec94 Kevin Wolf
snapshot_offset           0x0
150 1042ec94 Kevin Wolf
incompatible_features     0x0
151 1042ec94 Kevin Wolf
compatible_features       0x0
152 1042ec94 Kevin Wolf
autoclear_features        0x0
153 1042ec94 Kevin Wolf
refcount_order            4
154 1042ec94 Kevin Wolf
header_length             104
155 1042ec94 Kevin Wolf
156 1042ec94 Kevin Wolf
Header extension:
157 1042ec94 Kevin Wolf
magic                     0x6803f857
158 1042ec94 Kevin Wolf
length                    0
159 1042ec94 Kevin Wolf
data                      ''
160 1042ec94 Kevin Wolf
161 1042ec94 Kevin Wolf
Header extension:
162 1042ec94 Kevin Wolf
magic                     0x12345678
163 1042ec94 Kevin Wolf
length                    31
164 1042ec94 Kevin Wolf
data                      'This is a test header extension'
165 1042ec94 Kevin Wolf
166 1042ec94 Kevin Wolf
No errors were found on the image.
167 1042ec94 Kevin Wolf
168 1042ec94 Kevin Wolf
=== Add a backing file and format ===
169 1042ec94 Kevin Wolf
170 1042ec94 Kevin Wolf
magic                     0x514649fb
171 1042ec94 Kevin Wolf
version                   3
172 1042ec94 Kevin Wolf
backing_file_offset       0xb8
173 f394f1fe Kevin Wolf
backing_file_size         0x17
174 f394f1fe Kevin Wolf
cluster_bits              16
175 f394f1fe Kevin Wolf
size                      67108864
176 f394f1fe Kevin Wolf
crypt_method              0
177 f394f1fe Kevin Wolf
l1_size                   1
178 f394f1fe Kevin Wolf
l1_table_offset           0x30000
179 f394f1fe Kevin Wolf
refcount_table_offset     0x10000
180 f394f1fe Kevin Wolf
refcount_table_clusters   1
181 f394f1fe Kevin Wolf
nb_snapshots              0
182 f394f1fe Kevin Wolf
snapshot_offset           0x0
183 1042ec94 Kevin Wolf
incompatible_features     0x0
184 1042ec94 Kevin Wolf
compatible_features       0x0
185 1042ec94 Kevin Wolf
autoclear_features        0x0
186 1042ec94 Kevin Wolf
refcount_order            4
187 1042ec94 Kevin Wolf
header_length             104
188 f394f1fe Kevin Wolf
189 f394f1fe Kevin Wolf
Header extension:
190 f394f1fe Kevin Wolf
magic                     0xe2792aca
191 f394f1fe Kevin Wolf
length                    11
192 f394f1fe Kevin Wolf
data                      'host_device'
193 f394f1fe Kevin Wolf
194 f394f1fe Kevin Wolf
Header extension:
195 1042ec94 Kevin Wolf
magic                     0x6803f857
196 1042ec94 Kevin Wolf
length                    0
197 1042ec94 Kevin Wolf
data                      ''
198 1042ec94 Kevin Wolf
199 1042ec94 Kevin Wolf
Header extension:
200 f394f1fe Kevin Wolf
magic                     0x12345678
201 f394f1fe Kevin Wolf
length                    31
202 f394f1fe Kevin Wolf
data                      'This is a test header extension'
203 f394f1fe Kevin Wolf
204 f394f1fe Kevin Wolf
*** done