iotests: Make 136 less flaky
[qemu/ar7.git] / tests / qemu-iotests / 067.out
blob58e83c4505e94411b2bafb118ba21e37cc64a012
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             "qdev": "/machine/peripheral/virtio0/virtio-backend",
61             "type": "unknown"
62         }
63     ]
66     "return": {
67     }
70     "return": {
71     }
74     "return": [
75     ]
78     "return": {
79     }
82 === -drive/device_add and device_del ===
84 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,if=none,id=disk
86     QMP_VERSION
89     "return": {
90     }
93     "return": [
94         {
95             "device": "disk",
96             "locked": false,
97             "removable": true,
98             "inserted": {
99                 "iops_rd": 0,
100                 "detect_zeroes": "off",
101                 "image": {
102                     "virtual-size": 134217728,
103                     "filename": "TEST_DIR/t.qcow2",
104                     "cluster-size": 65536,
105                     "format": "qcow2",
106                     "actual-size": SIZE,
107                     "format-specific": {
108                         "type": "qcow2",
109                         "data": {
110                             "compat": "1.1",
111                             "lazy-refcounts": false,
112                             "refcount-bits": 16,
113                             "corrupt": false
114                         }
115                     },
116                     "dirty-flag": false
117                 },
118                 "iops_wr": 0,
119                 "ro": false,
120                 "node-name": "NODE_NAME",
121                 "backing_file_depth": 0,
122                 "drv": "qcow2",
123                 "iops": 0,
124                 "bps_wr": 0,
125                 "write_threshold": 0,
126                 "encrypted": false,
127                 "bps": 0,
128                 "bps_rd": 0,
129                 "cache": {
130                     "no-flush": false,
131                     "direct": false,
132                     "writeback": true
133                 },
134                 "file": "TEST_DIR/t.qcow2",
135                 "encryption_key_missing": false
136             },
137             "type": "unknown"
138         }
139     ]
142     "return": {
143     }
146     "return": {
147     }
150     "return": {
151     }
154     "return": [
155     ]
158     "return": {
159     }
162 === drive_add/device_add and device_del ===
164 Testing:
166     QMP_VERSION
169     "return": {
170     }
173     "return": "OK\r\n"
176     "return": [
177         {
178             "device": "disk",
179             "locked": false,
180             "removable": true,
181             "inserted": {
182                 "iops_rd": 0,
183                 "detect_zeroes": "off",
184                 "image": {
185                     "virtual-size": 134217728,
186                     "filename": "TEST_DIR/t.qcow2",
187                     "cluster-size": 65536,
188                     "format": "qcow2",
189                     "actual-size": SIZE,
190                     "format-specific": {
191                         "type": "qcow2",
192                         "data": {
193                             "compat": "1.1",
194                             "lazy-refcounts": false,
195                             "refcount-bits": 16,
196                             "corrupt": false
197                         }
198                     },
199                     "dirty-flag": false
200                 },
201                 "iops_wr": 0,
202                 "ro": false,
203                 "node-name": "NODE_NAME",
204                 "backing_file_depth": 0,
205                 "drv": "qcow2",
206                 "iops": 0,
207                 "bps_wr": 0,
208                 "write_threshold": 0,
209                 "encrypted": false,
210                 "bps": 0,
211                 "bps_rd": 0,
212                 "cache": {
213                     "no-flush": false,
214                     "direct": false,
215                     "writeback": true
216                 },
217                 "file": "TEST_DIR/t.qcow2",
218                 "encryption_key_missing": false
219             },
220             "type": "unknown"
221         }
222     ]
225     "return": {
226     }
229     "return": {
230     }
233     "return": {
234     }
237     "return": [
238     ]
241     "return": {
242     }
245 === blockdev_add/device_add and device_del ===
247 Testing:
249     QMP_VERSION
252     "return": {
253     }
256     "return": {
257     }
260     "return": [
261         {
262             "iops_rd": 0,
263             "detect_zeroes": "off",
264             "image": {
265                 "virtual-size": 134217728,
266                 "filename": "TEST_DIR/t.qcow2",
267                 "cluster-size": 65536,
268                 "format": "qcow2",
269                 "actual-size": SIZE,
270                 "format-specific": {
271                     "type": "qcow2",
272                     "data": {
273                         "compat": "1.1",
274                         "lazy-refcounts": false,
275                         "refcount-bits": 16,
276                         "corrupt": false
277                     }
278                 },
279                 "dirty-flag": false
280             },
281             "iops_wr": 0,
282             "ro": false,
283             "node-name": "disk",
284             "backing_file_depth": 0,
285             "drv": "qcow2",
286             "iops": 0,
287             "bps_wr": 0,
288             "write_threshold": 0,
289             "encrypted": false,
290             "bps": 0,
291             "bps_rd": 0,
292             "cache": {
293                 "no-flush": false,
294                 "direct": false,
295                 "writeback": true
296             },
297             "file": "TEST_DIR/t.qcow2",
298             "encryption_key_missing": false
299         },
300         {
301             "iops_rd": 0,
302             "detect_zeroes": "off",
303             "image": {
304                 "virtual-size": 197120,
305                 "filename": "TEST_DIR/t.qcow2",
306                 "format": "file",
307                 "actual-size": SIZE,
308                 "dirty-flag": false
309             },
310             "iops_wr": 0,
311             "ro": false,
312             "node-name": "NODE_NAME",
313             "backing_file_depth": 0,
314             "drv": "file",
315             "iops": 0,
316             "bps_wr": 0,
317             "write_threshold": 0,
318             "encrypted": false,
319             "bps": 0,
320             "bps_rd": 0,
321             "cache": {
322                 "no-flush": false,
323                 "direct": false,
324                 "writeback": true
325             },
326             "file": "TEST_DIR/t.qcow2",
327             "encryption_key_missing": false
328         }
329     ]
332     "return": {
333     }
336     "return": {
337     }
340     "return": {
341     }
344     "return": [
345         {
346             "iops_rd": 0,
347             "detect_zeroes": "off",
348             "image": {
349                 "virtual-size": 134217728,
350                 "filename": "TEST_DIR/t.qcow2",
351                 "cluster-size": 65536,
352                 "format": "qcow2",
353                 "actual-size": SIZE,
354                 "format-specific": {
355                     "type": "qcow2",
356                     "data": {
357                         "compat": "1.1",
358                         "lazy-refcounts": false,
359                         "refcount-bits": 16,
360                         "corrupt": false
361                     }
362                 },
363                 "dirty-flag": false
364             },
365             "iops_wr": 0,
366             "ro": false,
367             "node-name": "disk",
368             "backing_file_depth": 0,
369             "drv": "qcow2",
370             "iops": 0,
371             "bps_wr": 0,
372             "write_threshold": 0,
373             "encrypted": false,
374             "bps": 0,
375             "bps_rd": 0,
376             "cache": {
377                 "no-flush": false,
378                 "direct": false,
379                 "writeback": true
380             },
381             "file": "TEST_DIR/t.qcow2",
382             "encryption_key_missing": false
383         },
384         {
385             "iops_rd": 0,
386             "detect_zeroes": "off",
387             "image": {
388                 "virtual-size": 197120,
389                 "filename": "TEST_DIR/t.qcow2",
390                 "format": "file",
391                 "actual-size": SIZE,
392                 "dirty-flag": false
393             },
394             "iops_wr": 0,
395             "ro": false,
396             "node-name": "NODE_NAME",
397             "backing_file_depth": 0,
398             "drv": "file",
399             "iops": 0,
400             "bps_wr": 0,
401             "write_threshold": 0,
402             "encrypted": false,
403             "bps": 0,
404             "bps_rd": 0,
405             "cache": {
406                 "no-flush": false,
407                 "direct": false,
408                 "writeback": true
409             },
410             "file": "TEST_DIR/t.qcow2",
411             "encryption_key_missing": false
412         }
413     ]
416     "return": {
417     }
420 === Empty drive with -device and device_del ===
422 Testing: -device virtio-scsi -device scsi-cd,id=cd0
424     QMP_VERSION
427     "return": {
428     }
431     "return": [
432         {
433             "device": "",
434             "locked": false,
435             "removable": true,
436             "qdev": "cd0",
437             "tray_open": false,
438             "type": "unknown"
439         }
440     ]
443     "return": {
444     }
447     "return": {
448     }
451     "return": [
452     ]
455     "return": {
456     }
458 *** done