pckbd: split out interrupt line changing code
[qemu/ar7.git] / tests / qemu-iotests / 213.out
blob3cdce4d790d3f797d41b8c88a535f51dab0e96ef
1 === Successful image creation (defaults) ===
3 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filename": "TEST_DIR/PID-t.vhdx", "size": 0}}}
4 {"return": {}}
5 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
6 {"return": {}}
8 {"execute": "blockdev-add", "arguments": {"driver": "file", "filename": "TEST_DIR/PID-t.vhdx", "node-name": "imgfile"}}
9 {"return": {}}
10 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vhdx", "file": "imgfile", "size": 134217728}}}
11 {"return": {}}
12 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
13 {"return": {}}
15 image: TEST_IMG
16 file format: IMGFMT
17 virtual size: 128 MiB (134217728 bytes)
18 cluster_size: 8388608
20 === Successful image creation (explicit defaults) ===
22 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filename": "TEST_DIR/PID-t.vhdx", "size": 0}}}
23 {"return": {}}
24 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
25 {"return": {}}
27 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"block-size": 8388608, "block-state-zero": true, "driver": "vhdx", "file": {"driver": "file", "filename": "TEST_DIR/PID-t.vhdx"}, "log-size": 1048576, "size": 67108864, "subformat": "dynamic"}}}
28 {"return": {}}
29 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
30 {"return": {}}
32 image: TEST_IMG
33 file format: IMGFMT
34 virtual size: 64 MiB (67108864 bytes)
35 cluster_size: 8388608
37 === Successful image creation (with non-default options) ===
39 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filename": "TEST_DIR/PID-t.vhdx", "size": 0}}}
40 {"return": {}}
41 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
42 {"return": {}}
44 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"block-size": 268435456, "block-state-zero": false, "driver": "vhdx", "file": {"driver": "file", "filename": "TEST_DIR/PID-t.vhdx"}, "log-size": 8388608, "size": 33554432, "subformat": "fixed"}}}
45 {"return": {}}
46 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
47 {"return": {}}
49 image: TEST_IMG
50 file format: IMGFMT
51 virtual size: 32 MiB (33554432 bytes)
52 cluster_size: 268435456
54 === Invalid BlockdevRef ===
56 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vhdx", "file": "this doesn't exist", "size": 33554432}}}
57 {"return": {}}
58 Job failed: Cannot find device='this doesn't exist' nor node-name='this doesn't exist'
59 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
60 {"return": {}}
62 === Zero size ===
64 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vhdx", "file": "node0", "size": 0}}}
65 {"return": {}}
66 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
67 {"return": {}}
69 image: TEST_IMG
70 file format: IMGFMT
71 virtual size: 0 B (0 bytes)
72 cluster_size: 8388608
74 === Maximum size ===
76 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vhdx", "file": "node0", "size": 70368744177664}}}
77 {"return": {}}
78 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
79 {"return": {}}
81 image: TEST_IMG
82 file format: IMGFMT
83 virtual size: 64 TiB (70368744177664 bytes)
84 cluster_size: 67108864
86 === Invalid sizes ===
88 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vhdx", "file": "node0", "size": 18446744073709551104}}}
89 {"return": {}}
90 Job failed: Image size too large; max of 64TB
91 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
92 {"return": {}}
94 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vhdx", "file": "node0", "size": 9223372036854775808}}}
95 {"return": {}}
96 Job failed: Image size too large; max of 64TB
97 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
98 {"return": {}}
100 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vhdx", "file": "node0", "size": 9223372036854775296}}}
101 {"return": {}}
102 Job failed: Image size too large; max of 64TB
103 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
104 {"return": {}}
106 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vhdx", "file": "node0", "size": 70368744177665}}}
107 {"return": {}}
108 Job failed: Image size too large; max of 64TB
109 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
110 {"return": {}}
112 === Invalid block size ===
114 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"block-size": 1234567, "driver": "vhdx", "file": "node0", "size": 67108864}}}
115 {"return": {}}
116 Job failed: Block size must be a multiple of 1 MB
117 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
118 {"return": {}}
120 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"block-size": 128, "driver": "vhdx", "file": "node0", "size": 67108864}}}
121 {"return": {}}
122 Job failed: Block size must be a multiple of 1 MB
123 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
124 {"return": {}}
126 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"block-size": 3145728, "driver": "vhdx", "file": "node0", "size": 67108864}}}
127 {"return": {}}
128 Job failed: Block size must be a power of two
129 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
130 {"return": {}}
132 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"block-size": 536870912, "driver": "vhdx", "file": "node0", "size": 67108864}}}
133 {"return": {}}
134 Job failed: Block size must not exceed 268435456
135 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
136 {"return": {}}
138 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"block-size": 0, "driver": "vhdx", "file": "node0", "size": 67108864}}}
139 {"return": {}}
140 Job failed: Block size must be a multiple of 1 MB
141 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
142 {"return": {}}
144 === Invalid log size ===
146 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vhdx", "file": "node0", "log-size": 1234567, "size": 67108864}}}
147 {"return": {}}
148 Job failed: Log size must be a multiple of 1 MB
149 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
150 {"return": {}}
152 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vhdx", "file": "node0", "log-size": 128, "size": 67108864}}}
153 {"return": {}}
154 Job failed: Log size must be a multiple of 1 MB
155 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
156 {"return": {}}
158 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vhdx", "file": "node0", "log-size": 4294967296, "size": 67108864}}}
159 {"return": {}}
160 Job failed: Log size must be smaller than 4 GB
161 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
162 {"return": {}}
164 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vhdx", "file": "node0", "log-size": 0, "size": 67108864}}}
165 {"return": {}}
166 Job failed: Log size must be a multiple of 1 MB
167 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
168 {"return": {}}