xref: /openbmc/qemu/tests/qemu-iotests/178.out.raw (revision 2068cabd)
1QA output created by 178
2== Input validation ==
3
4Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824
5qemu-img: Either --size N or one filename must be specified.
6qemu-img: --size N cannot be used together with a filename.
7qemu-img: At most one filename argument is allowed.
8qemu-img: Either --size N or one filename must be specified.
9qemu-img: --image-opts, -f, and -l require a filename argument.
10qemu-img: --image-opts, -f, and -l require a filename argument.
11qemu-img: --image-opts, -f, and -l require a filename argument.
12qemu-img: Invalid option list: ,
13qemu-img: Invalid parameter 'snapshot.foo'
14qemu-img: Failed in parsing snapshot param 'snapshot.foo=bar'
15qemu-img: --output must be used with human or json as argument.
16qemu-img: Invalid image size specified. You may use k, M, G, T, P or E suffixes for
17qemu-img: kilobytes, megabytes, gigabytes, terabytes, petabytes and exabytes.
18qemu-img: Unknown file format 'foo'
19
20== Size calculation for a new file (human) ==
21
22required size: 0
23fully allocated size: 0
24required size: 2147483648
25fully allocated size: 2147483648
26required size: 68719476736
27fully allocated size: 68719476736
28required size: 274877906944
29fully allocated size: 274877906944
30required size: 1099511627776
31fully allocated size: 1099511627776
32required size: 2251799813685248
33fully allocated size: 2251799813685248
34required size: 8070450532247928832
35fully allocated size: 8070450532247928832
36
37== Empty raw input image (human) ==
38
39Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=0
40required size: 0
41fully allocated size: 0
42
43converted image file size in bytes: 0
44
45== raw input image with data (human) ==
46
47Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824
48required size: 1073741824
49fully allocated size: 1073741824
50wrote 512/512 bytes at offset 512
51512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
52wrote 65536/65536 bytes at offset 65536
5364 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
54wrote 64512/64512 bytes at offset 134217728
5563 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
56required size: 1073741824
57fully allocated size: 1073741824
58
59converted image file size in bytes: 1073741824
60
61== raw input image and preallocation (human) ==
62
63required size: 1073741824
64fully allocated size: 1073741824
65
66converted image file size in bytes: 1073741824
67
68== Fully-allocated raw input image (human) ==
69
70Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=8388608
71wrote 8388608/8388608 bytes at offset 0
728 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
73required size: 8388608
74fully allocated size: 8388608
75
76converted image file size in bytes: 8388608
77
78== Size calculation for a new file (json) ==
79
80{
81    "required": 0,
82    "fully-allocated": 0
83}
84{
85    "required": 2147483648,
86    "fully-allocated": 2147483648
87}
88{
89    "required": 68719476736,
90    "fully-allocated": 68719476736
91}
92{
93    "required": 274877906944,
94    "fully-allocated": 274877906944
95}
96{
97    "required": 1099511627776,
98    "fully-allocated": 1099511627776
99}
100{
101    "required": 2251799813685248,
102    "fully-allocated": 2251799813685248
103}
104{
105    "required": 8070450532247928832,
106    "fully-allocated": 8070450532247928832
107}
108
109== Empty raw input image (json) ==
110
111Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=0
112{
113    "required": 0,
114    "fully-allocated": 0
115}
116
117converted image file size in bytes: 0
118
119== raw input image with data (json) ==
120
121Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824
122{
123    "required": 1073741824,
124    "fully-allocated": 1073741824
125}
126wrote 512/512 bytes at offset 512
127512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
128wrote 65536/65536 bytes at offset 65536
12964 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
130wrote 64512/64512 bytes at offset 134217728
13163 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
132{
133    "required": 1073741824,
134    "fully-allocated": 1073741824
135}
136
137converted image file size in bytes: 1073741824
138
139== raw input image and preallocation (json) ==
140
141{
142    "required": 1073741824,
143    "fully-allocated": 1073741824
144}
145
146converted image file size in bytes: 1073741824
147
148== Fully-allocated raw input image (json) ==
149
150Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=8388608
151wrote 8388608/8388608 bytes at offset 0
1528 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
153{
154    "required": 8388608,
155    "fully-allocated": 8388608
156}
157
158converted image file size in bytes: 8388608
159*** done
160