xref: /openbmc/qemu/tests/qemu-iotests/031.out (revision 25f6dc28a3a8dd231c2c092a0e65bd796353c769)
1f394f1feSKevin WolfQA output created by 031
2f394f1feSKevin Wolf
31042ec94SKevin Wolf===== Testing with -o compat=0.10 =====
41042ec94SKevin Wolf
5f394f1feSKevin Wolf=== Create image with unknown header extension ===
6f394f1feSKevin Wolf
77299550bSKevin WolfFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
8f394f1feSKevin Wolfmagic                     0x514649fb
9f394f1feSKevin Wolfversion                   2
10f394f1feSKevin Wolfbacking_file_offset       0x0
11f394f1feSKevin Wolfbacking_file_size         0x0
12f394f1feSKevin Wolfcluster_bits              16
13f394f1feSKevin Wolfsize                      67108864
14f394f1feSKevin Wolfcrypt_method              0
15f394f1feSKevin Wolfl1_size                   1
16f394f1feSKevin Wolfl1_table_offset           0x30000
17f394f1feSKevin Wolfrefcount_table_offset     0x10000
18f394f1feSKevin Wolfrefcount_table_clusters   1
19f394f1feSKevin Wolfnb_snapshots              0
20f394f1feSKevin Wolfsnapshot_offset           0x0
210485e6eeSMax Reitzincompatible_features     []
220485e6eeSMax Reitzcompatible_features       []
230485e6eeSMax Reitzautoclear_features        []
241042ec94SKevin Wolfrefcount_order            4
251042ec94SKevin Wolfheader_length             72
26f394f1feSKevin Wolf
27f394f1feSKevin WolfHeader extension:
28aef87784SVladimir Sementsov-Ogievskiymagic                     0x12345678 (<unknown>)
29f394f1feSKevin Wolflength                    31
30f394f1feSKevin Wolfdata                      'This is a test header extension'
31f394f1feSKevin Wolf
32f394f1feSKevin WolfNo errors were found on the image.
33f394f1feSKevin Wolf
34f394f1feSKevin Wolf=== Rewrite header with no backing file ===
35f394f1feSKevin Wolf
36f394f1feSKevin Wolfmagic                     0x514649fb
37f394f1feSKevin Wolfversion                   2
38f394f1feSKevin Wolfbacking_file_offset       0x0
39f394f1feSKevin Wolfbacking_file_size         0x0
40f394f1feSKevin Wolfcluster_bits              16
41f394f1feSKevin Wolfsize                      67108864
42f394f1feSKevin Wolfcrypt_method              0
43f394f1feSKevin Wolfl1_size                   1
44f394f1feSKevin Wolfl1_table_offset           0x30000
45f394f1feSKevin Wolfrefcount_table_offset     0x10000
46f394f1feSKevin Wolfrefcount_table_clusters   1
47f394f1feSKevin Wolfnb_snapshots              0
48f394f1feSKevin Wolfsnapshot_offset           0x0
490485e6eeSMax Reitzincompatible_features     []
500485e6eeSMax Reitzcompatible_features       []
510485e6eeSMax Reitzautoclear_features        []
521042ec94SKevin Wolfrefcount_order            4
531042ec94SKevin Wolfheader_length             72
541042ec94SKevin Wolf
551042ec94SKevin WolfHeader extension:
56aef87784SVladimir Sementsov-Ogievskiymagic                     0x12345678 (<unknown>)
57f394f1feSKevin Wolflength                    31
58f394f1feSKevin Wolfdata                      'This is a test header extension'
59f394f1feSKevin Wolf
60f394f1feSKevin WolfNo errors were found on the image.
61f394f1feSKevin Wolf
62f394f1feSKevin Wolf=== Add a backing file and format ===
63f394f1feSKevin Wolf
64f394f1feSKevin Wolfmagic                     0x514649fb
65f394f1feSKevin Wolfversion                   2
661a4828c7SKevin Wolfbacking_file_offset       0x90
67f394f1feSKevin Wolfbacking_file_size         0x17
68f394f1feSKevin Wolfcluster_bits              16
69f394f1feSKevin Wolfsize                      67108864
70f394f1feSKevin Wolfcrypt_method              0
71f394f1feSKevin Wolfl1_size                   1
72f394f1feSKevin Wolfl1_table_offset           0x30000
73f394f1feSKevin Wolfrefcount_table_offset     0x10000
74f394f1feSKevin Wolfrefcount_table_clusters   1
75f394f1feSKevin Wolfnb_snapshots              0
76f394f1feSKevin Wolfsnapshot_offset           0x0
770485e6eeSMax Reitzincompatible_features     []
780485e6eeSMax Reitzcompatible_features       []
790485e6eeSMax Reitzautoclear_features        []
801042ec94SKevin Wolfrefcount_order            4
811042ec94SKevin Wolfheader_length             72
82f394f1feSKevin Wolf
83f394f1feSKevin WolfHeader extension:
84aef87784SVladimir Sementsov-Ogievskiymagic                     0xe2792aca (Backing format)
85f394f1feSKevin Wolflength                    11
86f394f1feSKevin Wolfdata                      'host_device'
87f394f1feSKevin Wolf
88f394f1feSKevin WolfHeader extension:
89aef87784SVladimir Sementsov-Ogievskiymagic                     0x12345678 (<unknown>)
901042ec94SKevin Wolflength                    31
911042ec94SKevin Wolfdata                      'This is a test header extension'
921042ec94SKevin Wolf
931042ec94SKevin Wolf
941042ec94SKevin Wolf===== Testing with -o compat=1.1 =====
951042ec94SKevin Wolf
961042ec94SKevin Wolf=== Create image with unknown header extension ===
971042ec94SKevin Wolf
981042ec94SKevin WolfFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
991042ec94SKevin Wolfmagic                     0x514649fb
1001042ec94SKevin Wolfversion                   3
1011042ec94SKevin Wolfbacking_file_offset       0x0
1021042ec94SKevin Wolfbacking_file_size         0x0
1031042ec94SKevin Wolfcluster_bits              16
1041042ec94SKevin Wolfsize                      67108864
1051042ec94SKevin Wolfcrypt_method              0
1061042ec94SKevin Wolfl1_size                   1
1071042ec94SKevin Wolfl1_table_offset           0x30000
1081042ec94SKevin Wolfrefcount_table_offset     0x10000
1091042ec94SKevin Wolfrefcount_table_clusters   1
1101042ec94SKevin Wolfnb_snapshots              0
1111042ec94SKevin Wolfsnapshot_offset           0x0
1120485e6eeSMax Reitzincompatible_features     []
1130485e6eeSMax Reitzcompatible_features       []
1140485e6eeSMax Reitzautoclear_features        []
1151042ec94SKevin Wolfrefcount_order            4
116572ad978SDenis Plotnikovheader_length             112
1171042ec94SKevin Wolf
1181042ec94SKevin WolfHeader extension:
119aef87784SVladimir Sementsov-Ogievskiymagic                     0x6803f857 (Feature table)
120*7be20252SAlberto Garcialength                    384
121b527c9b3SKevin Wolfdata                      <binary>
122b527c9b3SKevin Wolf
123b527c9b3SKevin WolfHeader extension:
124aef87784SVladimir Sementsov-Ogievskiymagic                     0x12345678 (<unknown>)
1251042ec94SKevin Wolflength                    31
1261042ec94SKevin Wolfdata                      'This is a test header extension'
1271042ec94SKevin Wolf
1281042ec94SKevin WolfNo errors were found on the image.
1291042ec94SKevin Wolf
1301042ec94SKevin Wolf=== Rewrite header with no backing file ===
1311042ec94SKevin Wolf
1321042ec94SKevin Wolfmagic                     0x514649fb
1331042ec94SKevin Wolfversion                   3
1341042ec94SKevin Wolfbacking_file_offset       0x0
1351042ec94SKevin Wolfbacking_file_size         0x0
1361042ec94SKevin Wolfcluster_bits              16
1371042ec94SKevin Wolfsize                      67108864
1381042ec94SKevin Wolfcrypt_method              0
1391042ec94SKevin Wolfl1_size                   1
1401042ec94SKevin Wolfl1_table_offset           0x30000
1411042ec94SKevin Wolfrefcount_table_offset     0x10000
1421042ec94SKevin Wolfrefcount_table_clusters   1
1431042ec94SKevin Wolfnb_snapshots              0
1441042ec94SKevin Wolfsnapshot_offset           0x0
1450485e6eeSMax Reitzincompatible_features     []
1460485e6eeSMax Reitzcompatible_features       []
1470485e6eeSMax Reitzautoclear_features        []
1481042ec94SKevin Wolfrefcount_order            4
149572ad978SDenis Plotnikovheader_length             112
1501042ec94SKevin Wolf
1511042ec94SKevin WolfHeader extension:
152aef87784SVladimir Sementsov-Ogievskiymagic                     0x6803f857 (Feature table)
153*7be20252SAlberto Garcialength                    384
154c61d0004SStefan Hajnoczidata                      <binary>
1551042ec94SKevin Wolf
1561042ec94SKevin WolfHeader extension:
157aef87784SVladimir Sementsov-Ogievskiymagic                     0x12345678 (<unknown>)
1581042ec94SKevin Wolflength                    31
1591042ec94SKevin Wolfdata                      'This is a test header extension'
1601042ec94SKevin Wolf
1611042ec94SKevin WolfNo errors were found on the image.
1621042ec94SKevin Wolf
1631042ec94SKevin Wolf=== Add a backing file and format ===
1641042ec94SKevin Wolf
1651042ec94SKevin Wolfmagic                     0x514649fb
1661042ec94SKevin Wolfversion                   3
167*7be20252SAlberto Garciabacking_file_offset       0x240
1681042ec94SKevin Wolfbacking_file_size         0x17
1691042ec94SKevin Wolfcluster_bits              16
1701042ec94SKevin Wolfsize                      67108864
1711042ec94SKevin Wolfcrypt_method              0
1721042ec94SKevin Wolfl1_size                   1
1731042ec94SKevin Wolfl1_table_offset           0x30000
1741042ec94SKevin Wolfrefcount_table_offset     0x10000
1751042ec94SKevin Wolfrefcount_table_clusters   1
1761042ec94SKevin Wolfnb_snapshots              0
1771042ec94SKevin Wolfsnapshot_offset           0x0
1780485e6eeSMax Reitzincompatible_features     []
1790485e6eeSMax Reitzcompatible_features       []
1800485e6eeSMax Reitzautoclear_features        []
1811042ec94SKevin Wolfrefcount_order            4
182572ad978SDenis Plotnikovheader_length             112
1831042ec94SKevin Wolf
1841042ec94SKevin WolfHeader extension:
185aef87784SVladimir Sementsov-Ogievskiymagic                     0xe2792aca (Backing format)
1861042ec94SKevin Wolflength                    11
1871042ec94SKevin Wolfdata                      'host_device'
1881042ec94SKevin Wolf
1891042ec94SKevin WolfHeader extension:
190aef87784SVladimir Sementsov-Ogievskiymagic                     0x6803f857 (Feature table)
191*7be20252SAlberto Garcialength                    384
192c61d0004SStefan Hajnoczidata                      <binary>
1931042ec94SKevin Wolf
1941042ec94SKevin WolfHeader extension:
195aef87784SVladimir Sementsov-Ogievskiymagic                     0x12345678 (<unknown>)
196f394f1feSKevin Wolflength                    31
197f394f1feSKevin Wolfdata                      'This is a test header extension'
198f394f1feSKevin Wolf
199f394f1feSKevin Wolf*** done
200