block: fix NetBSD qemu-iotests failure
[qemu/ar7.git] / tests / qemu-iotests / 067.out
blobb10c71db03c82071374459de8479b28fe24cff8a
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.IMGFMT,format=IMGFMT,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.IMGFMT",
27                     "cluster-size": 65536,
28                     "format": "IMGFMT",
29                     "actual-size": SIZE,
30                     "dirty-flag": false
31                 },
32                 "iops_wr": 0,
33                 "ro": false,
34                 "node-name": "NODE_NAME",
35                 "backing_file_depth": 0,
36                 "drv": "IMGFMT",
37                 "iops": 0,
38                 "bps_wr": 0,
39                 "write_threshold": 0,
40                 "encrypted": false,
41                 "bps": 0,
42                 "bps_rd": 0,
43                 "cache": {
44                     "no-flush": false,
45                     "direct": false,
46                     "writeback": true
47                 },
48                 "file": "TEST_DIR/t.IMGFMT",
49                 "encryption_key_missing": false
50             },
51             "qdev": "/machine/peripheral/virtio0/virtio-backend",
52             "type": "unknown"
53         }
54     ]
57     "return": {
58     }
61     "return": {
62     }
65     "return": [
66     ]
69     "return": {
70     }
73 === -drive/device_add and device_del ===
75 Testing: -drive file=TEST_DIR/t.IMGFMT,format=IMGFMT,if=none,id=disk
77     QMP_VERSION
80     "return": {
81     }
84     "return": [
85         {
86             "device": "disk",
87             "locked": false,
88             "removable": true,
89             "inserted": {
90                 "iops_rd": 0,
91                 "detect_zeroes": "off",
92                 "image": {
93                     "virtual-size": 134217728,
94                     "filename": "TEST_DIR/t.IMGFMT",
95                     "cluster-size": 65536,
96                     "format": "IMGFMT",
97                     "actual-size": SIZE,
98                     "dirty-flag": false
99                 },
100                 "iops_wr": 0,
101                 "ro": false,
102                 "node-name": "NODE_NAME",
103                 "backing_file_depth": 0,
104                 "drv": "IMGFMT",
105                 "iops": 0,
106                 "bps_wr": 0,
107                 "write_threshold": 0,
108                 "encrypted": false,
109                 "bps": 0,
110                 "bps_rd": 0,
111                 "cache": {
112                     "no-flush": false,
113                     "direct": false,
114                     "writeback": true
115                 },
116                 "file": "TEST_DIR/t.IMGFMT",
117                 "encryption_key_missing": false
118             },
119             "type": "unknown"
120         }
121     ]
124     "return": {
125     }
128     "return": {
129     }
132     "return": {
133     }
136     "return": [
137     ]
140     "return": {
141     }
144 === drive_add/device_add and device_del ===
146 Testing:
148     QMP_VERSION
151     "return": {
152     }
155     "return": "OK\r\n"
158     "return": [
159         {
160             "device": "disk",
161             "locked": false,
162             "removable": true,
163             "inserted": {
164                 "iops_rd": 0,
165                 "detect_zeroes": "off",
166                 "image": {
167                     "virtual-size": 134217728,
168                     "filename": "TEST_DIR/t.IMGFMT",
169                     "cluster-size": 65536,
170                     "format": "IMGFMT",
171                     "actual-size": SIZE,
172                     "dirty-flag": false
173                 },
174                 "iops_wr": 0,
175                 "ro": false,
176                 "node-name": "NODE_NAME",
177                 "backing_file_depth": 0,
178                 "drv": "IMGFMT",
179                 "iops": 0,
180                 "bps_wr": 0,
181                 "write_threshold": 0,
182                 "encrypted": false,
183                 "bps": 0,
184                 "bps_rd": 0,
185                 "cache": {
186                     "no-flush": false,
187                     "direct": false,
188                     "writeback": true
189                 },
190                 "file": "TEST_DIR/t.IMGFMT",
191                 "encryption_key_missing": false
192             },
193             "type": "unknown"
194         }
195     ]
198     "return": {
199     }
202     "return": {
203     }
206     "return": {
207     }
210     "return": [
211     ]
214     "return": {
215     }
218 === blockdev_add/device_add and device_del ===
220 Testing:
222     QMP_VERSION
225     "return": {
226     }
229     "return": {
230     }
233     "return": [
234         {
235             "iops_rd": 0,
236             "detect_zeroes": "off",
237             "image": {
238                 "virtual-size": 134217728,
239                 "filename": "TEST_DIR/t.IMGFMT",
240                 "cluster-size": 65536,
241                 "format": "IMGFMT",
242                 "actual-size": SIZE,
243                 "dirty-flag": false
244             },
245             "iops_wr": 0,
246             "ro": false,
247             "node-name": "disk",
248             "backing_file_depth": 0,
249             "drv": "IMGFMT",
250             "iops": 0,
251             "bps_wr": 0,
252             "write_threshold": 0,
253             "encrypted": false,
254             "bps": 0,
255             "bps_rd": 0,
256             "cache": {
257                 "no-flush": false,
258                 "direct": false,
259                 "writeback": true
260             },
261             "file": "TEST_DIR/t.IMGFMT",
262             "encryption_key_missing": false
263         },
264         {
265             "iops_rd": 0,
266             "detect_zeroes": "off",
267             "image": {
268                 "virtual-size": 197120,
269                 "filename": "TEST_DIR/t.IMGFMT",
270                 "format": "file",
271                 "actual-size": SIZE,
272                 "dirty-flag": false
273             },
274             "iops_wr": 0,
275             "ro": false,
276             "node-name": "NODE_NAME",
277             "backing_file_depth": 0,
278             "drv": "file",
279             "iops": 0,
280             "bps_wr": 0,
281             "write_threshold": 0,
282             "encrypted": false,
283             "bps": 0,
284             "bps_rd": 0,
285             "cache": {
286                 "no-flush": false,
287                 "direct": false,
288                 "writeback": true
289             },
290             "file": "TEST_DIR/t.IMGFMT",
291             "encryption_key_missing": false
292         }
293     ]
296     "return": {
297     }
300     "return": {
301     }
304     "return": {
305     }
308     "return": [
309         {
310             "iops_rd": 0,
311             "detect_zeroes": "off",
312             "image": {
313                 "virtual-size": 134217728,
314                 "filename": "TEST_DIR/t.IMGFMT",
315                 "cluster-size": 65536,
316                 "format": "IMGFMT",
317                 "actual-size": SIZE,
318                 "dirty-flag": false
319             },
320             "iops_wr": 0,
321             "ro": false,
322             "node-name": "disk",
323             "backing_file_depth": 0,
324             "drv": "IMGFMT",
325             "iops": 0,
326             "bps_wr": 0,
327             "write_threshold": 0,
328             "encrypted": false,
329             "bps": 0,
330             "bps_rd": 0,
331             "cache": {
332                 "no-flush": false,
333                 "direct": false,
334                 "writeback": true
335             },
336             "file": "TEST_DIR/t.IMGFMT",
337             "encryption_key_missing": false
338         },
339         {
340             "iops_rd": 0,
341             "detect_zeroes": "off",
342             "image": {
343                 "virtual-size": 197120,
344                 "filename": "TEST_DIR/t.IMGFMT",
345                 "format": "file",
346                 "actual-size": SIZE,
347                 "dirty-flag": false
348             },
349             "iops_wr": 0,
350             "ro": false,
351             "node-name": "NODE_NAME",
352             "backing_file_depth": 0,
353             "drv": "file",
354             "iops": 0,
355             "bps_wr": 0,
356             "write_threshold": 0,
357             "encrypted": false,
358             "bps": 0,
359             "bps_rd": 0,
360             "cache": {
361                 "no-flush": false,
362                 "direct": false,
363                 "writeback": true
364             },
365             "file": "TEST_DIR/t.IMGFMT",
366             "encryption_key_missing": false
367         }
368     ]
371     "return": {
372     }
375 === Empty drive with -device and device_del ===
377 Testing: -device virtio-scsi -device scsi-cd,id=cd0
379     QMP_VERSION
382     "return": {
383     }
386     "return": [
387         {
388             "io-status": "ok",
389             "device": "",
390             "locked": false,
391             "removable": true,
392             "qdev": "cd0",
393             "tray_open": false,
394             "type": "unknown"
395         }
396     ]
399     "return": {
400     }
403     "return": {
404     }
407     "return": [
408     ]
411     "return": {
412     }
414 *** done