spapr_pci: drop redundant args in spapr_[populate, create]_pci_child_dt
[qemu/ar7.git] / tests / qemu-iotests / 067.out
blob6ff41bc7a1fa10503d0006c89862684f3fa61446
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-pci,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                 "backing_file_depth": 0,
44                 "drv": "qcow2",
45                 "iops": 0,
46                 "bps_wr": 0,
47                 "write_threshold": 0,
48                 "encrypted": false,
49                 "bps": 0,
50                 "bps_rd": 0,
51                 "cache": {
52                     "no-flush": false,
53                     "direct": false,
54                     "writeback": true
55                 },
56                 "file": "TEST_DIR/t.qcow2",
57                 "encryption_key_missing": false
58             },
59             "type": "unknown"
60         },
61         {
62             "io-status": "ok",
63             "device": "ide1-cd0",
64             "locked": false,
65             "removable": true,
66             "tray_open": false,
67             "type": "unknown"
68         },
69         {
70             "device": "floppy0",
71             "locked": false,
72             "removable": true,
73             "tray_open": false,
74             "type": "unknown"
75         },
76         {
77             "device": "sd0",
78             "locked": false,
79             "removable": true,
80             "tray_open": false,
81             "type": "unknown"
82         }
83     ]
86     "return": {
87     }
90     "return": {
91     }
94     "timestamp": {
95         "seconds":  TIMESTAMP,
96         "microseconds":  TIMESTAMP
97     },
98     "event": "DEVICE_DELETED",
99     "data": {
100         "path": "/machine/peripheral/virtio0/virtio-backend"
101     }
104     "timestamp": {
105         "seconds":  TIMESTAMP,
106         "microseconds":  TIMESTAMP
107     },
108     "event": "DEVICE_DELETED",
109     "data": {
110         "device": "virtio0",
111         "path": "/machine/peripheral/virtio0"
112     }
115     "timestamp": {
116         "seconds":  TIMESTAMP,
117         "microseconds":  TIMESTAMP
118     },
119     "event": "RESET"
122     "return": [
123         {
124             "io-status": "ok",
125             "device": "ide1-cd0",
126             "locked": false,
127             "removable": true,
128             "tray_open": false,
129             "type": "unknown"
130         },
131         {
132             "device": "floppy0",
133             "locked": false,
134             "removable": true,
135             "tray_open": false,
136             "type": "unknown"
137         },
138         {
139             "device": "sd0",
140             "locked": false,
141             "removable": true,
142             "tray_open": false,
143             "type": "unknown"
144         }
145     ]
148     "return": {
149     }
152     "timestamp": {
153         "seconds":  TIMESTAMP,
154         "microseconds":  TIMESTAMP
155     },
156     "event": "SHUTDOWN"
159     "timestamp": {
160         "seconds":  TIMESTAMP,
161         "microseconds":  TIMESTAMP
162     },
163     "event": "DEVICE_TRAY_MOVED",
164     "data": {
165         "device": "ide1-cd0",
166         "tray-open": true
167     }
170     "timestamp": {
171         "seconds":  TIMESTAMP,
172         "microseconds":  TIMESTAMP
173     },
174     "event": "DEVICE_TRAY_MOVED",
175     "data": {
176         "device": "floppy0",
177         "tray-open": true
178     }
182 === -drive/device_add and device_del ===
184 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,if=none,id=disk
186     QMP_VERSION
189     "return": {
190     }
193     "return": [
194         {
195             "device": "disk",
196             "locked": false,
197             "removable": true,
198             "inserted": {
199                 "iops_rd": 0,
200                 "detect_zeroes": "off",
201                 "image": {
202                     "virtual-size": 134217728,
203                     "filename": "TEST_DIR/t.qcow2",
204                     "cluster-size": 65536,
205                     "format": "qcow2",
206                     "actual-size": SIZE,
207                     "format-specific": {
208                         "type": "qcow2",
209                         "data": {
210                             "compat": "1.1",
211                             "lazy-refcounts": false,
212                             "refcount-bits": 16,
213                             "corrupt": false
214                         }
215                     },
216                     "dirty-flag": false
217                 },
218                 "iops_wr": 0,
219                 "ro": false,
220                 "backing_file_depth": 0,
221                 "drv": "qcow2",
222                 "iops": 0,
223                 "bps_wr": 0,
224                 "write_threshold": 0,
225                 "encrypted": false,
226                 "bps": 0,
227                 "bps_rd": 0,
228                 "cache": {
229                     "no-flush": false,
230                     "direct": false,
231                     "writeback": true
232                 },
233                 "file": "TEST_DIR/t.qcow2",
234                 "encryption_key_missing": false
235             },
236             "tray_open": false,
237             "type": "unknown"
238         },
239         {
240             "io-status": "ok",
241             "device": "ide1-cd0",
242             "locked": false,
243             "removable": true,
244             "tray_open": false,
245             "type": "unknown"
246         },
247         {
248             "device": "floppy0",
249             "locked": false,
250             "removable": true,
251             "tray_open": false,
252             "type": "unknown"
253         },
254         {
255             "device": "sd0",
256             "locked": false,
257             "removable": true,
258             "tray_open": false,
259             "type": "unknown"
260         }
261     ]
264     "return": {
265     }
268     "return": {
269     }
272     "return": {
273     }
276     "timestamp": {
277         "seconds":  TIMESTAMP,
278         "microseconds":  TIMESTAMP
279     },
280     "event": "DEVICE_DELETED",
281     "data": {
282         "path": "/machine/peripheral/virtio0/virtio-backend"
283     }
286     "timestamp": {
287         "seconds":  TIMESTAMP,
288         "microseconds":  TIMESTAMP
289     },
290     "event": "DEVICE_DELETED",
291     "data": {
292         "device": "virtio0",
293         "path": "/machine/peripheral/virtio0"
294     }
297     "timestamp": {
298         "seconds":  TIMESTAMP,
299         "microseconds":  TIMESTAMP
300     },
301     "event": "RESET"
304     "return": [
305         {
306             "io-status": "ok",
307             "device": "ide1-cd0",
308             "locked": false,
309             "removable": true,
310             "tray_open": false,
311             "type": "unknown"
312         },
313         {
314             "device": "floppy0",
315             "locked": false,
316             "removable": true,
317             "tray_open": false,
318             "type": "unknown"
319         },
320         {
321             "device": "sd0",
322             "locked": false,
323             "removable": true,
324             "tray_open": false,
325             "type": "unknown"
326         }
327     ]
330     "return": {
331     }
334     "timestamp": {
335         "seconds":  TIMESTAMP,
336         "microseconds":  TIMESTAMP
337     },
338     "event": "SHUTDOWN"
341     "timestamp": {
342         "seconds":  TIMESTAMP,
343         "microseconds":  TIMESTAMP
344     },
345     "event": "DEVICE_TRAY_MOVED",
346     "data": {
347         "device": "ide1-cd0",
348         "tray-open": true
349     }
352     "timestamp": {
353         "seconds":  TIMESTAMP,
354         "microseconds":  TIMESTAMP
355     },
356     "event": "DEVICE_TRAY_MOVED",
357     "data": {
358         "device": "floppy0",
359         "tray-open": true
360     }
364 === drive_add/device_add and device_del ===
366 Testing:
368     QMP_VERSION
371     "return": {
372     }
375     "return": "OK\r\n"
378     "return": [
379         {
380             "io-status": "ok",
381             "device": "ide1-cd0",
382             "locked": false,
383             "removable": true,
384             "tray_open": false,
385             "type": "unknown"
386         },
387         {
388             "device": "floppy0",
389             "locked": false,
390             "removable": true,
391             "tray_open": false,
392             "type": "unknown"
393         },
394         {
395             "device": "sd0",
396             "locked": false,
397             "removable": true,
398             "tray_open": false,
399             "type": "unknown"
400         },
401         {
402             "device": "disk",
403             "locked": false,
404             "removable": true,
405             "inserted": {
406                 "iops_rd": 0,
407                 "detect_zeroes": "off",
408                 "image": {
409                     "virtual-size": 134217728,
410                     "filename": "TEST_DIR/t.qcow2",
411                     "cluster-size": 65536,
412                     "format": "qcow2",
413                     "actual-size": SIZE,
414                     "format-specific": {
415                         "type": "qcow2",
416                         "data": {
417                             "compat": "1.1",
418                             "lazy-refcounts": false,
419                             "refcount-bits": 16,
420                             "corrupt": false
421                         }
422                     },
423                     "dirty-flag": false
424                 },
425                 "iops_wr": 0,
426                 "ro": false,
427                 "backing_file_depth": 0,
428                 "drv": "qcow2",
429                 "iops": 0,
430                 "bps_wr": 0,
431                 "write_threshold": 0,
432                 "encrypted": false,
433                 "bps": 0,
434                 "bps_rd": 0,
435                 "cache": {
436                     "no-flush": false,
437                     "direct": false,
438                     "writeback": true
439                 },
440                 "file": "TEST_DIR/t.qcow2",
441                 "encryption_key_missing": false
442             },
443             "tray_open": false,
444             "type": "unknown"
445         }
446     ]
449     "return": {
450     }
453     "return": {
454     }
457     "return": {
458     }
461     "timestamp": {
462         "seconds":  TIMESTAMP,
463         "microseconds":  TIMESTAMP
464     },
465     "event": "DEVICE_DELETED",
466     "data": {
467         "path": "/machine/peripheral/virtio0/virtio-backend"
468     }
471     "timestamp": {
472         "seconds":  TIMESTAMP,
473         "microseconds":  TIMESTAMP
474     },
475     "event": "DEVICE_DELETED",
476     "data": {
477         "device": "virtio0",
478         "path": "/machine/peripheral/virtio0"
479     }
482     "timestamp": {
483         "seconds":  TIMESTAMP,
484         "microseconds":  TIMESTAMP
485     },
486     "event": "RESET"
489     "return": [
490         {
491             "io-status": "ok",
492             "device": "ide1-cd0",
493             "locked": false,
494             "removable": true,
495             "tray_open": false,
496             "type": "unknown"
497         },
498         {
499             "device": "floppy0",
500             "locked": false,
501             "removable": true,
502             "tray_open": false,
503             "type": "unknown"
504         },
505         {
506             "device": "sd0",
507             "locked": false,
508             "removable": true,
509             "tray_open": false,
510             "type": "unknown"
511         }
512     ]
515     "return": {
516     }
519     "timestamp": {
520         "seconds":  TIMESTAMP,
521         "microseconds":  TIMESTAMP
522     },
523     "event": "SHUTDOWN"
526     "timestamp": {
527         "seconds":  TIMESTAMP,
528         "microseconds":  TIMESTAMP
529     },
530     "event": "DEVICE_TRAY_MOVED",
531     "data": {
532         "device": "ide1-cd0",
533         "tray-open": true
534     }
537     "timestamp": {
538         "seconds":  TIMESTAMP,
539         "microseconds":  TIMESTAMP
540     },
541     "event": "DEVICE_TRAY_MOVED",
542     "data": {
543         "device": "floppy0",
544         "tray-open": true
545     }
549 === blockdev_add/device_add and device_del ===
551 Testing:
553     QMP_VERSION
556     "return": {
557     }
560     "return": {
561     }
564     "return": [
565         {
566             "io-status": "ok",
567             "device": "ide1-cd0",
568             "locked": false,
569             "removable": true,
570             "tray_open": false,
571             "type": "unknown"
572         },
573         {
574             "device": "floppy0",
575             "locked": false,
576             "removable": true,
577             "tray_open": false,
578             "type": "unknown"
579         },
580         {
581             "device": "sd0",
582             "locked": false,
583             "removable": true,
584             "tray_open": false,
585             "type": "unknown"
586         },
587         {
588             "device": "disk",
589             "locked": false,
590             "removable": true,
591             "inserted": {
592                 "iops_rd": 0,
593                 "detect_zeroes": "off",
594                 "image": {
595                     "virtual-size": 134217728,
596                     "filename": "TEST_DIR/t.qcow2",
597                     "cluster-size": 65536,
598                     "format": "qcow2",
599                     "actual-size": SIZE,
600                     "format-specific": {
601                         "type": "qcow2",
602                         "data": {
603                             "compat": "1.1",
604                             "lazy-refcounts": false,
605                             "refcount-bits": 16,
606                             "corrupt": false
607                         }
608                     },
609                     "dirty-flag": false
610                 },
611                 "iops_wr": 0,
612                 "ro": false,
613                 "backing_file_depth": 0,
614                 "drv": "qcow2",
615                 "iops": 0,
616                 "bps_wr": 0,
617                 "write_threshold": 0,
618                 "encrypted": false,
619                 "bps": 0,
620                 "bps_rd": 0,
621                 "cache": {
622                     "no-flush": false,
623                     "direct": false,
624                     "writeback": true
625                 },
626                 "file": "TEST_DIR/t.qcow2",
627                 "encryption_key_missing": false
628             },
629             "tray_open": false,
630             "type": "unknown"
631         }
632     ]
635     "return": {
636     }
639     "return": {
640     }
643     "return": {
644     }
647     "timestamp": {
648         "seconds":  TIMESTAMP,
649         "microseconds":  TIMESTAMP
650     },
651     "event": "DEVICE_DELETED",
652     "data": {
653         "path": "/machine/peripheral/virtio0/virtio-backend"
654     }
657     "timestamp": {
658         "seconds":  TIMESTAMP,
659         "microseconds":  TIMESTAMP
660     },
661     "event": "DEVICE_DELETED",
662     "data": {
663         "device": "virtio0",
664         "path": "/machine/peripheral/virtio0"
665     }
668     "timestamp": {
669         "seconds":  TIMESTAMP,
670         "microseconds":  TIMESTAMP
671     },
672     "event": "RESET"
675     "return": [
676         {
677             "io-status": "ok",
678             "device": "ide1-cd0",
679             "locked": false,
680             "removable": true,
681             "tray_open": false,
682             "type": "unknown"
683         },
684         {
685             "device": "floppy0",
686             "locked": false,
687             "removable": true,
688             "tray_open": false,
689             "type": "unknown"
690         },
691         {
692             "device": "sd0",
693             "locked": false,
694             "removable": true,
695             "tray_open": false,
696             "type": "unknown"
697         },
698         {
699             "io-status": "ok",
700             "device": "disk",
701             "locked": false,
702             "removable": true,
703             "inserted": {
704                 "iops_rd": 0,
705                 "detect_zeroes": "off",
706                 "image": {
707                     "virtual-size": 134217728,
708                     "filename": "TEST_DIR/t.qcow2",
709                     "cluster-size": 65536,
710                     "format": "qcow2",
711                     "actual-size": SIZE,
712                     "format-specific": {
713                         "type": "qcow2",
714                         "data": {
715                             "compat": "1.1",
716                             "lazy-refcounts": false,
717                             "refcount-bits": 16,
718                             "corrupt": false
719                         }
720                     },
721                     "dirty-flag": false
722                 },
723                 "iops_wr": 0,
724                 "ro": false,
725                 "backing_file_depth": 0,
726                 "drv": "qcow2",
727                 "iops": 0,
728                 "bps_wr": 0,
729                 "write_threshold": 0,
730                 "encrypted": false,
731                 "bps": 0,
732                 "bps_rd": 0,
733                 "cache": {
734                     "no-flush": false,
735                     "direct": false,
736                     "writeback": true
737                 },
738                 "file": "TEST_DIR/t.qcow2",
739                 "encryption_key_missing": false
740             },
741             "tray_open": false,
742             "type": "unknown"
743         }
744     ]
747     "return": {
748     }
751     "timestamp": {
752         "seconds":  TIMESTAMP,
753         "microseconds":  TIMESTAMP
754     },
755     "event": "SHUTDOWN"
758     "timestamp": {
759         "seconds":  TIMESTAMP,
760         "microseconds":  TIMESTAMP
761     },
762     "event": "DEVICE_TRAY_MOVED",
763     "data": {
764         "device": "ide1-cd0",
765         "tray-open": true
766     }
769     "timestamp": {
770         "seconds":  TIMESTAMP,
771         "microseconds":  TIMESTAMP
772     },
773     "event": "DEVICE_TRAY_MOVED",
774     "data": {
775         "device": "floppy0",
776         "tray-open": true
777     }
780 *** done