virtio-blk: dataplane cleanup
[qemu/cris-port.git] / tests / qemu-iotests / 067.out
blob7e25a49029b1afe2eb3f8298d3d414c197405942
1 QA output created by 067
2 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
4 === -drive/-device and device_del ===
6 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,if=none,id=disk -device virtio-blk,drive=disk,id=virtio0
8     QMP_VERSION
11     "return": {
12     }
15     "return": [
16         {
17             "io-status": "ok",
18             "device": "disk",
19             "locked": false,
20             "removable": false,
21             "inserted": {
22                 "iops_rd": 0,
23                 "detect_zeroes": "off",
24                 "image": {
25                     "virtual-size": 134217728,
26                     "filename": "TEST_DIR/t.qcow2",
27                     "cluster-size": 65536,
28                     "format": "qcow2",
29                     "actual-size": SIZE,
30                     "format-specific": {
31                         "type": "qcow2",
32                         "data": {
33                             "compat": "1.1",
34                             "lazy-refcounts": false,
35                             "refcount-bits": 16,
36                             "corrupt": false
37                         }
38                     },
39                     "dirty-flag": false
40                 },
41                 "iops_wr": 0,
42                 "ro": false,
43                 "node-name": "NODE_NAME",
44                 "backing_file_depth": 0,
45                 "drv": "qcow2",
46                 "iops": 0,
47                 "bps_wr": 0,
48                 "write_threshold": 0,
49                 "encrypted": false,
50                 "bps": 0,
51                 "bps_rd": 0,
52                 "cache": {
53                     "no-flush": false,
54                     "direct": false,
55                     "writeback": true
56                 },
57                 "file": "TEST_DIR/t.qcow2",
58                 "encryption_key_missing": false
59             },
60             "type": "unknown"
61         }
62     ]
65     "return": {
66     }
69     "return": {
70     }
73     "return": [
74     ]
77     "return": {
78     }
81 === -drive/device_add and device_del ===
83 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,if=none,id=disk
85     QMP_VERSION
88     "return": {
89     }
92     "return": [
93         {
94             "device": "disk",
95             "locked": false,
96             "removable": true,
97             "inserted": {
98                 "iops_rd": 0,
99                 "detect_zeroes": "off",
100                 "image": {
101                     "virtual-size": 134217728,
102                     "filename": "TEST_DIR/t.qcow2",
103                     "cluster-size": 65536,
104                     "format": "qcow2",
105                     "actual-size": SIZE,
106                     "format-specific": {
107                         "type": "qcow2",
108                         "data": {
109                             "compat": "1.1",
110                             "lazy-refcounts": false,
111                             "refcount-bits": 16,
112                             "corrupt": false
113                         }
114                     },
115                     "dirty-flag": false
116                 },
117                 "iops_wr": 0,
118                 "ro": false,
119                 "node-name": "NODE_NAME",
120                 "backing_file_depth": 0,
121                 "drv": "qcow2",
122                 "iops": 0,
123                 "bps_wr": 0,
124                 "write_threshold": 0,
125                 "encrypted": false,
126                 "bps": 0,
127                 "bps_rd": 0,
128                 "cache": {
129                     "no-flush": false,
130                     "direct": false,
131                     "writeback": true
132                 },
133                 "file": "TEST_DIR/t.qcow2",
134                 "encryption_key_missing": false
135             },
136             "type": "unknown"
137         }
138     ]
141     "return": {
142     }
145     "return": {
146     }
149     "return": {
150     }
153     "return": [
154     ]
157     "return": {
158     }
161 === drive_add/device_add and device_del ===
163 Testing:
165     QMP_VERSION
168     "return": {
169     }
172     "return": "OK\r\n"
175     "return": [
176         {
177             "device": "disk",
178             "locked": false,
179             "removable": true,
180             "inserted": {
181                 "iops_rd": 0,
182                 "detect_zeroes": "off",
183                 "image": {
184                     "virtual-size": 134217728,
185                     "filename": "TEST_DIR/t.qcow2",
186                     "cluster-size": 65536,
187                     "format": "qcow2",
188                     "actual-size": SIZE,
189                     "format-specific": {
190                         "type": "qcow2",
191                         "data": {
192                             "compat": "1.1",
193                             "lazy-refcounts": false,
194                             "refcount-bits": 16,
195                             "corrupt": false
196                         }
197                     },
198                     "dirty-flag": false
199                 },
200                 "iops_wr": 0,
201                 "ro": false,
202                 "node-name": "NODE_NAME",
203                 "backing_file_depth": 0,
204                 "drv": "qcow2",
205                 "iops": 0,
206                 "bps_wr": 0,
207                 "write_threshold": 0,
208                 "encrypted": false,
209                 "bps": 0,
210                 "bps_rd": 0,
211                 "cache": {
212                     "no-flush": false,
213                     "direct": false,
214                     "writeback": true
215                 },
216                 "file": "TEST_DIR/t.qcow2",
217                 "encryption_key_missing": false
218             },
219             "type": "unknown"
220         }
221     ]
224     "return": {
225     }
228     "return": {
229     }
232     "return": {
233     }
236     "return": [
237     ]
240     "return": {
241     }
244 === blockdev_add/device_add and device_del ===
246 Testing:
248     QMP_VERSION
251     "return": {
252     }
255     "return": {
256     }
259     "return": [
260         {
261             "device": "disk",
262             "locked": false,
263             "removable": true,
264             "inserted": {
265                 "iops_rd": 0,
266                 "detect_zeroes": "off",
267                 "image": {
268                     "virtual-size": 134217728,
269                     "filename": "TEST_DIR/t.qcow2",
270                     "cluster-size": 65536,
271                     "format": "qcow2",
272                     "actual-size": SIZE,
273                     "format-specific": {
274                         "type": "qcow2",
275                         "data": {
276                             "compat": "1.1",
277                             "lazy-refcounts": false,
278                             "refcount-bits": 16,
279                             "corrupt": false
280                         }
281                     },
282                     "dirty-flag": false
283                 },
284                 "iops_wr": 0,
285                 "ro": false,
286                 "node-name": "NODE_NAME",
287                 "backing_file_depth": 0,
288                 "drv": "qcow2",
289                 "iops": 0,
290                 "bps_wr": 0,
291                 "write_threshold": 0,
292                 "encrypted": false,
293                 "bps": 0,
294                 "bps_rd": 0,
295                 "cache": {
296                     "no-flush": false,
297                     "direct": false,
298                     "writeback": true
299                 },
300                 "file": "TEST_DIR/t.qcow2",
301                 "encryption_key_missing": false
302             },
303             "type": "unknown"
304         }
305     ]
308     "return": {
309     }
312     "return": {
313     }
316     "return": {
317     }
320     "return": [
321         {
322             "io-status": "ok",
323             "device": "disk",
324             "locked": false,
325             "removable": true,
326             "inserted": {
327                 "iops_rd": 0,
328                 "detect_zeroes": "off",
329                 "image": {
330                     "virtual-size": 134217728,
331                     "filename": "TEST_DIR/t.qcow2",
332                     "cluster-size": 65536,
333                     "format": "qcow2",
334                     "actual-size": SIZE,
335                     "format-specific": {
336                         "type": "qcow2",
337                         "data": {
338                             "compat": "1.1",
339                             "lazy-refcounts": false,
340                             "refcount-bits": 16,
341                             "corrupt": false
342                         }
343                     },
344                     "dirty-flag": false
345                 },
346                 "iops_wr": 0,
347                 "ro": false,
348                 "node-name": "NODE_NAME",
349                 "backing_file_depth": 0,
350                 "drv": "qcow2",
351                 "iops": 0,
352                 "bps_wr": 0,
353                 "write_threshold": 0,
354                 "encrypted": false,
355                 "bps": 0,
356                 "bps_rd": 0,
357                 "cache": {
358                     "no-flush": false,
359                     "direct": false,
360                     "writeback": true
361                 },
362                 "file": "TEST_DIR/t.qcow2",
363                 "encryption_key_missing": false
364             },
365             "type": "unknown"
366         }
367     ]
370     "return": {
371     }
373 *** done