hw/arm/virt: Add virt-3.1 machine type
[qemu/ar7.git] / tests / qemu-iotests / 172.out
blob7abbe82427a6ffbc2b55c24409715d72fca527ae
1 QA output created by 172
2 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=737280
3 Formatting 'TEST_DIR/t.IMGFMT.2', fmt=IMGFMT size=737280
4 Formatting 'TEST_DIR/t.IMGFMT.3', fmt=IMGFMT size=737280
7 === Default ===
9 Testing:
11           dev: isa-fdc, id ""
12             iobase = 1008 (0x3f0)
13             irq = 6 (0x6)
14             dma = 2 (0x2)
15             driveA = ""
16             driveB = ""
17             check_media_rate = true
18             fdtypeA = "auto"
19             fdtypeB = "auto"
20             fallback = "288"
21             isa irq 6
22             bus: floppy-bus.0
23               type floppy-bus
24               dev: floppy, id ""
25                 unit = 0 (0x0)
26                 drive = "floppy0"
27                 logical_block_size = 512 (0x200)
28                 physical_block_size = 512 (0x200)
29                 min_io_size = 0 (0x0)
30                 opt_io_size = 0 (0x0)
31                 discard_granularity = 4294967295 (0xffffffff)
32                 write-cache = "auto"
33                 share-rw = false
34                 drive-type = "288"
37 === Using -fda/-fdb options ===
39 Testing: -fda TEST_DIR/t.qcow2
41           dev: isa-fdc, id ""
42             iobase = 1008 (0x3f0)
43             irq = 6 (0x6)
44             dma = 2 (0x2)
45             driveA = ""
46             driveB = ""
47             check_media_rate = true
48             fdtypeA = "auto"
49             fdtypeB = "auto"
50             fallback = "288"
51             isa irq 6
52             bus: floppy-bus.0
53               type floppy-bus
54               dev: floppy, id ""
55                 unit = 0 (0x0)
56                 drive = "floppy0"
57                 logical_block_size = 512 (0x200)
58                 physical_block_size = 512 (0x200)
59                 min_io_size = 0 (0x0)
60                 opt_io_size = 0 (0x0)
61                 discard_granularity = 4294967295 (0xffffffff)
62                 write-cache = "auto"
63                 share-rw = false
64                 drive-type = "144"
66 Testing: -fdb TEST_DIR/t.qcow2
68           dev: isa-fdc, id ""
69             iobase = 1008 (0x3f0)
70             irq = 6 (0x6)
71             dma = 2 (0x2)
72             driveA = ""
73             driveB = ""
74             check_media_rate = true
75             fdtypeA = "auto"
76             fdtypeB = "auto"
77             fallback = "288"
78             isa irq 6
79             bus: floppy-bus.0
80               type floppy-bus
81               dev: floppy, id ""
82                 unit = 1 (0x1)
83                 drive = "floppy1"
84                 logical_block_size = 512 (0x200)
85                 physical_block_size = 512 (0x200)
86                 min_io_size = 0 (0x0)
87                 opt_io_size = 0 (0x0)
88                 discard_granularity = 4294967295 (0xffffffff)
89                 write-cache = "auto"
90                 share-rw = false
91                 drive-type = "144"
92               dev: floppy, id ""
93                 unit = 0 (0x0)
94                 drive = "floppy0"
95                 logical_block_size = 512 (0x200)
96                 physical_block_size = 512 (0x200)
97                 min_io_size = 0 (0x0)
98                 opt_io_size = 0 (0x0)
99                 discard_granularity = 4294967295 (0xffffffff)
100                 write-cache = "auto"
101                 share-rw = false
102                 drive-type = "288"
104 Testing: -fda TEST_DIR/t.qcow2 -fdb TEST_DIR/t.qcow2.2
106           dev: isa-fdc, id ""
107             iobase = 1008 (0x3f0)
108             irq = 6 (0x6)
109             dma = 2 (0x2)
110             driveA = ""
111             driveB = ""
112             check_media_rate = true
113             fdtypeA = "auto"
114             fdtypeB = "auto"
115             fallback = "288"
116             isa irq 6
117             bus: floppy-bus.0
118               type floppy-bus
119               dev: floppy, id ""
120                 unit = 1 (0x1)
121                 drive = "floppy1"
122                 logical_block_size = 512 (0x200)
123                 physical_block_size = 512 (0x200)
124                 min_io_size = 0 (0x0)
125                 opt_io_size = 0 (0x0)
126                 discard_granularity = 4294967295 (0xffffffff)
127                 write-cache = "auto"
128                 share-rw = false
129                 drive-type = "144"
130               dev: floppy, id ""
131                 unit = 0 (0x0)
132                 drive = "floppy0"
133                 logical_block_size = 512 (0x200)
134                 physical_block_size = 512 (0x200)
135                 min_io_size = 0 (0x0)
136                 opt_io_size = 0 (0x0)
137                 discard_granularity = 4294967295 (0xffffffff)
138                 write-cache = "auto"
139                 share-rw = false
140                 drive-type = "144"
143 === Using -drive options ===
145 Testing: -drive if=floppy,file=TEST_DIR/t.qcow2
147           dev: isa-fdc, id ""
148             iobase = 1008 (0x3f0)
149             irq = 6 (0x6)
150             dma = 2 (0x2)
151             driveA = ""
152             driveB = ""
153             check_media_rate = true
154             fdtypeA = "auto"
155             fdtypeB = "auto"
156             fallback = "288"
157             isa irq 6
158             bus: floppy-bus.0
159               type floppy-bus
160               dev: floppy, id ""
161                 unit = 0 (0x0)
162                 drive = "floppy0"
163                 logical_block_size = 512 (0x200)
164                 physical_block_size = 512 (0x200)
165                 min_io_size = 0 (0x0)
166                 opt_io_size = 0 (0x0)
167                 discard_granularity = 4294967295 (0xffffffff)
168                 write-cache = "auto"
169                 share-rw = false
170                 drive-type = "144"
172 Testing: -drive if=floppy,file=TEST_DIR/t.qcow2,index=1
174           dev: isa-fdc, id ""
175             iobase = 1008 (0x3f0)
176             irq = 6 (0x6)
177             dma = 2 (0x2)
178             driveA = ""
179             driveB = ""
180             check_media_rate = true
181             fdtypeA = "auto"
182             fdtypeB = "auto"
183             fallback = "288"
184             isa irq 6
185             bus: floppy-bus.0
186               type floppy-bus
187               dev: floppy, id ""
188                 unit = 1 (0x1)
189                 drive = "floppy1"
190                 logical_block_size = 512 (0x200)
191                 physical_block_size = 512 (0x200)
192                 min_io_size = 0 (0x0)
193                 opt_io_size = 0 (0x0)
194                 discard_granularity = 4294967295 (0xffffffff)
195                 write-cache = "auto"
196                 share-rw = false
197                 drive-type = "144"
198               dev: floppy, id ""
199                 unit = 0 (0x0)
200                 drive = "floppy0"
201                 logical_block_size = 512 (0x200)
202                 physical_block_size = 512 (0x200)
203                 min_io_size = 0 (0x0)
204                 opt_io_size = 0 (0x0)
205                 discard_granularity = 4294967295 (0xffffffff)
206                 write-cache = "auto"
207                 share-rw = false
208                 drive-type = "288"
210 Testing: -drive if=floppy,file=TEST_DIR/t.qcow2 -drive if=floppy,file=TEST_DIR/t.qcow2.2,index=1
212           dev: isa-fdc, id ""
213             iobase = 1008 (0x3f0)
214             irq = 6 (0x6)
215             dma = 2 (0x2)
216             driveA = ""
217             driveB = ""
218             check_media_rate = true
219             fdtypeA = "auto"
220             fdtypeB = "auto"
221             fallback = "288"
222             isa irq 6
223             bus: floppy-bus.0
224               type floppy-bus
225               dev: floppy, id ""
226                 unit = 1 (0x1)
227                 drive = "floppy1"
228                 logical_block_size = 512 (0x200)
229                 physical_block_size = 512 (0x200)
230                 min_io_size = 0 (0x0)
231                 opt_io_size = 0 (0x0)
232                 discard_granularity = 4294967295 (0xffffffff)
233                 write-cache = "auto"
234                 share-rw = false
235                 drive-type = "144"
236               dev: floppy, id ""
237                 unit = 0 (0x0)
238                 drive = "floppy0"
239                 logical_block_size = 512 (0x200)
240                 physical_block_size = 512 (0x200)
241                 min_io_size = 0 (0x0)
242                 opt_io_size = 0 (0x0)
243                 discard_granularity = 4294967295 (0xffffffff)
244                 write-cache = "auto"
245                 share-rw = false
246                 drive-type = "144"
249 === Using -drive if=none and -global ===
251 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -global isa-fdc.driveA=none0
253           dev: isa-fdc, id ""
254             iobase = 1008 (0x3f0)
255             irq = 6 (0x6)
256             dma = 2 (0x2)
257             driveA = ""
258             driveB = ""
259             check_media_rate = true
260             fdtypeA = "auto"
261             fdtypeB = "auto"
262             fallback = "288"
263             isa irq 6
264             bus: floppy-bus.0
265               type floppy-bus
266               dev: floppy, id ""
267                 unit = 0 (0x0)
268                 drive = "none0"
269                 logical_block_size = 512 (0x200)
270                 physical_block_size = 512 (0x200)
271                 min_io_size = 0 (0x0)
272                 opt_io_size = 0 (0x0)
273                 discard_granularity = 4294967295 (0xffffffff)
274                 write-cache = "auto"
275                 share-rw = false
276                 drive-type = "144"
278 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -global isa-fdc.driveB=none0
280           dev: isa-fdc, id ""
281             iobase = 1008 (0x3f0)
282             irq = 6 (0x6)
283             dma = 2 (0x2)
284             driveA = ""
285             driveB = ""
286             check_media_rate = true
287             fdtypeA = "auto"
288             fdtypeB = "auto"
289             fallback = "288"
290             isa irq 6
291             bus: floppy-bus.0
292               type floppy-bus
293               dev: floppy, id ""
294                 unit = 1 (0x1)
295                 drive = "none0"
296                 logical_block_size = 512 (0x200)
297                 physical_block_size = 512 (0x200)
298                 min_io_size = 0 (0x0)
299                 opt_io_size = 0 (0x0)
300                 discard_granularity = 4294967295 (0xffffffff)
301                 write-cache = "auto"
302                 share-rw = false
303                 drive-type = "144"
305 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -global isa-fdc.driveA=none0 -global isa-fdc.driveB=none1
307           dev: isa-fdc, id ""
308             iobase = 1008 (0x3f0)
309             irq = 6 (0x6)
310             dma = 2 (0x2)
311             driveA = ""
312             driveB = ""
313             check_media_rate = true
314             fdtypeA = "auto"
315             fdtypeB = "auto"
316             fallback = "288"
317             isa irq 6
318             bus: floppy-bus.0
319               type floppy-bus
320               dev: floppy, id ""
321                 unit = 1 (0x1)
322                 drive = "none1"
323                 logical_block_size = 512 (0x200)
324                 physical_block_size = 512 (0x200)
325                 min_io_size = 0 (0x0)
326                 opt_io_size = 0 (0x0)
327                 discard_granularity = 4294967295 (0xffffffff)
328                 write-cache = "auto"
329                 share-rw = false
330                 drive-type = "144"
331               dev: floppy, id ""
332                 unit = 0 (0x0)
333                 drive = "none0"
334                 logical_block_size = 512 (0x200)
335                 physical_block_size = 512 (0x200)
336                 min_io_size = 0 (0x0)
337                 opt_io_size = 0 (0x0)
338                 discard_granularity = 4294967295 (0xffffffff)
339                 write-cache = "auto"
340                 share-rw = false
341                 drive-type = "144"
344 === Using -drive if=none and -device ===
346 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0
348           dev: isa-fdc, id ""
349             iobase = 1008 (0x3f0)
350             irq = 6 (0x6)
351             dma = 2 (0x2)
352             driveA = ""
353             driveB = ""
354             check_media_rate = true
355             fdtypeA = "auto"
356             fdtypeB = "auto"
357             fallback = "288"
358             isa irq 6
359             bus: floppy-bus.0
360               type floppy-bus
361               dev: floppy, id ""
362                 unit = 0 (0x0)
363                 drive = "none0"
364                 logical_block_size = 512 (0x200)
365                 physical_block_size = 512 (0x200)
366                 min_io_size = 0 (0x0)
367                 opt_io_size = 0 (0x0)
368                 discard_granularity = 4294967295 (0xffffffff)
369                 write-cache = "auto"
370                 share-rw = false
371                 drive-type = "144"
373 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,unit=1
375           dev: isa-fdc, id ""
376             iobase = 1008 (0x3f0)
377             irq = 6 (0x6)
378             dma = 2 (0x2)
379             driveA = ""
380             driveB = ""
381             check_media_rate = true
382             fdtypeA = "auto"
383             fdtypeB = "auto"
384             fallback = "288"
385             isa irq 6
386             bus: floppy-bus.0
387               type floppy-bus
388               dev: floppy, id ""
389                 unit = 1 (0x1)
390                 drive = "none0"
391                 logical_block_size = 512 (0x200)
392                 physical_block_size = 512 (0x200)
393                 min_io_size = 0 (0x0)
394                 opt_io_size = 0 (0x0)
395                 discard_granularity = 4294967295 (0xffffffff)
396                 write-cache = "auto"
397                 share-rw = false
398                 drive-type = "144"
400 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0 -device floppy,drive=none1,unit=1
402           dev: isa-fdc, id ""
403             iobase = 1008 (0x3f0)
404             irq = 6 (0x6)
405             dma = 2 (0x2)
406             driveA = ""
407             driveB = ""
408             check_media_rate = true
409             fdtypeA = "auto"
410             fdtypeB = "auto"
411             fallback = "288"
412             isa irq 6
413             bus: floppy-bus.0
414               type floppy-bus
415               dev: floppy, id ""
416                 unit = 1 (0x1)
417                 drive = "none1"
418                 logical_block_size = 512 (0x200)
419                 physical_block_size = 512 (0x200)
420                 min_io_size = 0 (0x0)
421                 opt_io_size = 0 (0x0)
422                 discard_granularity = 4294967295 (0xffffffff)
423                 write-cache = "auto"
424                 share-rw = false
425                 drive-type = "144"
426               dev: floppy, id ""
427                 unit = 0 (0x0)
428                 drive = "none0"
429                 logical_block_size = 512 (0x200)
430                 physical_block_size = 512 (0x200)
431                 min_io_size = 0 (0x0)
432                 opt_io_size = 0 (0x0)
433                 discard_granularity = 4294967295 (0xffffffff)
434                 write-cache = "auto"
435                 share-rw = false
436                 drive-type = "144"
439 === Mixing -fdX and -global ===
441 Testing: -fda TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -global isa-fdc.driveB=none0
443           dev: isa-fdc, id ""
444             iobase = 1008 (0x3f0)
445             irq = 6 (0x6)
446             dma = 2 (0x2)
447             driveA = ""
448             driveB = ""
449             check_media_rate = true
450             fdtypeA = "auto"
451             fdtypeB = "auto"
452             fallback = "288"
453             isa irq 6
454             bus: floppy-bus.0
455               type floppy-bus
456               dev: floppy, id ""
457                 unit = 1 (0x1)
458                 drive = "none0"
459                 logical_block_size = 512 (0x200)
460                 physical_block_size = 512 (0x200)
461                 min_io_size = 0 (0x0)
462                 opt_io_size = 0 (0x0)
463                 discard_granularity = 4294967295 (0xffffffff)
464                 write-cache = "auto"
465                 share-rw = false
466                 drive-type = "144"
467               dev: floppy, id ""
468                 unit = 0 (0x0)
469                 drive = "floppy0"
470                 logical_block_size = 512 (0x200)
471                 physical_block_size = 512 (0x200)
472                 min_io_size = 0 (0x0)
473                 opt_io_size = 0 (0x0)
474                 discard_granularity = 4294967295 (0xffffffff)
475                 write-cache = "auto"
476                 share-rw = false
477                 drive-type = "144"
479 Testing: -fdb TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -global isa-fdc.driveA=none0
481           dev: isa-fdc, id ""
482             iobase = 1008 (0x3f0)
483             irq = 6 (0x6)
484             dma = 2 (0x2)
485             driveA = ""
486             driveB = ""
487             check_media_rate = true
488             fdtypeA = "auto"
489             fdtypeB = "auto"
490             fallback = "288"
491             isa irq 6
492             bus: floppy-bus.0
493               type floppy-bus
494               dev: floppy, id ""
495                 unit = 1 (0x1)
496                 drive = "floppy1"
497                 logical_block_size = 512 (0x200)
498                 physical_block_size = 512 (0x200)
499                 min_io_size = 0 (0x0)
500                 opt_io_size = 0 (0x0)
501                 discard_granularity = 4294967295 (0xffffffff)
502                 write-cache = "auto"
503                 share-rw = false
504                 drive-type = "144"
505               dev: floppy, id ""
506                 unit = 0 (0x0)
507                 drive = "none0"
508                 logical_block_size = 512 (0x200)
509                 physical_block_size = 512 (0x200)
510                 min_io_size = 0 (0x0)
511                 opt_io_size = 0 (0x0)
512                 discard_granularity = 4294967295 (0xffffffff)
513                 write-cache = "auto"
514                 share-rw = false
515                 drive-type = "144"
517 Testing: -fda TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -global isa-fdc.driveA=none0
519           dev: isa-fdc, id ""
520             iobase = 1008 (0x3f0)
521             irq = 6 (0x6)
522             dma = 2 (0x2)
523             driveA = ""
524             driveB = ""
525             check_media_rate = true
526             fdtypeA = "auto"
527             fdtypeB = "auto"
528             fallback = "288"
529             isa irq 6
530             bus: floppy-bus.0
531               type floppy-bus
532               dev: floppy, id ""
533                 unit = 0 (0x0)
534                 drive = "floppy0"
535                 logical_block_size = 512 (0x200)
536                 physical_block_size = 512 (0x200)
537                 min_io_size = 0 (0x0)
538                 opt_io_size = 0 (0x0)
539                 discard_granularity = 4294967295 (0xffffffff)
540                 write-cache = "auto"
541                 share-rw = false
542                 drive-type = "144"
544 Testing: -fdb TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -global isa-fdc.driveB=none0
546           dev: isa-fdc, id ""
547             iobase = 1008 (0x3f0)
548             irq = 6 (0x6)
549             dma = 2 (0x2)
550             driveA = ""
551             driveB = ""
552             check_media_rate = true
553             fdtypeA = "auto"
554             fdtypeB = "auto"
555             fallback = "288"
556             isa irq 6
557             bus: floppy-bus.0
558               type floppy-bus
559               dev: floppy, id ""
560                 unit = 1 (0x1)
561                 drive = "floppy1"
562                 logical_block_size = 512 (0x200)
563                 physical_block_size = 512 (0x200)
564                 min_io_size = 0 (0x0)
565                 opt_io_size = 0 (0x0)
566                 discard_granularity = 4294967295 (0xffffffff)
567                 write-cache = "auto"
568                 share-rw = false
569                 drive-type = "144"
572 === Mixing -fdX and -device ===
574 Testing: -fda TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0
576           dev: isa-fdc, id ""
577             iobase = 1008 (0x3f0)
578             irq = 6 (0x6)
579             dma = 2 (0x2)
580             driveA = ""
581             driveB = ""
582             check_media_rate = true
583             fdtypeA = "auto"
584             fdtypeB = "auto"
585             fallback = "288"
586             isa irq 6
587             bus: floppy-bus.0
588               type floppy-bus
589               dev: floppy, id ""
590                 unit = 1 (0x1)
591                 drive = "none0"
592                 logical_block_size = 512 (0x200)
593                 physical_block_size = 512 (0x200)
594                 min_io_size = 0 (0x0)
595                 opt_io_size = 0 (0x0)
596                 discard_granularity = 4294967295 (0xffffffff)
597                 write-cache = "auto"
598                 share-rw = false
599                 drive-type = "144"
600               dev: floppy, id ""
601                 unit = 0 (0x0)
602                 drive = "floppy0"
603                 logical_block_size = 512 (0x200)
604                 physical_block_size = 512 (0x200)
605                 min_io_size = 0 (0x0)
606                 opt_io_size = 0 (0x0)
607                 discard_granularity = 4294967295 (0xffffffff)
608                 write-cache = "auto"
609                 share-rw = false
610                 drive-type = "144"
612 Testing: -fda TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0,unit=1
614           dev: isa-fdc, id ""
615             iobase = 1008 (0x3f0)
616             irq = 6 (0x6)
617             dma = 2 (0x2)
618             driveA = ""
619             driveB = ""
620             check_media_rate = true
621             fdtypeA = "auto"
622             fdtypeB = "auto"
623             fallback = "288"
624             isa irq 6
625             bus: floppy-bus.0
626               type floppy-bus
627               dev: floppy, id ""
628                 unit = 1 (0x1)
629                 drive = "none0"
630                 logical_block_size = 512 (0x200)
631                 physical_block_size = 512 (0x200)
632                 min_io_size = 0 (0x0)
633                 opt_io_size = 0 (0x0)
634                 discard_granularity = 4294967295 (0xffffffff)
635                 write-cache = "auto"
636                 share-rw = false
637                 drive-type = "144"
638               dev: floppy, id ""
639                 unit = 0 (0x0)
640                 drive = "floppy0"
641                 logical_block_size = 512 (0x200)
642                 physical_block_size = 512 (0x200)
643                 min_io_size = 0 (0x0)
644                 opt_io_size = 0 (0x0)
645                 discard_granularity = 4294967295 (0xffffffff)
646                 write-cache = "auto"
647                 share-rw = false
648                 drive-type = "144"
650 Testing: -fdb TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0
652           dev: isa-fdc, id ""
653             iobase = 1008 (0x3f0)
654             irq = 6 (0x6)
655             dma = 2 (0x2)
656             driveA = ""
657             driveB = ""
658             check_media_rate = true
659             fdtypeA = "auto"
660             fdtypeB = "auto"
661             fallback = "288"
662             isa irq 6
663             bus: floppy-bus.0
664               type floppy-bus
665               dev: floppy, id ""
666                 unit = 0 (0x0)
667                 drive = "none0"
668                 logical_block_size = 512 (0x200)
669                 physical_block_size = 512 (0x200)
670                 min_io_size = 0 (0x0)
671                 opt_io_size = 0 (0x0)
672                 discard_granularity = 4294967295 (0xffffffff)
673                 write-cache = "auto"
674                 share-rw = false
675                 drive-type = "144"
676               dev: floppy, id ""
677                 unit = 1 (0x1)
678                 drive = "floppy1"
679                 logical_block_size = 512 (0x200)
680                 physical_block_size = 512 (0x200)
681                 min_io_size = 0 (0x0)
682                 opt_io_size = 0 (0x0)
683                 discard_granularity = 4294967295 (0xffffffff)
684                 write-cache = "auto"
685                 share-rw = false
686                 drive-type = "144"
688 Testing: -fdb TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0,unit=0
690           dev: isa-fdc, id ""
691             iobase = 1008 (0x3f0)
692             irq = 6 (0x6)
693             dma = 2 (0x2)
694             driveA = ""
695             driveB = ""
696             check_media_rate = true
697             fdtypeA = "auto"
698             fdtypeB = "auto"
699             fallback = "288"
700             isa irq 6
701             bus: floppy-bus.0
702               type floppy-bus
703               dev: floppy, id ""
704                 unit = 0 (0x0)
705                 drive = "none0"
706                 logical_block_size = 512 (0x200)
707                 physical_block_size = 512 (0x200)
708                 min_io_size = 0 (0x0)
709                 opt_io_size = 0 (0x0)
710                 discard_granularity = 4294967295 (0xffffffff)
711                 write-cache = "auto"
712                 share-rw = false
713                 drive-type = "144"
714               dev: floppy, id ""
715                 unit = 1 (0x1)
716                 drive = "floppy1"
717                 logical_block_size = 512 (0x200)
718                 physical_block_size = 512 (0x200)
719                 min_io_size = 0 (0x0)
720                 opt_io_size = 0 (0x0)
721                 discard_granularity = 4294967295 (0xffffffff)
722                 write-cache = "auto"
723                 share-rw = false
724                 drive-type = "144"
726 Testing: -fda TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0,unit=0
727 QEMU_PROG: -device floppy,drive=none0,unit=0: Floppy unit 0 is in use
729 Testing: -fdb TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0,unit=1
730 QEMU_PROG: -device floppy,drive=none0,unit=1: Floppy unit 1 is in use
733 === Mixing -drive and -device ===
735 Testing: -drive if=floppy,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0
737           dev: isa-fdc, id ""
738             iobase = 1008 (0x3f0)
739             irq = 6 (0x6)
740             dma = 2 (0x2)
741             driveA = ""
742             driveB = ""
743             check_media_rate = true
744             fdtypeA = "auto"
745             fdtypeB = "auto"
746             fallback = "288"
747             isa irq 6
748             bus: floppy-bus.0
749               type floppy-bus
750               dev: floppy, id ""
751                 unit = 1 (0x1)
752                 drive = "none0"
753                 logical_block_size = 512 (0x200)
754                 physical_block_size = 512 (0x200)
755                 min_io_size = 0 (0x0)
756                 opt_io_size = 0 (0x0)
757                 discard_granularity = 4294967295 (0xffffffff)
758                 write-cache = "auto"
759                 share-rw = false
760                 drive-type = "144"
761               dev: floppy, id ""
762                 unit = 0 (0x0)
763                 drive = "floppy0"
764                 logical_block_size = 512 (0x200)
765                 physical_block_size = 512 (0x200)
766                 min_io_size = 0 (0x0)
767                 opt_io_size = 0 (0x0)
768                 discard_granularity = 4294967295 (0xffffffff)
769                 write-cache = "auto"
770                 share-rw = false
771                 drive-type = "144"
773 Testing: -drive if=floppy,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0,unit=1
775           dev: isa-fdc, id ""
776             iobase = 1008 (0x3f0)
777             irq = 6 (0x6)
778             dma = 2 (0x2)
779             driveA = ""
780             driveB = ""
781             check_media_rate = true
782             fdtypeA = "auto"
783             fdtypeB = "auto"
784             fallback = "288"
785             isa irq 6
786             bus: floppy-bus.0
787               type floppy-bus
788               dev: floppy, id ""
789                 unit = 1 (0x1)
790                 drive = "none0"
791                 logical_block_size = 512 (0x200)
792                 physical_block_size = 512 (0x200)
793                 min_io_size = 0 (0x0)
794                 opt_io_size = 0 (0x0)
795                 discard_granularity = 4294967295 (0xffffffff)
796                 write-cache = "auto"
797                 share-rw = false
798                 drive-type = "144"
799               dev: floppy, id ""
800                 unit = 0 (0x0)
801                 drive = "floppy0"
802                 logical_block_size = 512 (0x200)
803                 physical_block_size = 512 (0x200)
804                 min_io_size = 0 (0x0)
805                 opt_io_size = 0 (0x0)
806                 discard_granularity = 4294967295 (0xffffffff)
807                 write-cache = "auto"
808                 share-rw = false
809                 drive-type = "144"
811 Testing: -drive if=floppy,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0,unit=0
812 QEMU_PROG: -device floppy,drive=none0,unit=0: Floppy unit 0 is in use
815 === Mixing -global and -device ===
817 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -global isa-fdc.driveA=none0 -device floppy,drive=none1
819           dev: isa-fdc, id ""
820             iobase = 1008 (0x3f0)
821             irq = 6 (0x6)
822             dma = 2 (0x2)
823             driveA = ""
824             driveB = ""
825             check_media_rate = true
826             fdtypeA = "auto"
827             fdtypeB = "auto"
828             fallback = "288"
829             isa irq 6
830             bus: floppy-bus.0
831               type floppy-bus
832               dev: floppy, id ""
833                 unit = 1 (0x1)
834                 drive = "none1"
835                 logical_block_size = 512 (0x200)
836                 physical_block_size = 512 (0x200)
837                 min_io_size = 0 (0x0)
838                 opt_io_size = 0 (0x0)
839                 discard_granularity = 4294967295 (0xffffffff)
840                 write-cache = "auto"
841                 share-rw = false
842                 drive-type = "144"
843               dev: floppy, id ""
844                 unit = 0 (0x0)
845                 drive = "none0"
846                 logical_block_size = 512 (0x200)
847                 physical_block_size = 512 (0x200)
848                 min_io_size = 0 (0x0)
849                 opt_io_size = 0 (0x0)
850                 discard_granularity = 4294967295 (0xffffffff)
851                 write-cache = "auto"
852                 share-rw = false
853                 drive-type = "144"
855 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -global isa-fdc.driveA=none0 -device floppy,drive=none1,unit=1
857           dev: isa-fdc, id ""
858             iobase = 1008 (0x3f0)
859             irq = 6 (0x6)
860             dma = 2 (0x2)
861             driveA = ""
862             driveB = ""
863             check_media_rate = true
864             fdtypeA = "auto"
865             fdtypeB = "auto"
866             fallback = "288"
867             isa irq 6
868             bus: floppy-bus.0
869               type floppy-bus
870               dev: floppy, id ""
871                 unit = 1 (0x1)
872                 drive = "none1"
873                 logical_block_size = 512 (0x200)
874                 physical_block_size = 512 (0x200)
875                 min_io_size = 0 (0x0)
876                 opt_io_size = 0 (0x0)
877                 discard_granularity = 4294967295 (0xffffffff)
878                 write-cache = "auto"
879                 share-rw = false
880                 drive-type = "144"
881               dev: floppy, id ""
882                 unit = 0 (0x0)
883                 drive = "none0"
884                 logical_block_size = 512 (0x200)
885                 physical_block_size = 512 (0x200)
886                 min_io_size = 0 (0x0)
887                 opt_io_size = 0 (0x0)
888                 discard_granularity = 4294967295 (0xffffffff)
889                 write-cache = "auto"
890                 share-rw = false
891                 drive-type = "144"
893 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -global isa-fdc.driveB=none0 -device floppy,drive=none1
895           dev: isa-fdc, id ""
896             iobase = 1008 (0x3f0)
897             irq = 6 (0x6)
898             dma = 2 (0x2)
899             driveA = ""
900             driveB = ""
901             check_media_rate = true
902             fdtypeA = "auto"
903             fdtypeB = "auto"
904             fallback = "288"
905             isa irq 6
906             bus: floppy-bus.0
907               type floppy-bus
908               dev: floppy, id ""
909                 unit = 0 (0x0)
910                 drive = "none1"
911                 logical_block_size = 512 (0x200)
912                 physical_block_size = 512 (0x200)
913                 min_io_size = 0 (0x0)
914                 opt_io_size = 0 (0x0)
915                 discard_granularity = 4294967295 (0xffffffff)
916                 write-cache = "auto"
917                 share-rw = false
918                 drive-type = "144"
919               dev: floppy, id ""
920                 unit = 1 (0x1)
921                 drive = "none0"
922                 logical_block_size = 512 (0x200)
923                 physical_block_size = 512 (0x200)
924                 min_io_size = 0 (0x0)
925                 opt_io_size = 0 (0x0)
926                 discard_granularity = 4294967295 (0xffffffff)
927                 write-cache = "auto"
928                 share-rw = false
929                 drive-type = "144"
931 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -global isa-fdc.driveB=none0 -device floppy,drive=none1,unit=0
933           dev: isa-fdc, id ""
934             iobase = 1008 (0x3f0)
935             irq = 6 (0x6)
936             dma = 2 (0x2)
937             driveA = ""
938             driveB = ""
939             check_media_rate = true
940             fdtypeA = "auto"
941             fdtypeB = "auto"
942             fallback = "288"
943             isa irq 6
944             bus: floppy-bus.0
945               type floppy-bus
946               dev: floppy, id ""
947                 unit = 0 (0x0)
948                 drive = "none1"
949                 logical_block_size = 512 (0x200)
950                 physical_block_size = 512 (0x200)
951                 min_io_size = 0 (0x0)
952                 opt_io_size = 0 (0x0)
953                 discard_granularity = 4294967295 (0xffffffff)
954                 write-cache = "auto"
955                 share-rw = false
956                 drive-type = "144"
957               dev: floppy, id ""
958                 unit = 1 (0x1)
959                 drive = "none0"
960                 logical_block_size = 512 (0x200)
961                 physical_block_size = 512 (0x200)
962                 min_io_size = 0 (0x0)
963                 opt_io_size = 0 (0x0)
964                 discard_granularity = 4294967295 (0xffffffff)
965                 write-cache = "auto"
966                 share-rw = false
967                 drive-type = "144"
969 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -global isa-fdc.driveA=none0 -device floppy,drive=none1,unit=0
970 QEMU_PROG: -device floppy,drive=none1,unit=0: Floppy unit 0 is in use
972 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -global isa-fdc.driveB=none0 -device floppy,drive=none1,unit=1
973 QEMU_PROG: -device floppy,drive=none1,unit=1: Floppy unit 1 is in use
976 === Too many floppy drives ===
978 Testing: -drive if=floppy,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -drive if=none,file=TEST_DIR/t.qcow2.3 -global isa-fdc.driveB=none0 -device floppy,drive=none1
979 QEMU_PROG: -device floppy,drive=none1: Can't create floppy unit 2, bus supports only 2 units
982 === Creating an empty drive with anonymous BB ===
984 Testing: -device floppy
986           dev: isa-fdc, id ""
987             iobase = 1008 (0x3f0)
988             irq = 6 (0x6)
989             dma = 2 (0x2)
990             driveA = ""
991             driveB = ""
992             check_media_rate = true
993             fdtypeA = "auto"
994             fdtypeB = "auto"
995             fallback = "288"
996             isa irq 6
997             bus: floppy-bus.0
998               type floppy-bus
999               dev: floppy, id ""
1000                 unit = 0 (0x0)
1001                 drive = ""
1002                 logical_block_size = 512 (0x200)
1003                 physical_block_size = 512 (0x200)
1004                 min_io_size = 0 (0x0)
1005                 opt_io_size = 0 (0x0)
1006                 discard_granularity = 4294967295 (0xffffffff)
1007                 write-cache = "auto"
1008                 share-rw = false
1009                 drive-type = "288"
1011 Testing: -device floppy,drive-type=120
1013           dev: isa-fdc, id ""
1014             iobase = 1008 (0x3f0)
1015             irq = 6 (0x6)
1016             dma = 2 (0x2)
1017             driveA = ""
1018             driveB = ""
1019             check_media_rate = true
1020             fdtypeA = "auto"
1021             fdtypeB = "auto"
1022             fallback = "288"
1023             isa irq 6
1024             bus: floppy-bus.0
1025               type floppy-bus
1026               dev: floppy, id ""
1027                 unit = 0 (0x0)
1028                 drive = ""
1029                 logical_block_size = 512 (0x200)
1030                 physical_block_size = 512 (0x200)
1031                 min_io_size = 0 (0x0)
1032                 opt_io_size = 0 (0x0)
1033                 discard_granularity = 4294967295 (0xffffffff)
1034                 write-cache = "auto"
1035                 share-rw = false
1036                 drive-type = "120"
1038 Testing: -device floppy,drive-type=144
1040           dev: isa-fdc, id ""
1041             iobase = 1008 (0x3f0)
1042             irq = 6 (0x6)
1043             dma = 2 (0x2)
1044             driveA = ""
1045             driveB = ""
1046             check_media_rate = true
1047             fdtypeA = "auto"
1048             fdtypeB = "auto"
1049             fallback = "288"
1050             isa irq 6
1051             bus: floppy-bus.0
1052               type floppy-bus
1053               dev: floppy, id ""
1054                 unit = 0 (0x0)
1055                 drive = ""
1056                 logical_block_size = 512 (0x200)
1057                 physical_block_size = 512 (0x200)
1058                 min_io_size = 0 (0x0)
1059                 opt_io_size = 0 (0x0)
1060                 discard_granularity = 4294967295 (0xffffffff)
1061                 write-cache = "auto"
1062                 share-rw = false
1063                 drive-type = "144"
1065 Testing: -device floppy,drive-type=288
1067           dev: isa-fdc, id ""
1068             iobase = 1008 (0x3f0)
1069             irq = 6 (0x6)
1070             dma = 2 (0x2)
1071             driveA = ""
1072             driveB = ""
1073             check_media_rate = true
1074             fdtypeA = "auto"
1075             fdtypeB = "auto"
1076             fallback = "288"
1077             isa irq 6
1078             bus: floppy-bus.0
1079               type floppy-bus
1080               dev: floppy, id ""
1081                 unit = 0 (0x0)
1082                 drive = ""
1083                 logical_block_size = 512 (0x200)
1084                 physical_block_size = 512 (0x200)
1085                 min_io_size = 0 (0x0)
1086                 opt_io_size = 0 (0x0)
1087                 discard_granularity = 4294967295 (0xffffffff)
1088                 write-cache = "auto"
1089                 share-rw = false
1090                 drive-type = "288"
1093 === Try passing different drive size with image ===
1095 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,drive-type=120
1097           dev: isa-fdc, id ""
1098             iobase = 1008 (0x3f0)
1099             irq = 6 (0x6)
1100             dma = 2 (0x2)
1101             driveA = ""
1102             driveB = ""
1103             check_media_rate = true
1104             fdtypeA = "auto"
1105             fdtypeB = "auto"
1106             fallback = "288"
1107             isa irq 6
1108             bus: floppy-bus.0
1109               type floppy-bus
1110               dev: floppy, id ""
1111                 unit = 0 (0x0)
1112                 drive = "none0"
1113                 logical_block_size = 512 (0x200)
1114                 physical_block_size = 512 (0x200)
1115                 min_io_size = 0 (0x0)
1116                 opt_io_size = 0 (0x0)
1117                 discard_granularity = 4294967295 (0xffffffff)
1118                 write-cache = "auto"
1119                 share-rw = false
1120                 drive-type = "120"
1122 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,drive-type=288
1124           dev: isa-fdc, id ""
1125             iobase = 1008 (0x3f0)
1126             irq = 6 (0x6)
1127             dma = 2 (0x2)
1128             driveA = ""
1129             driveB = ""
1130             check_media_rate = true
1131             fdtypeA = "auto"
1132             fdtypeB = "auto"
1133             fallback = "288"
1134             isa irq 6
1135             bus: floppy-bus.0
1136               type floppy-bus
1137               dev: floppy, id ""
1138                 unit = 0 (0x0)
1139                 drive = "none0"
1140                 logical_block_size = 512 (0x200)
1141                 physical_block_size = 512 (0x200)
1142                 min_io_size = 0 (0x0)
1143                 opt_io_size = 0 (0x0)
1144                 discard_granularity = 4294967295 (0xffffffff)
1145                 write-cache = "auto"
1146                 share-rw = false
1147                 drive-type = "288"
1150 === Try passing different block sizes ===
1152 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,logical_block_size=512
1154           dev: isa-fdc, id ""
1155             iobase = 1008 (0x3f0)
1156             irq = 6 (0x6)
1157             dma = 2 (0x2)
1158             driveA = ""
1159             driveB = ""
1160             check_media_rate = true
1161             fdtypeA = "auto"
1162             fdtypeB = "auto"
1163             fallback = "288"
1164             isa irq 6
1165             bus: floppy-bus.0
1166               type floppy-bus
1167               dev: floppy, id ""
1168                 unit = 0 (0x0)
1169                 drive = "none0"
1170                 logical_block_size = 512 (0x200)
1171                 physical_block_size = 512 (0x200)
1172                 min_io_size = 0 (0x0)
1173                 opt_io_size = 0 (0x0)
1174                 discard_granularity = 4294967295 (0xffffffff)
1175                 write-cache = "auto"
1176                 share-rw = false
1177                 drive-type = "144"
1179 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,physical_block_size=512
1181           dev: isa-fdc, id ""
1182             iobase = 1008 (0x3f0)
1183             irq = 6 (0x6)
1184             dma = 2 (0x2)
1185             driveA = ""
1186             driveB = ""
1187             check_media_rate = true
1188             fdtypeA = "auto"
1189             fdtypeB = "auto"
1190             fallback = "288"
1191             isa irq 6
1192             bus: floppy-bus.0
1193               type floppy-bus
1194               dev: floppy, id ""
1195                 unit = 0 (0x0)
1196                 drive = "none0"
1197                 logical_block_size = 512 (0x200)
1198                 physical_block_size = 512 (0x200)
1199                 min_io_size = 0 (0x0)
1200                 opt_io_size = 0 (0x0)
1201                 discard_granularity = 4294967295 (0xffffffff)
1202                 write-cache = "auto"
1203                 share-rw = false
1204                 drive-type = "144"
1206 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,logical_block_size=4096
1207 QEMU_PROG: -device floppy,drive=none0,logical_block_size=4096: Physical and logical block size must be 512 for floppy
1209 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,physical_block_size=1024
1210 QEMU_PROG: -device floppy,drive=none0,physical_block_size=1024: Physical and logical block size must be 512 for floppy
1213 === Writethrough caching ===
1214     Cache mode:       writeback
1215     Cache mode:       writeback
1216     Cache mode:       writethrough
1217 *** done