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