xref: /openbmc/qemu/tests/qemu-iotests/266.out (revision d2dfe0b5)
1--- Creating empty file ---
2{"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filename": "TEST_DIR/PID-t.vpc", "size": 0}}}
3{"return": {}}
4{"execute": "job-dismiss", "arguments": {"id": "job0"}}
5{"return": {}}
6
7{"execute": "blockdev-add", "arguments": {"driver": "file", "filename": "TEST_DIR/PID-t.vpc", "node-name": "protocol-node"}}
8{"return": {}}
9
10=== Successful image creation (defaults) ===
11
12{"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vpc", "file": "protocol-node", "size": 67125248}}}
13{"return": {}}
14{"execute": "job-dismiss", "arguments": {"id": "job0"}}
15{"return": {}}
16
17
18image: TEST_IMG
19file format: IMGFMT
20virtual size: 64 MiB (67125248 bytes)
21cluster_size: 2097152
22
23--- Creating empty file ---
24{"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filename": "TEST_DIR/PID-t.vpc", "size": 0}}}
25{"return": {}}
26{"execute": "job-dismiss", "arguments": {"id": "job0"}}
27{"return": {}}
28
29{"execute": "blockdev-add", "arguments": {"driver": "file", "filename": "TEST_DIR/PID-t.vpc", "node-name": "protocol-node"}}
30{"return": {}}
31
32=== Successful image creation (explicit defaults) ===
33
34{"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vpc", "file": "protocol-node", "force-size": false, "size": 134250496, "subformat": "dynamic"}}}
35{"return": {}}
36{"execute": "job-dismiss", "arguments": {"id": "job0"}}
37{"return": {}}
38
39
40image: TEST_IMG
41file format: IMGFMT
42virtual size: 128 MiB (134250496 bytes)
43cluster_size: 2097152
44
45--- Creating empty file ---
46{"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filename": "TEST_DIR/PID-t.vpc", "size": 0}}}
47{"return": {}}
48{"execute": "job-dismiss", "arguments": {"id": "job0"}}
49{"return": {}}
50
51{"execute": "blockdev-add", "arguments": {"driver": "file", "filename": "TEST_DIR/PID-t.vpc", "node-name": "protocol-node"}}
52{"return": {}}
53
54=== Successful image creation (non-default options) ===
55
56{"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vpc", "file": "protocol-node", "force-size": true, "size": 1048576, "subformat": "fixed"}}}
57{"return": {}}
58{"execute": "job-dismiss", "arguments": {"id": "job0"}}
59{"return": {}}
60
61
62image: TEST_IMG
63file format: IMGFMT
64virtual size: 1 MiB (1048576 bytes)
65
66--- Creating empty file ---
67{"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filename": "TEST_DIR/PID-t.vpc", "size": 0}}}
68{"return": {}}
69{"execute": "job-dismiss", "arguments": {"id": "job0"}}
70{"return": {}}
71
72{"execute": "blockdev-add", "arguments": {"driver": "file", "filename": "TEST_DIR/PID-t.vpc", "node-name": "protocol-node"}}
73{"return": {}}
74
75=== Size not representable in CHS ===
76
77{"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vpc", "file": "protocol-node", "force-size": false, "size": 1048576}}}
78{"return": {}}
79Job failed: The requested image size cannot be represented in CHS geometry
80{"execute": "job-dismiss", "arguments": {"id": "job0"}}
81{"return": {}}
82
83
84qemu-img: Could not open 'TEST_IMG': File too small for a VHD header
85
86--- Creating empty file ---
87{"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filename": "TEST_DIR/PID-t.vpc", "size": 0}}}
88{"return": {}}
89{"execute": "job-dismiss", "arguments": {"id": "job0"}}
90{"return": {}}
91
92{"execute": "blockdev-add", "arguments": {"driver": "file", "filename": "TEST_DIR/PID-t.vpc", "node-name": "protocol-node"}}
93{"return": {}}
94
95=== Zero size===
96
97{"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vpc", "file": "protocol-node", "size": 0}}}
98{"return": {}}
99{"execute": "job-dismiss", "arguments": {"id": "job0"}}
100{"return": {}}
101
102
103image: TEST_IMG
104file format: IMGFMT
105virtual size: 0 B (0 bytes)
106cluster_size: 2097152
107
108--- Creating empty file ---
109{"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filename": "TEST_DIR/PID-t.vpc", "size": 0}}}
110{"return": {}}
111{"execute": "job-dismiss", "arguments": {"id": "job0"}}
112{"return": {}}
113
114{"execute": "blockdev-add", "arguments": {"driver": "file", "filename": "TEST_DIR/PID-t.vpc", "node-name": "protocol-node"}}
115{"return": {}}
116
117=== Maximum CHS size===
118
119{"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vpc", "file": "protocol-node", "size": 136899993600}}}
120{"return": {}}
121{"execute": "job-dismiss", "arguments": {"id": "job0"}}
122{"return": {}}
123
124
125image: TEST_IMG
126file format: IMGFMT
127virtual size: 127 GiB (136899993600 bytes)
128cluster_size: 2097152
129
130--- Creating empty file ---
131{"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filename": "TEST_DIR/PID-t.vpc", "size": 0}}}
132{"return": {}}
133{"execute": "job-dismiss", "arguments": {"id": "job0"}}
134{"return": {}}
135
136{"execute": "blockdev-add", "arguments": {"driver": "file", "filename": "TEST_DIR/PID-t.vpc", "node-name": "protocol-node"}}
137{"return": {}}
138
139=== Actual maximum size===
140
141{"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vpc", "file": "protocol-node", "force-size": true, "size": 2190433320960}}}
142{"return": {}}
143{"execute": "job-dismiss", "arguments": {"id": "job0"}}
144{"return": {}}
145
146
147image: TEST_IMG
148file format: IMGFMT
149virtual size: 1.99 TiB (2190433320960 bytes)
150cluster_size: 2097152
151
152