xref: /openbmc/qemu/tests/qemu-iotests/178.out.raw (revision bf616ce4)
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. Must be between 0 and 9223372036854775807.
17qemu-img: Unknown file format 'foo'
18
19== Size calculation for a new file (human) ==
20
21required size: 0
22fully allocated size: 0
23required size: 2147483648
24fully allocated size: 2147483648
25required size: 68719476736
26fully allocated size: 68719476736
27required size: 274877906944
28fully allocated size: 274877906944
29required size: 1099511627776
30fully allocated size: 1099511627776
31required size: 2251799813685248
32fully allocated size: 2251799813685248
33required size: 8070450532247928832
34fully allocated size: 8070450532247928832
35
36== Empty raw input image (human) ==
37
38Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=0
39required size: 0
40fully allocated size: 0
41
42converted image file size in bytes: 0
43
44== raw input image with data (human) ==
45
46Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824
47required size: 1073741824
48fully allocated size: 1073741824
49wrote 512/512 bytes at offset 512
50512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
51wrote 65536/65536 bytes at offset 65536
5264 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
53wrote 64512/64512 bytes at offset 134217728
5463 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
55required size: 1073741824
56fully allocated size: 1073741824
57
58converted image file size in bytes: 1073741824
59
60== raw input image and preallocation (human) ==
61
62required size: 1073741824
63fully allocated size: 1073741824
64
65converted image file size in bytes: 1073741824
66
67== Fully-allocated raw input image (human) ==
68
69Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=8388608
70wrote 8388608/8388608 bytes at offset 0
718 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
72required size: 8388608
73fully allocated size: 8388608
74
75converted image file size in bytes: 8388608
76
77== Size calculation for a new file (json) ==
78
79{
80    "required": 0,
81    "fully-allocated": 0
82}
83{
84    "required": 2147483648,
85    "fully-allocated": 2147483648
86}
87{
88    "required": 68719476736,
89    "fully-allocated": 68719476736
90}
91{
92    "required": 274877906944,
93    "fully-allocated": 274877906944
94}
95{
96    "required": 1099511627776,
97    "fully-allocated": 1099511627776
98}
99{
100    "required": 2251799813685248,
101    "fully-allocated": 2251799813685248
102}
103{
104    "required": 8070450532247928832,
105    "fully-allocated": 8070450532247928832
106}
107
108== Empty raw input image (json) ==
109
110Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=0
111{
112    "required": 0,
113    "fully-allocated": 0
114}
115
116converted image file size in bytes: 0
117
118== raw input image with data (json) ==
119
120Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824
121{
122    "required": 1073741824,
123    "fully-allocated": 1073741824
124}
125wrote 512/512 bytes at offset 512
126512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
127wrote 65536/65536 bytes at offset 65536
12864 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
129wrote 64512/64512 bytes at offset 134217728
13063 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
131{
132    "required": 1073741824,
133    "fully-allocated": 1073741824
134}
135
136converted image file size in bytes: 1073741824
137
138== raw input image and preallocation (json) ==
139
140{
141    "required": 1073741824,
142    "fully-allocated": 1073741824
143}
144
145converted image file size in bytes: 1073741824
146
147== Fully-allocated raw input image (json) ==
148
149Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=8388608
150wrote 8388608/8388608 bytes at offset 0
1518 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
152{
153    "required": 8388608,
154    "fully-allocated": 8388608
155}
156
157converted image file size in bytes: 8388608
158*** done
159