migration/tls: extract migration_tls_client_create for common-use
[qemu/ar7.git] / tests / qemu-iotests / 266.out
blob5a7d7d01aa89c1063efffa6ddc105eb9a1c72abf
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": {}}
7 {"execute": "blockdev-add", "arguments": {"driver": "file", "filename": "TEST_DIR/PID-t.vpc", "node-name": "protocol-node"}}
8 {"return": {}}
10 === Successful image creation (defaults) ===
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": {}}
18 image: TEST_IMG
19 file format: IMGFMT
20 virtual size: 64 MiB (67125248 bytes)
21 cluster_size: 2097152
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": {}}
29 {"execute": "blockdev-add", "arguments": {"driver": "file", "filename": "TEST_DIR/PID-t.vpc", "node-name": "protocol-node"}}
30 {"return": {}}
32 === Successful image creation (explicit defaults) ===
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": {}}
40 image: TEST_IMG
41 file format: IMGFMT
42 virtual size: 128 MiB (134250496 bytes)
43 cluster_size: 2097152
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": {}}
51 {"execute": "blockdev-add", "arguments": {"driver": "file", "filename": "TEST_DIR/PID-t.vpc", "node-name": "protocol-node"}}
52 {"return": {}}
54 === Successful image creation (non-default options) ===
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": {}}
62 image: TEST_IMG
63 file format: IMGFMT
64 virtual size: 1 MiB (1048576 bytes)
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": {}}
72 {"execute": "blockdev-add", "arguments": {"driver": "file", "filename": "TEST_DIR/PID-t.vpc", "node-name": "protocol-node"}}
73 {"return": {}}
75 === Size not representable in CHS ===
77 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vpc", "file": "protocol-node", "force-size": false, "size": 1048576}}}
78 {"return": {}}
79 Job failed: The requested image size cannot be represented in CHS geometry
80 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
81 {"return": {}}
84 qemu-img: Could not open 'TEST_IMG': File too small for a VHD header
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": {}}
92 {"execute": "blockdev-add", "arguments": {"driver": "file", "filename": "TEST_DIR/PID-t.vpc", "node-name": "protocol-node"}}
93 {"return": {}}
95 === Zero size===
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": {}}
103 image: TEST_IMG
104 file format: IMGFMT
105 virtual size: 0 B (0 bytes)
106 cluster_size: 2097152
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": {}}
114 {"execute": "blockdev-add", "arguments": {"driver": "file", "filename": "TEST_DIR/PID-t.vpc", "node-name": "protocol-node"}}
115 {"return": {}}
117 === Maximum CHS size===
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": {}}
125 image: TEST_IMG
126 file format: IMGFMT
127 virtual size: 127 GiB (136899993600 bytes)
128 cluster_size: 2097152
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": {}}
136 {"execute": "blockdev-add", "arguments": {"driver": "file", "filename": "TEST_DIR/PID-t.vpc", "node-name": "protocol-node"}}
137 {"return": {}}
139 === Actual maximum size===
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": {}}
147 image: TEST_IMG
148 file format: IMGFMT
149 virtual size: 1.99 TiB (2190433320960 bytes)
150 cluster_size: 2097152