MAINTAINERS: Extend the device fuzzing section
[qemu/ar7.git] / tests / qemu-iotests / 172.out
blobcca2894af092f5872a79ee31d2e8e13fccbe6a9e
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 (512 B)
28                 physical_block_size = 512 (512 B)
29                 min_io_size = 0 (0 B)
30                 opt_io_size = 0 (0 B)
31                 discard_granularity = 4294967295 (4 GiB)
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 (512 B)
58                 physical_block_size = 512 (512 B)
59                 min_io_size = 0 (0 B)
60                 opt_io_size = 0 (0 B)
61                 discard_granularity = 4294967295 (4 GiB)
62                 write-cache = "auto"
63                 share-rw = false
64                 drive-type = "144"
65 floppy0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
66     Attached to:      /machine/unattached/device[15]
67     Removable device: not locked, tray closed
68     Cache mode:       writeback
70 ide1-cd0: [not inserted]
71     Attached to:      /machine/unattached/device[22]
72     Removable device: not locked, tray closed
74 sd0: [not inserted]
75     Removable device: not locked, tray closed
76 (qemu) quit
79 Testing: -fdb TEST_DIR/t.qcow2
81           dev: isa-fdc, id ""
82             iobase = 1008 (0x3f0)
83             irq = 6 (0x6)
84             dma = 2 (0x2)
85             driveA = ""
86             driveB = ""
87             check_media_rate = true
88             fdtypeA = "auto"
89             fdtypeB = "auto"
90             fallback = "288"
91             isa irq 6
92             bus: floppy-bus.0
93               type floppy-bus
94               dev: floppy, id ""
95                 unit = 1 (0x1)
96                 drive = "floppy1"
97                 logical_block_size = 512 (512 B)
98                 physical_block_size = 512 (512 B)
99                 min_io_size = 0 (0 B)
100                 opt_io_size = 0 (0 B)
101                 discard_granularity = 4294967295 (4 GiB)
102                 write-cache = "auto"
103                 share-rw = false
104                 drive-type = "144"
105               dev: floppy, id ""
106                 unit = 0 (0x0)
107                 drive = "floppy0"
108                 logical_block_size = 512 (512 B)
109                 physical_block_size = 512 (512 B)
110                 min_io_size = 0 (0 B)
111                 opt_io_size = 0 (0 B)
112                 discard_granularity = 4294967295 (4 GiB)
113                 write-cache = "auto"
114                 share-rw = false
115                 drive-type = "288"
116 floppy1 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
117     Attached to:      /machine/unattached/device[16]
118     Removable device: not locked, tray closed
119     Cache mode:       writeback
121 ide1-cd0: [not inserted]
122     Attached to:      /machine/unattached/device[23]
123     Removable device: not locked, tray closed
125 floppy0: [not inserted]
126     Attached to:      /machine/unattached/device[15]
127     Removable device: not locked, tray closed
129 sd0: [not inserted]
130     Removable device: not locked, tray closed
131 (qemu) quit
134 Testing: -fda TEST_DIR/t.qcow2 -fdb TEST_DIR/t.qcow2.2
136           dev: isa-fdc, id ""
137             iobase = 1008 (0x3f0)
138             irq = 6 (0x6)
139             dma = 2 (0x2)
140             driveA = ""
141             driveB = ""
142             check_media_rate = true
143             fdtypeA = "auto"
144             fdtypeB = "auto"
145             fallback = "288"
146             isa irq 6
147             bus: floppy-bus.0
148               type floppy-bus
149               dev: floppy, id ""
150                 unit = 1 (0x1)
151                 drive = "floppy1"
152                 logical_block_size = 512 (512 B)
153                 physical_block_size = 512 (512 B)
154                 min_io_size = 0 (0 B)
155                 opt_io_size = 0 (0 B)
156                 discard_granularity = 4294967295 (4 GiB)
157                 write-cache = "auto"
158                 share-rw = false
159                 drive-type = "144"
160               dev: floppy, id ""
161                 unit = 0 (0x0)
162                 drive = "floppy0"
163                 logical_block_size = 512 (512 B)
164                 physical_block_size = 512 (512 B)
165                 min_io_size = 0 (0 B)
166                 opt_io_size = 0 (0 B)
167                 discard_granularity = 4294967295 (4 GiB)
168                 write-cache = "auto"
169                 share-rw = false
170                 drive-type = "144"
171 floppy0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
172     Attached to:      /machine/unattached/device[15]
173     Removable device: not locked, tray closed
174     Cache mode:       writeback
176 floppy1 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2)
177     Attached to:      /machine/unattached/device[16]
178     Removable device: not locked, tray closed
179     Cache mode:       writeback
181 ide1-cd0: [not inserted]
182     Attached to:      /machine/unattached/device[23]
183     Removable device: not locked, tray closed
185 sd0: [not inserted]
186     Removable device: not locked, tray closed
187 (qemu) quit
190 Testing: -fdb 
192           dev: isa-fdc, id ""
193             iobase = 1008 (0x3f0)
194             irq = 6 (0x6)
195             dma = 2 (0x2)
196             driveA = ""
197             driveB = ""
198             check_media_rate = true
199             fdtypeA = "auto"
200             fdtypeB = "auto"
201             fallback = "288"
202             isa irq 6
203             bus: floppy-bus.0
204               type floppy-bus
205               dev: floppy, id ""
206                 unit = 1 (0x1)
207                 drive = "floppy1"
208                 logical_block_size = 512 (512 B)
209                 physical_block_size = 512 (512 B)
210                 min_io_size = 0 (0 B)
211                 opt_io_size = 0 (0 B)
212                 discard_granularity = 4294967295 (4 GiB)
213                 write-cache = "auto"
214                 share-rw = false
215                 drive-type = "288"
216               dev: floppy, id ""
217                 unit = 0 (0x0)
218                 drive = "floppy0"
219                 logical_block_size = 512 (512 B)
220                 physical_block_size = 512 (512 B)
221                 min_io_size = 0 (0 B)
222                 opt_io_size = 0 (0 B)
223                 discard_granularity = 4294967295 (4 GiB)
224                 write-cache = "auto"
225                 share-rw = false
226                 drive-type = "288"
229 === Using -drive options ===
231 Testing: -drive if=floppy,file=TEST_DIR/t.qcow2
233           dev: isa-fdc, id ""
234             iobase = 1008 (0x3f0)
235             irq = 6 (0x6)
236             dma = 2 (0x2)
237             driveA = ""
238             driveB = ""
239             check_media_rate = true
240             fdtypeA = "auto"
241             fdtypeB = "auto"
242             fallback = "288"
243             isa irq 6
244             bus: floppy-bus.0
245               type floppy-bus
246               dev: floppy, id ""
247                 unit = 0 (0x0)
248                 drive = "floppy0"
249                 logical_block_size = 512 (512 B)
250                 physical_block_size = 512 (512 B)
251                 min_io_size = 0 (0 B)
252                 opt_io_size = 0 (0 B)
253                 discard_granularity = 4294967295 (4 GiB)
254                 write-cache = "auto"
255                 share-rw = false
256                 drive-type = "144"
257 floppy0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
258     Attached to:      /machine/unattached/device[15]
259     Removable device: not locked, tray closed
260     Cache mode:       writeback
262 ide1-cd0: [not inserted]
263     Attached to:      /machine/unattached/device[22]
264     Removable device: not locked, tray closed
266 sd0: [not inserted]
267     Removable device: not locked, tray closed
268 (qemu) quit
271 Testing: -drive if=floppy,file=TEST_DIR/t.qcow2,index=1
273           dev: isa-fdc, id ""
274             iobase = 1008 (0x3f0)
275             irq = 6 (0x6)
276             dma = 2 (0x2)
277             driveA = ""
278             driveB = ""
279             check_media_rate = true
280             fdtypeA = "auto"
281             fdtypeB = "auto"
282             fallback = "288"
283             isa irq 6
284             bus: floppy-bus.0
285               type floppy-bus
286               dev: floppy, id ""
287                 unit = 1 (0x1)
288                 drive = "floppy1"
289                 logical_block_size = 512 (512 B)
290                 physical_block_size = 512 (512 B)
291                 min_io_size = 0 (0 B)
292                 opt_io_size = 0 (0 B)
293                 discard_granularity = 4294967295 (4 GiB)
294                 write-cache = "auto"
295                 share-rw = false
296                 drive-type = "144"
297               dev: floppy, id ""
298                 unit = 0 (0x0)
299                 drive = "floppy0"
300                 logical_block_size = 512 (512 B)
301                 physical_block_size = 512 (512 B)
302                 min_io_size = 0 (0 B)
303                 opt_io_size = 0 (0 B)
304                 discard_granularity = 4294967295 (4 GiB)
305                 write-cache = "auto"
306                 share-rw = false
307                 drive-type = "288"
308 floppy1 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
309     Attached to:      /machine/unattached/device[16]
310     Removable device: not locked, tray closed
311     Cache mode:       writeback
313 ide1-cd0: [not inserted]
314     Attached to:      /machine/unattached/device[23]
315     Removable device: not locked, tray closed
317 floppy0: [not inserted]
318     Attached to:      /machine/unattached/device[15]
319     Removable device: not locked, tray closed
321 sd0: [not inserted]
322     Removable device: not locked, tray closed
323 (qemu) quit
326 Testing: -drive if=floppy,file=TEST_DIR/t.qcow2 -drive if=floppy,file=TEST_DIR/t.qcow2.2,index=1
328           dev: isa-fdc, id ""
329             iobase = 1008 (0x3f0)
330             irq = 6 (0x6)
331             dma = 2 (0x2)
332             driveA = ""
333             driveB = ""
334             check_media_rate = true
335             fdtypeA = "auto"
336             fdtypeB = "auto"
337             fallback = "288"
338             isa irq 6
339             bus: floppy-bus.0
340               type floppy-bus
341               dev: floppy, id ""
342                 unit = 1 (0x1)
343                 drive = "floppy1"
344                 logical_block_size = 512 (512 B)
345                 physical_block_size = 512 (512 B)
346                 min_io_size = 0 (0 B)
347                 opt_io_size = 0 (0 B)
348                 discard_granularity = 4294967295 (4 GiB)
349                 write-cache = "auto"
350                 share-rw = false
351                 drive-type = "144"
352               dev: floppy, id ""
353                 unit = 0 (0x0)
354                 drive = "floppy0"
355                 logical_block_size = 512 (512 B)
356                 physical_block_size = 512 (512 B)
357                 min_io_size = 0 (0 B)
358                 opt_io_size = 0 (0 B)
359                 discard_granularity = 4294967295 (4 GiB)
360                 write-cache = "auto"
361                 share-rw = false
362                 drive-type = "144"
363 floppy0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
364     Attached to:      /machine/unattached/device[15]
365     Removable device: not locked, tray closed
366     Cache mode:       writeback
368 floppy1 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2)
369     Attached to:      /machine/unattached/device[16]
370     Removable device: not locked, tray closed
371     Cache mode:       writeback
373 ide1-cd0: [not inserted]
374     Attached to:      /machine/unattached/device[23]
375     Removable device: not locked, tray closed
377 sd0: [not inserted]
378     Removable device: not locked, tray closed
379 (qemu) quit
383 === Using -drive if=none and -global ===
385 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -global isa-fdc.driveA=none0
386 QEMU_PROG: warning: warning: property isa-fdc.driveA is deprecated
387 Use -device floppy,unit=0,drive=... instead.
389           dev: isa-fdc, id ""
390             iobase = 1008 (0x3f0)
391             irq = 6 (0x6)
392             dma = 2 (0x2)
393             driveA = ""
394             driveB = ""
395             check_media_rate = true
396             fdtypeA = "auto"
397             fdtypeB = "auto"
398             fallback = "288"
399             isa irq 6
400             bus: floppy-bus.0
401               type floppy-bus
402               dev: floppy, id ""
403                 unit = 0 (0x0)
404                 drive = "none0"
405                 logical_block_size = 512 (512 B)
406                 physical_block_size = 512 (512 B)
407                 min_io_size = 0 (0 B)
408                 opt_io_size = 0 (0 B)
409                 discard_granularity = 4294967295 (4 GiB)
410                 write-cache = "auto"
411                 share-rw = false
412                 drive-type = "144"
413 none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
414     Attached to:      /machine/unattached/device[15]
415     Removable device: not locked, tray closed
416     Cache mode:       writeback
418 ide1-cd0: [not inserted]
419     Attached to:      /machine/unattached/device[22]
420     Removable device: not locked, tray closed
422 sd0: [not inserted]
423     Removable device: not locked, tray closed
424 (qemu) quit
427 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -global isa-fdc.driveB=none0
428 QEMU_PROG: warning: warning: property isa-fdc.driveB is deprecated
429 Use -device floppy,unit=1,drive=... instead.
431           dev: isa-fdc, id ""
432             iobase = 1008 (0x3f0)
433             irq = 6 (0x6)
434             dma = 2 (0x2)
435             driveA = ""
436             driveB = ""
437             check_media_rate = true
438             fdtypeA = "auto"
439             fdtypeB = "auto"
440             fallback = "288"
441             isa irq 6
442             bus: floppy-bus.0
443               type floppy-bus
444               dev: floppy, id ""
445                 unit = 1 (0x1)
446                 drive = "none0"
447                 logical_block_size = 512 (512 B)
448                 physical_block_size = 512 (512 B)
449                 min_io_size = 0 (0 B)
450                 opt_io_size = 0 (0 B)
451                 discard_granularity = 4294967295 (4 GiB)
452                 write-cache = "auto"
453                 share-rw = false
454                 drive-type = "144"
455 none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
456     Attached to:      /machine/unattached/device[15]
457     Removable device: not locked, tray closed
458     Cache mode:       writeback
460 ide1-cd0: [not inserted]
461     Attached to:      /machine/unattached/device[22]
462     Removable device: not locked, tray closed
464 sd0: [not inserted]
465     Removable device: not locked, tray closed
466 (qemu) quit
469 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
470 QEMU_PROG: warning: warning: property isa-fdc.driveA is deprecated
471 Use -device floppy,unit=0,drive=... instead.
472 QEMU_PROG: warning: warning: property isa-fdc.driveB is deprecated
473 Use -device floppy,unit=1,drive=... instead.
475           dev: isa-fdc, id ""
476             iobase = 1008 (0x3f0)
477             irq = 6 (0x6)
478             dma = 2 (0x2)
479             driveA = ""
480             driveB = ""
481             check_media_rate = true
482             fdtypeA = "auto"
483             fdtypeB = "auto"
484             fallback = "288"
485             isa irq 6
486             bus: floppy-bus.0
487               type floppy-bus
488               dev: floppy, id ""
489                 unit = 1 (0x1)
490                 drive = "none1"
491                 logical_block_size = 512 (512 B)
492                 physical_block_size = 512 (512 B)
493                 min_io_size = 0 (0 B)
494                 opt_io_size = 0 (0 B)
495                 discard_granularity = 4294967295 (4 GiB)
496                 write-cache = "auto"
497                 share-rw = false
498                 drive-type = "144"
499               dev: floppy, id ""
500                 unit = 0 (0x0)
501                 drive = "none0"
502                 logical_block_size = 512 (512 B)
503                 physical_block_size = 512 (512 B)
504                 min_io_size = 0 (0 B)
505                 opt_io_size = 0 (0 B)
506                 discard_granularity = 4294967295 (4 GiB)
507                 write-cache = "auto"
508                 share-rw = false
509                 drive-type = "144"
510 none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
511     Attached to:      /machine/unattached/device[15]
512     Removable device: not locked, tray closed
513     Cache mode:       writeback
515 none1 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2)
516     Attached to:      /machine/unattached/device[16]
517     Removable device: not locked, tray closed
518     Cache mode:       writeback
520 ide1-cd0: [not inserted]
521     Attached to:      /machine/unattached/device[23]
522     Removable device: not locked, tray closed
524 sd0: [not inserted]
525     Removable device: not locked, tray closed
526 (qemu) quit
530 === Using -drive if=none and -device ===
532 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0
534           dev: isa-fdc, id ""
535             iobase = 1008 (0x3f0)
536             irq = 6 (0x6)
537             dma = 2 (0x2)
538             driveA = ""
539             driveB = ""
540             check_media_rate = true
541             fdtypeA = "auto"
542             fdtypeB = "auto"
543             fallback = "288"
544             isa irq 6
545             bus: floppy-bus.0
546               type floppy-bus
547               dev: floppy, id ""
548                 unit = 0 (0x0)
549                 drive = "none0"
550                 logical_block_size = 512 (512 B)
551                 physical_block_size = 512 (512 B)
552                 min_io_size = 0 (0 B)
553                 opt_io_size = 0 (0 B)
554                 discard_granularity = 4294967295 (4 GiB)
555                 write-cache = "auto"
556                 share-rw = false
557                 drive-type = "144"
558 none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
559     Attached to:      /machine/peripheral-anon/device[0]
560     Removable device: not locked, tray closed
561     Cache mode:       writeback
563 ide1-cd0: [not inserted]
564     Attached to:      /machine/unattached/device[21]
565     Removable device: not locked, tray closed
567 sd0: [not inserted]
568     Removable device: not locked, tray closed
569 (qemu) quit
572 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,unit=1
574           dev: isa-fdc, id ""
575             iobase = 1008 (0x3f0)
576             irq = 6 (0x6)
577             dma = 2 (0x2)
578             driveA = ""
579             driveB = ""
580             check_media_rate = true
581             fdtypeA = "auto"
582             fdtypeB = "auto"
583             fallback = "288"
584             isa irq 6
585             bus: floppy-bus.0
586               type floppy-bus
587               dev: floppy, id ""
588                 unit = 1 (0x1)
589                 drive = "none0"
590                 logical_block_size = 512 (512 B)
591                 physical_block_size = 512 (512 B)
592                 min_io_size = 0 (0 B)
593                 opt_io_size = 0 (0 B)
594                 discard_granularity = 4294967295 (4 GiB)
595                 write-cache = "auto"
596                 share-rw = false
597                 drive-type = "144"
598 none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
599     Attached to:      /machine/peripheral-anon/device[0]
600     Removable device: not locked, tray closed
601     Cache mode:       writeback
603 ide1-cd0: [not inserted]
604     Attached to:      /machine/unattached/device[21]
605     Removable device: not locked, tray closed
607 sd0: [not inserted]
608     Removable device: not locked, tray closed
609 (qemu) quit
612 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
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 = "none1"
630                 logical_block_size = 512 (512 B)
631                 physical_block_size = 512 (512 B)
632                 min_io_size = 0 (0 B)
633                 opt_io_size = 0 (0 B)
634                 discard_granularity = 4294967295 (4 GiB)
635                 write-cache = "auto"
636                 share-rw = false
637                 drive-type = "144"
638               dev: floppy, id ""
639                 unit = 0 (0x0)
640                 drive = "none0"
641                 logical_block_size = 512 (512 B)
642                 physical_block_size = 512 (512 B)
643                 min_io_size = 0 (0 B)
644                 opt_io_size = 0 (0 B)
645                 discard_granularity = 4294967295 (4 GiB)
646                 write-cache = "auto"
647                 share-rw = false
648                 drive-type = "144"
649 none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
650     Attached to:      /machine/peripheral-anon/device[0]
651     Removable device: not locked, tray closed
652     Cache mode:       writeback
654 none1 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2)
655     Attached to:      /machine/peripheral-anon/device[1]
656     Removable device: not locked, tray closed
657     Cache mode:       writeback
659 ide1-cd0: [not inserted]
660     Attached to:      /machine/unattached/device[21]
661     Removable device: not locked, tray closed
663 sd0: [not inserted]
664     Removable device: not locked, tray closed
665 (qemu) quit
669 === Mixing -fdX and -global ===
671 Testing: -fda TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -global isa-fdc.driveB=none0
672 QEMU_PROG: warning: warning: property isa-fdc.driveB is deprecated
673 Use -device floppy,unit=1,drive=... instead.
675           dev: isa-fdc, id ""
676             iobase = 1008 (0x3f0)
677             irq = 6 (0x6)
678             dma = 2 (0x2)
679             driveA = ""
680             driveB = ""
681             check_media_rate = true
682             fdtypeA = "auto"
683             fdtypeB = "auto"
684             fallback = "288"
685             isa irq 6
686             bus: floppy-bus.0
687               type floppy-bus
688               dev: floppy, id ""
689                 unit = 0 (0x0)
690                 drive = "floppy0"
691                 logical_block_size = 512 (512 B)
692                 physical_block_size = 512 (512 B)
693                 min_io_size = 0 (0 B)
694                 opt_io_size = 0 (0 B)
695                 discard_granularity = 4294967295 (4 GiB)
696                 write-cache = "auto"
697                 share-rw = false
698                 drive-type = "144"
699               dev: floppy, id ""
700                 unit = 1 (0x1)
701                 drive = "none0"
702                 logical_block_size = 512 (512 B)
703                 physical_block_size = 512 (512 B)
704                 min_io_size = 0 (0 B)
705                 opt_io_size = 0 (0 B)
706                 discard_granularity = 4294967295 (4 GiB)
707                 write-cache = "auto"
708                 share-rw = false
709                 drive-type = "144"
710 floppy0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
711     Attached to:      /machine/unattached/device[16]
712     Removable device: not locked, tray closed
713     Cache mode:       writeback
715 none0 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2)
716     Attached to:      /machine/unattached/device[15]
717     Removable device: not locked, tray closed
718     Cache mode:       writeback
720 ide1-cd0: [not inserted]
721     Attached to:      /machine/unattached/device[23]
722     Removable device: not locked, tray closed
724 sd0: [not inserted]
725     Removable device: not locked, tray closed
726 (qemu) quit
729 Testing: -fdb TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -global isa-fdc.driveA=none0
730 QEMU_PROG: warning: warning: property isa-fdc.driveA is deprecated
731 Use -device floppy,unit=0,drive=... instead.
733           dev: isa-fdc, id ""
734             iobase = 1008 (0x3f0)
735             irq = 6 (0x6)
736             dma = 2 (0x2)
737             driveA = ""
738             driveB = ""
739             check_media_rate = true
740             fdtypeA = "auto"
741             fdtypeB = "auto"
742             fallback = "288"
743             isa irq 6
744             bus: floppy-bus.0
745               type floppy-bus
746               dev: floppy, id ""
747                 unit = 1 (0x1)
748                 drive = "floppy1"
749                 logical_block_size = 512 (512 B)
750                 physical_block_size = 512 (512 B)
751                 min_io_size = 0 (0 B)
752                 opt_io_size = 0 (0 B)
753                 discard_granularity = 4294967295 (4 GiB)
754                 write-cache = "auto"
755                 share-rw = false
756                 drive-type = "144"
757               dev: floppy, id ""
758                 unit = 0 (0x0)
759                 drive = "none0"
760                 logical_block_size = 512 (512 B)
761                 physical_block_size = 512 (512 B)
762                 min_io_size = 0 (0 B)
763                 opt_io_size = 0 (0 B)
764                 discard_granularity = 4294967295 (4 GiB)
765                 write-cache = "auto"
766                 share-rw = false
767                 drive-type = "144"
768 floppy1 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
769     Attached to:      /machine/unattached/device[16]
770     Removable device: not locked, tray closed
771     Cache mode:       writeback
773 none0 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2)
774     Attached to:      /machine/unattached/device[15]
775     Removable device: not locked, tray closed
776     Cache mode:       writeback
778 ide1-cd0: [not inserted]
779     Attached to:      /machine/unattached/device[23]
780     Removable device: not locked, tray closed
782 sd0: [not inserted]
783     Removable device: not locked, tray closed
784 (qemu) quit
787 Testing: -fda TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -global isa-fdc.driveA=none0
788 QEMU_PROG: warning: warning: property isa-fdc.driveA is deprecated
789 Use -device floppy,unit=0,drive=... instead.
790 QEMU_PROG: Floppy unit 0 is in use
792 Testing: -fdb TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -global isa-fdc.driveB=none0
793 QEMU_PROG: warning: warning: property isa-fdc.driveB is deprecated
794 Use -device floppy,unit=1,drive=... instead.
795 QEMU_PROG: Floppy unit 1 is in use
797 Testing: -fda TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -global floppy.drive=none0
798 QEMU_PROG: -global floppy.drive=... conflicts with drive=floppy0
801 === Mixing -fdX and -device ===
803 Testing: -fda TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0
805           dev: isa-fdc, id ""
806             iobase = 1008 (0x3f0)
807             irq = 6 (0x6)
808             dma = 2 (0x2)
809             driveA = ""
810             driveB = ""
811             check_media_rate = true
812             fdtypeA = "auto"
813             fdtypeB = "auto"
814             fallback = "288"
815             isa irq 6
816             bus: floppy-bus.0
817               type floppy-bus
818               dev: floppy, id ""
819                 unit = 1 (0x1)
820                 drive = "none0"
821                 logical_block_size = 512 (512 B)
822                 physical_block_size = 512 (512 B)
823                 min_io_size = 0 (0 B)
824                 opt_io_size = 0 (0 B)
825                 discard_granularity = 4294967295 (4 GiB)
826                 write-cache = "auto"
827                 share-rw = false
828                 drive-type = "144"
829               dev: floppy, id ""
830                 unit = 0 (0x0)
831                 drive = "floppy0"
832                 logical_block_size = 512 (512 B)
833                 physical_block_size = 512 (512 B)
834                 min_io_size = 0 (0 B)
835                 opt_io_size = 0 (0 B)
836                 discard_granularity = 4294967295 (4 GiB)
837                 write-cache = "auto"
838                 share-rw = false
839                 drive-type = "144"
840 floppy0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
841     Attached to:      /machine/unattached/device[15]
842     Removable device: not locked, tray closed
843     Cache mode:       writeback
845 none0 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2)
846     Attached to:      /machine/peripheral-anon/device[0]
847     Removable device: not locked, tray closed
848     Cache mode:       writeback
850 ide1-cd0: [not inserted]
851     Attached to:      /machine/unattached/device[22]
852     Removable device: not locked, tray closed
854 sd0: [not inserted]
855     Removable device: not locked, tray closed
856 (qemu) quit
859 Testing: -fda TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0,unit=1
861           dev: isa-fdc, id ""
862             iobase = 1008 (0x3f0)
863             irq = 6 (0x6)
864             dma = 2 (0x2)
865             driveA = ""
866             driveB = ""
867             check_media_rate = true
868             fdtypeA = "auto"
869             fdtypeB = "auto"
870             fallback = "288"
871             isa irq 6
872             bus: floppy-bus.0
873               type floppy-bus
874               dev: floppy, id ""
875                 unit = 1 (0x1)
876                 drive = "none0"
877                 logical_block_size = 512 (512 B)
878                 physical_block_size = 512 (512 B)
879                 min_io_size = 0 (0 B)
880                 opt_io_size = 0 (0 B)
881                 discard_granularity = 4294967295 (4 GiB)
882                 write-cache = "auto"
883                 share-rw = false
884                 drive-type = "144"
885               dev: floppy, id ""
886                 unit = 0 (0x0)
887                 drive = "floppy0"
888                 logical_block_size = 512 (512 B)
889                 physical_block_size = 512 (512 B)
890                 min_io_size = 0 (0 B)
891                 opt_io_size = 0 (0 B)
892                 discard_granularity = 4294967295 (4 GiB)
893                 write-cache = "auto"
894                 share-rw = false
895                 drive-type = "144"
896 floppy0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
897     Attached to:      /machine/unattached/device[15]
898     Removable device: not locked, tray closed
899     Cache mode:       writeback
901 none0 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2)
902     Attached to:      /machine/peripheral-anon/device[0]
903     Removable device: not locked, tray closed
904     Cache mode:       writeback
906 ide1-cd0: [not inserted]
907     Attached to:      /machine/unattached/device[22]
908     Removable device: not locked, tray closed
910 sd0: [not inserted]
911     Removable device: not locked, tray closed
912 (qemu) quit
915 Testing: -fdb TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0
917           dev: isa-fdc, id ""
918             iobase = 1008 (0x3f0)
919             irq = 6 (0x6)
920             dma = 2 (0x2)
921             driveA = ""
922             driveB = ""
923             check_media_rate = true
924             fdtypeA = "auto"
925             fdtypeB = "auto"
926             fallback = "288"
927             isa irq 6
928             bus: floppy-bus.0
929               type floppy-bus
930               dev: floppy, id ""
931                 unit = 0 (0x0)
932                 drive = "none0"
933                 logical_block_size = 512 (512 B)
934                 physical_block_size = 512 (512 B)
935                 min_io_size = 0 (0 B)
936                 opt_io_size = 0 (0 B)
937                 discard_granularity = 4294967295 (4 GiB)
938                 write-cache = "auto"
939                 share-rw = false
940                 drive-type = "144"
941               dev: floppy, id ""
942                 unit = 1 (0x1)
943                 drive = "floppy1"
944                 logical_block_size = 512 (512 B)
945                 physical_block_size = 512 (512 B)
946                 min_io_size = 0 (0 B)
947                 opt_io_size = 0 (0 B)
948                 discard_granularity = 4294967295 (4 GiB)
949                 write-cache = "auto"
950                 share-rw = false
951                 drive-type = "144"
952 floppy1 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
953     Attached to:      /machine/unattached/device[15]
954     Removable device: not locked, tray closed
955     Cache mode:       writeback
957 none0 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2)
958     Attached to:      /machine/peripheral-anon/device[0]
959     Removable device: not locked, tray closed
960     Cache mode:       writeback
962 ide1-cd0: [not inserted]
963     Attached to:      /machine/unattached/device[22]
964     Removable device: not locked, tray closed
966 sd0: [not inserted]
967     Removable device: not locked, tray closed
968 (qemu) quit
971 Testing: -fdb TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0,unit=0
973           dev: isa-fdc, id ""
974             iobase = 1008 (0x3f0)
975             irq = 6 (0x6)
976             dma = 2 (0x2)
977             driveA = ""
978             driveB = ""
979             check_media_rate = true
980             fdtypeA = "auto"
981             fdtypeB = "auto"
982             fallback = "288"
983             isa irq 6
984             bus: floppy-bus.0
985               type floppy-bus
986               dev: floppy, id ""
987                 unit = 0 (0x0)
988                 drive = "none0"
989                 logical_block_size = 512 (512 B)
990                 physical_block_size = 512 (512 B)
991                 min_io_size = 0 (0 B)
992                 opt_io_size = 0 (0 B)
993                 discard_granularity = 4294967295 (4 GiB)
994                 write-cache = "auto"
995                 share-rw = false
996                 drive-type = "144"
997               dev: floppy, id ""
998                 unit = 1 (0x1)
999                 drive = "floppy1"
1000                 logical_block_size = 512 (512 B)
1001                 physical_block_size = 512 (512 B)
1002                 min_io_size = 0 (0 B)
1003                 opt_io_size = 0 (0 B)
1004                 discard_granularity = 4294967295 (4 GiB)
1005                 write-cache = "auto"
1006                 share-rw = false
1007                 drive-type = "144"
1008 floppy1 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
1009     Attached to:      /machine/unattached/device[15]
1010     Removable device: not locked, tray closed
1011     Cache mode:       writeback
1013 none0 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2)
1014     Attached to:      /machine/peripheral-anon/device[0]
1015     Removable device: not locked, tray closed
1016     Cache mode:       writeback
1018 ide1-cd0: [not inserted]
1019     Attached to:      /machine/unattached/device[22]
1020     Removable device: not locked, tray closed
1022 sd0: [not inserted]
1023     Removable device: not locked, tray closed
1024 (qemu) quit
1027 Testing: -fda TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0,unit=0
1028 QEMU_PROG: -device floppy,drive=none0,unit=0: Floppy unit 0 is in use
1030 Testing: -fdb TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0,unit=1
1031 QEMU_PROG: -device floppy,drive=none0,unit=1: Floppy unit 1 is in use
1034 === Mixing -drive and -device ===
1036 Testing: -drive if=floppy,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0
1038           dev: isa-fdc, id ""
1039             iobase = 1008 (0x3f0)
1040             irq = 6 (0x6)
1041             dma = 2 (0x2)
1042             driveA = ""
1043             driveB = ""
1044             check_media_rate = true
1045             fdtypeA = "auto"
1046             fdtypeB = "auto"
1047             fallback = "288"
1048             isa irq 6
1049             bus: floppy-bus.0
1050               type floppy-bus
1051               dev: floppy, id ""
1052                 unit = 1 (0x1)
1053                 drive = "none0"
1054                 logical_block_size = 512 (512 B)
1055                 physical_block_size = 512 (512 B)
1056                 min_io_size = 0 (0 B)
1057                 opt_io_size = 0 (0 B)
1058                 discard_granularity = 4294967295 (4 GiB)
1059                 write-cache = "auto"
1060                 share-rw = false
1061                 drive-type = "144"
1062               dev: floppy, id ""
1063                 unit = 0 (0x0)
1064                 drive = "floppy0"
1065                 logical_block_size = 512 (512 B)
1066                 physical_block_size = 512 (512 B)
1067                 min_io_size = 0 (0 B)
1068                 opt_io_size = 0 (0 B)
1069                 discard_granularity = 4294967295 (4 GiB)
1070                 write-cache = "auto"
1071                 share-rw = false
1072                 drive-type = "144"
1073 floppy0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
1074     Attached to:      /machine/unattached/device[15]
1075     Removable device: not locked, tray closed
1076     Cache mode:       writeback
1078 none0 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2)
1079     Attached to:      /machine/peripheral-anon/device[0]
1080     Removable device: not locked, tray closed
1081     Cache mode:       writeback
1083 ide1-cd0: [not inserted]
1084     Attached to:      /machine/unattached/device[22]
1085     Removable device: not locked, tray closed
1087 sd0: [not inserted]
1088     Removable device: not locked, tray closed
1089 (qemu) quit
1092 Testing: -drive if=floppy,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0,unit=1
1094           dev: isa-fdc, id ""
1095             iobase = 1008 (0x3f0)
1096             irq = 6 (0x6)
1097             dma = 2 (0x2)
1098             driveA = ""
1099             driveB = ""
1100             check_media_rate = true
1101             fdtypeA = "auto"
1102             fdtypeB = "auto"
1103             fallback = "288"
1104             isa irq 6
1105             bus: floppy-bus.0
1106               type floppy-bus
1107               dev: floppy, id ""
1108                 unit = 1 (0x1)
1109                 drive = "none0"
1110                 logical_block_size = 512 (512 B)
1111                 physical_block_size = 512 (512 B)
1112                 min_io_size = 0 (0 B)
1113                 opt_io_size = 0 (0 B)
1114                 discard_granularity = 4294967295 (4 GiB)
1115                 write-cache = "auto"
1116                 share-rw = false
1117                 drive-type = "144"
1118               dev: floppy, id ""
1119                 unit = 0 (0x0)
1120                 drive = "floppy0"
1121                 logical_block_size = 512 (512 B)
1122                 physical_block_size = 512 (512 B)
1123                 min_io_size = 0 (0 B)
1124                 opt_io_size = 0 (0 B)
1125                 discard_granularity = 4294967295 (4 GiB)
1126                 write-cache = "auto"
1127                 share-rw = false
1128                 drive-type = "144"
1129 floppy0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
1130     Attached to:      /machine/unattached/device[15]
1131     Removable device: not locked, tray closed
1132     Cache mode:       writeback
1134 none0 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2)
1135     Attached to:      /machine/peripheral-anon/device[0]
1136     Removable device: not locked, tray closed
1137     Cache mode:       writeback
1139 ide1-cd0: [not inserted]
1140     Attached to:      /machine/unattached/device[22]
1141     Removable device: not locked, tray closed
1143 sd0: [not inserted]
1144     Removable device: not locked, tray closed
1145 (qemu) quit
1148 Testing: -drive if=floppy,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0,unit=0
1149 QEMU_PROG: -device floppy,drive=none0,unit=0: Floppy unit 0 is in use
1152 === Mixing -global and -device ===
1154 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
1155 QEMU_PROG: warning: warning: property isa-fdc.driveA is deprecated
1156 Use -device floppy,unit=0,drive=... instead.
1158           dev: isa-fdc, id ""
1159             iobase = 1008 (0x3f0)
1160             irq = 6 (0x6)
1161             dma = 2 (0x2)
1162             driveA = ""
1163             driveB = ""
1164             check_media_rate = true
1165             fdtypeA = "auto"
1166             fdtypeB = "auto"
1167             fallback = "288"
1168             isa irq 6
1169             bus: floppy-bus.0
1170               type floppy-bus
1171               dev: floppy, id ""
1172                 unit = 1 (0x1)
1173                 drive = "none1"
1174                 logical_block_size = 512 (512 B)
1175                 physical_block_size = 512 (512 B)
1176                 min_io_size = 0 (0 B)
1177                 opt_io_size = 0 (0 B)
1178                 discard_granularity = 4294967295 (4 GiB)
1179                 write-cache = "auto"
1180                 share-rw = false
1181                 drive-type = "144"
1182               dev: floppy, id ""
1183                 unit = 0 (0x0)
1184                 drive = "none0"
1185                 logical_block_size = 512 (512 B)
1186                 physical_block_size = 512 (512 B)
1187                 min_io_size = 0 (0 B)
1188                 opt_io_size = 0 (0 B)
1189                 discard_granularity = 4294967295 (4 GiB)
1190                 write-cache = "auto"
1191                 share-rw = false
1192                 drive-type = "144"
1193 none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
1194     Attached to:      /machine/unattached/device[15]
1195     Removable device: not locked, tray closed
1196     Cache mode:       writeback
1198 none1 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2)
1199     Attached to:      /machine/peripheral-anon/device[0]
1200     Removable device: not locked, tray closed
1201     Cache mode:       writeback
1203 ide1-cd0: [not inserted]
1204     Attached to:      /machine/unattached/device[22]
1205     Removable device: not locked, tray closed
1207 sd0: [not inserted]
1208     Removable device: not locked, tray closed
1209 (qemu) quit
1212 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
1213 QEMU_PROG: warning: warning: property isa-fdc.driveA is deprecated
1214 Use -device floppy,unit=0,drive=... instead.
1216           dev: isa-fdc, id ""
1217             iobase = 1008 (0x3f0)
1218             irq = 6 (0x6)
1219             dma = 2 (0x2)
1220             driveA = ""
1221             driveB = ""
1222             check_media_rate = true
1223             fdtypeA = "auto"
1224             fdtypeB = "auto"
1225             fallback = "288"
1226             isa irq 6
1227             bus: floppy-bus.0
1228               type floppy-bus
1229               dev: floppy, id ""
1230                 unit = 1 (0x1)
1231                 drive = "none1"
1232                 logical_block_size = 512 (512 B)
1233                 physical_block_size = 512 (512 B)
1234                 min_io_size = 0 (0 B)
1235                 opt_io_size = 0 (0 B)
1236                 discard_granularity = 4294967295 (4 GiB)
1237                 write-cache = "auto"
1238                 share-rw = false
1239                 drive-type = "144"
1240               dev: floppy, id ""
1241                 unit = 0 (0x0)
1242                 drive = "none0"
1243                 logical_block_size = 512 (512 B)
1244                 physical_block_size = 512 (512 B)
1245                 min_io_size = 0 (0 B)
1246                 opt_io_size = 0 (0 B)
1247                 discard_granularity = 4294967295 (4 GiB)
1248                 write-cache = "auto"
1249                 share-rw = false
1250                 drive-type = "144"
1251 none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
1252     Attached to:      /machine/unattached/device[15]
1253     Removable device: not locked, tray closed
1254     Cache mode:       writeback
1256 none1 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2)
1257     Attached to:      /machine/peripheral-anon/device[0]
1258     Removable device: not locked, tray closed
1259     Cache mode:       writeback
1261 ide1-cd0: [not inserted]
1262     Attached to:      /machine/unattached/device[22]
1263     Removable device: not locked, tray closed
1265 sd0: [not inserted]
1266     Removable device: not locked, tray closed
1267 (qemu) quit
1270 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
1271 QEMU_PROG: warning: warning: property isa-fdc.driveB is deprecated
1272 Use -device floppy,unit=1,drive=... instead.
1274           dev: isa-fdc, id ""
1275             iobase = 1008 (0x3f0)
1276             irq = 6 (0x6)
1277             dma = 2 (0x2)
1278             driveA = ""
1279             driveB = ""
1280             check_media_rate = true
1281             fdtypeA = "auto"
1282             fdtypeB = "auto"
1283             fallback = "288"
1284             isa irq 6
1285             bus: floppy-bus.0
1286               type floppy-bus
1287               dev: floppy, id ""
1288                 unit = 0 (0x0)
1289                 drive = "none1"
1290                 logical_block_size = 512 (512 B)
1291                 physical_block_size = 512 (512 B)
1292                 min_io_size = 0 (0 B)
1293                 opt_io_size = 0 (0 B)
1294                 discard_granularity = 4294967295 (4 GiB)
1295                 write-cache = "auto"
1296                 share-rw = false
1297                 drive-type = "144"
1298               dev: floppy, id ""
1299                 unit = 1 (0x1)
1300                 drive = "none0"
1301                 logical_block_size = 512 (512 B)
1302                 physical_block_size = 512 (512 B)
1303                 min_io_size = 0 (0 B)
1304                 opt_io_size = 0 (0 B)
1305                 discard_granularity = 4294967295 (4 GiB)
1306                 write-cache = "auto"
1307                 share-rw = false
1308                 drive-type = "144"
1309 none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
1310     Attached to:      /machine/unattached/device[15]
1311     Removable device: not locked, tray closed
1312     Cache mode:       writeback
1314 none1 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2)
1315     Attached to:      /machine/peripheral-anon/device[0]
1316     Removable device: not locked, tray closed
1317     Cache mode:       writeback
1319 ide1-cd0: [not inserted]
1320     Attached to:      /machine/unattached/device[22]
1321     Removable device: not locked, tray closed
1323 sd0: [not inserted]
1324     Removable device: not locked, tray closed
1325 (qemu) quit
1328 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
1329 QEMU_PROG: warning: warning: property isa-fdc.driveB is deprecated
1330 Use -device floppy,unit=1,drive=... instead.
1332           dev: isa-fdc, id ""
1333             iobase = 1008 (0x3f0)
1334             irq = 6 (0x6)
1335             dma = 2 (0x2)
1336             driveA = ""
1337             driveB = ""
1338             check_media_rate = true
1339             fdtypeA = "auto"
1340             fdtypeB = "auto"
1341             fallback = "288"
1342             isa irq 6
1343             bus: floppy-bus.0
1344               type floppy-bus
1345               dev: floppy, id ""
1346                 unit = 0 (0x0)
1347                 drive = "none1"
1348                 logical_block_size = 512 (512 B)
1349                 physical_block_size = 512 (512 B)
1350                 min_io_size = 0 (0 B)
1351                 opt_io_size = 0 (0 B)
1352                 discard_granularity = 4294967295 (4 GiB)
1353                 write-cache = "auto"
1354                 share-rw = false
1355                 drive-type = "144"
1356               dev: floppy, id ""
1357                 unit = 1 (0x1)
1358                 drive = "none0"
1359                 logical_block_size = 512 (512 B)
1360                 physical_block_size = 512 (512 B)
1361                 min_io_size = 0 (0 B)
1362                 opt_io_size = 0 (0 B)
1363                 discard_granularity = 4294967295 (4 GiB)
1364                 write-cache = "auto"
1365                 share-rw = false
1366                 drive-type = "144"
1367 none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
1368     Attached to:      /machine/unattached/device[15]
1369     Removable device: not locked, tray closed
1370     Cache mode:       writeback
1372 none1 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2)
1373     Attached to:      /machine/peripheral-anon/device[0]
1374     Removable device: not locked, tray closed
1375     Cache mode:       writeback
1377 ide1-cd0: [not inserted]
1378     Attached to:      /machine/unattached/device[22]
1379     Removable device: not locked, tray closed
1381 sd0: [not inserted]
1382     Removable device: not locked, tray closed
1383 (qemu) quit
1386 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -global floppy.drive=none0 -device floppy,unit=0
1388           dev: isa-fdc, id ""
1389             iobase = 1008 (0x3f0)
1390             irq = 6 (0x6)
1391             dma = 2 (0x2)
1392             driveA = ""
1393             driveB = ""
1394             check_media_rate = true
1395             fdtypeA = "auto"
1396             fdtypeB = "auto"
1397             fallback = "288"
1398             isa irq 6
1399             bus: floppy-bus.0
1400               type floppy-bus
1401               dev: floppy, id ""
1402                 unit = 0 (0x0)
1403                 drive = "none0"
1404                 logical_block_size = 512 (512 B)
1405                 physical_block_size = 512 (512 B)
1406                 min_io_size = 0 (0 B)
1407                 opt_io_size = 0 (0 B)
1408                 discard_granularity = 4294967295 (4 GiB)
1409                 write-cache = "auto"
1410                 share-rw = false
1411                 drive-type = "144"
1412 none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
1413     Attached to:      /machine/peripheral-anon/device[0]
1414     Removable device: not locked, tray closed
1415     Cache mode:       writeback
1417 ide1-cd0: [not inserted]
1418     Attached to:      /machine/unattached/device[21]
1419     Removable device: not locked, tray closed
1421 sd0: [not inserted]
1422     Removable device: not locked, tray closed
1423 (qemu) quit
1426 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
1427 QEMU_PROG: warning: warning: property isa-fdc.driveA is deprecated
1428 Use -device floppy,unit=0,drive=... instead.
1429 QEMU_PROG: -device floppy,drive=none1,unit=0: Floppy unit 0 is in use
1431 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
1432 QEMU_PROG: warning: warning: property isa-fdc.driveB is deprecated
1433 Use -device floppy,unit=1,drive=... instead.
1434 QEMU_PROG: -device floppy,drive=none1,unit=1: Floppy unit 1 is in use
1436 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -global floppy.drive=none0 -device floppy,drive=none1,unit=0
1437 QEMU_PROG: -device floppy,drive=none1,unit=0: -global floppy.drive=... conflicts with drive=none1
1440 === Attempt to use drive twice ===
1442 Testing: -drive if=none -device floppy,drive=none0 -device floppy -device floppy,drive=none0
1443 QEMU_PROG: -device floppy,drive=none0: Drive 'none0' is already in use by another device
1445 Testing: -drive if=none -global floppy.drive=none0 -device floppy -device floppy
1446 QEMU_PROG: -device floppy: can't apply global floppy.drive=none0: Drive 'none0' is already in use by another device
1448 Testing: -fda  -device floppy,drive=floppy0
1449 QEMU_PROG: -device floppy,drive=floppy0: Drive 'floppy0' is already in use because it has been automatically connected to another device (did you need 'if=none' in the drive options?)
1451 Testing: -fda  -global floppy.drive=floppy0
1452 QEMU_PROG: -global floppy.drive=... conflicts with drive=floppy0
1454 Testing: -device floppy,drive=floppy0
1455 QEMU_PROG: -device floppy,drive=floppy0: Property 'floppy.drive' can't find value 'floppy0'
1458 === Too many floppy drives ===
1460 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
1461 QEMU_PROG: warning: warning: property isa-fdc.driveB is deprecated
1462 Use -device floppy,unit=1,drive=... instead.
1463 QEMU_PROG: -device floppy,drive=none1: Can't create floppy unit 2, bus supports only 2 units
1466 === Creating an empty drive with anonymous BB ===
1468 Testing: -device floppy
1470           dev: isa-fdc, id ""
1471             iobase = 1008 (0x3f0)
1472             irq = 6 (0x6)
1473             dma = 2 (0x2)
1474             driveA = ""
1475             driveB = ""
1476             check_media_rate = true
1477             fdtypeA = "auto"
1478             fdtypeB = "auto"
1479             fallback = "288"
1480             isa irq 6
1481             bus: floppy-bus.0
1482               type floppy-bus
1483               dev: floppy, id ""
1484                 unit = 0 (0x0)
1485                 drive = ""
1486                 logical_block_size = 512 (512 B)
1487                 physical_block_size = 512 (512 B)
1488                 min_io_size = 0 (0 B)
1489                 opt_io_size = 0 (0 B)
1490                 discard_granularity = 4294967295 (4 GiB)
1491                 write-cache = "auto"
1492                 share-rw = false
1493                 drive-type = "288"
1495 Testing: -device floppy,drive-type=120
1497           dev: isa-fdc, id ""
1498             iobase = 1008 (0x3f0)
1499             irq = 6 (0x6)
1500             dma = 2 (0x2)
1501             driveA = ""
1502             driveB = ""
1503             check_media_rate = true
1504             fdtypeA = "auto"
1505             fdtypeB = "auto"
1506             fallback = "288"
1507             isa irq 6
1508             bus: floppy-bus.0
1509               type floppy-bus
1510               dev: floppy, id ""
1511                 unit = 0 (0x0)
1512                 drive = ""
1513                 logical_block_size = 512 (512 B)
1514                 physical_block_size = 512 (512 B)
1515                 min_io_size = 0 (0 B)
1516                 opt_io_size = 0 (0 B)
1517                 discard_granularity = 4294967295 (4 GiB)
1518                 write-cache = "auto"
1519                 share-rw = false
1520                 drive-type = "120"
1522 Testing: -device floppy,drive-type=144
1524           dev: isa-fdc, id ""
1525             iobase = 1008 (0x3f0)
1526             irq = 6 (0x6)
1527             dma = 2 (0x2)
1528             driveA = ""
1529             driveB = ""
1530             check_media_rate = true
1531             fdtypeA = "auto"
1532             fdtypeB = "auto"
1533             fallback = "288"
1534             isa irq 6
1535             bus: floppy-bus.0
1536               type floppy-bus
1537               dev: floppy, id ""
1538                 unit = 0 (0x0)
1539                 drive = ""
1540                 logical_block_size = 512 (512 B)
1541                 physical_block_size = 512 (512 B)
1542                 min_io_size = 0 (0 B)
1543                 opt_io_size = 0 (0 B)
1544                 discard_granularity = 4294967295 (4 GiB)
1545                 write-cache = "auto"
1546                 share-rw = false
1547                 drive-type = "144"
1549 Testing: -device floppy,drive-type=288
1551           dev: isa-fdc, id ""
1552             iobase = 1008 (0x3f0)
1553             irq = 6 (0x6)
1554             dma = 2 (0x2)
1555             driveA = ""
1556             driveB = ""
1557             check_media_rate = true
1558             fdtypeA = "auto"
1559             fdtypeB = "auto"
1560             fallback = "288"
1561             isa irq 6
1562             bus: floppy-bus.0
1563               type floppy-bus
1564               dev: floppy, id ""
1565                 unit = 0 (0x0)
1566                 drive = ""
1567                 logical_block_size = 512 (512 B)
1568                 physical_block_size = 512 (512 B)
1569                 min_io_size = 0 (0 B)
1570                 opt_io_size = 0 (0 B)
1571                 discard_granularity = 4294967295 (4 GiB)
1572                 write-cache = "auto"
1573                 share-rw = false
1574                 drive-type = "288"
1577 === Try passing different drive size with image ===
1579 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,drive-type=120
1581           dev: isa-fdc, id ""
1582             iobase = 1008 (0x3f0)
1583             irq = 6 (0x6)
1584             dma = 2 (0x2)
1585             driveA = ""
1586             driveB = ""
1587             check_media_rate = true
1588             fdtypeA = "auto"
1589             fdtypeB = "auto"
1590             fallback = "288"
1591             isa irq 6
1592             bus: floppy-bus.0
1593               type floppy-bus
1594               dev: floppy, id ""
1595                 unit = 0 (0x0)
1596                 drive = "none0"
1597                 logical_block_size = 512 (512 B)
1598                 physical_block_size = 512 (512 B)
1599                 min_io_size = 0 (0 B)
1600                 opt_io_size = 0 (0 B)
1601                 discard_granularity = 4294967295 (4 GiB)
1602                 write-cache = "auto"
1603                 share-rw = false
1604                 drive-type = "120"
1605 none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
1606     Attached to:      /machine/peripheral-anon/device[0]
1607     Removable device: not locked, tray closed
1608     Cache mode:       writeback
1610 ide1-cd0: [not inserted]
1611     Attached to:      /machine/unattached/device[21]
1612     Removable device: not locked, tray closed
1614 sd0: [not inserted]
1615     Removable device: not locked, tray closed
1616 (qemu) quit
1619 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,drive-type=288
1621           dev: isa-fdc, id ""
1622             iobase = 1008 (0x3f0)
1623             irq = 6 (0x6)
1624             dma = 2 (0x2)
1625             driveA = ""
1626             driveB = ""
1627             check_media_rate = true
1628             fdtypeA = "auto"
1629             fdtypeB = "auto"
1630             fallback = "288"
1631             isa irq 6
1632             bus: floppy-bus.0
1633               type floppy-bus
1634               dev: floppy, id ""
1635                 unit = 0 (0x0)
1636                 drive = "none0"
1637                 logical_block_size = 512 (512 B)
1638                 physical_block_size = 512 (512 B)
1639                 min_io_size = 0 (0 B)
1640                 opt_io_size = 0 (0 B)
1641                 discard_granularity = 4294967295 (4 GiB)
1642                 write-cache = "auto"
1643                 share-rw = false
1644                 drive-type = "288"
1645 none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
1646     Attached to:      /machine/peripheral-anon/device[0]
1647     Removable device: not locked, tray closed
1648     Cache mode:       writeback
1650 ide1-cd0: [not inserted]
1651     Attached to:      /machine/unattached/device[21]
1652     Removable device: not locked, tray closed
1654 sd0: [not inserted]
1655     Removable device: not locked, tray closed
1656 (qemu) quit
1660 === Try passing different block sizes ===
1662 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,logical_block_size=512
1664           dev: isa-fdc, id ""
1665             iobase = 1008 (0x3f0)
1666             irq = 6 (0x6)
1667             dma = 2 (0x2)
1668             driveA = ""
1669             driveB = ""
1670             check_media_rate = true
1671             fdtypeA = "auto"
1672             fdtypeB = "auto"
1673             fallback = "288"
1674             isa irq 6
1675             bus: floppy-bus.0
1676               type floppy-bus
1677               dev: floppy, id ""
1678                 unit = 0 (0x0)
1679                 drive = "none0"
1680                 logical_block_size = 512 (512 B)
1681                 physical_block_size = 512 (512 B)
1682                 min_io_size = 0 (0 B)
1683                 opt_io_size = 0 (0 B)
1684                 discard_granularity = 4294967295 (4 GiB)
1685                 write-cache = "auto"
1686                 share-rw = false
1687                 drive-type = "144"
1688 none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
1689     Attached to:      /machine/peripheral-anon/device[0]
1690     Removable device: not locked, tray closed
1691     Cache mode:       writeback
1693 ide1-cd0: [not inserted]
1694     Attached to:      /machine/unattached/device[21]
1695     Removable device: not locked, tray closed
1697 sd0: [not inserted]
1698     Removable device: not locked, tray closed
1699 (qemu) quit
1702 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,physical_block_size=512
1704           dev: isa-fdc, id ""
1705             iobase = 1008 (0x3f0)
1706             irq = 6 (0x6)
1707             dma = 2 (0x2)
1708             driveA = ""
1709             driveB = ""
1710             check_media_rate = true
1711             fdtypeA = "auto"
1712             fdtypeB = "auto"
1713             fallback = "288"
1714             isa irq 6
1715             bus: floppy-bus.0
1716               type floppy-bus
1717               dev: floppy, id ""
1718                 unit = 0 (0x0)
1719                 drive = "none0"
1720                 logical_block_size = 512 (512 B)
1721                 physical_block_size = 512 (512 B)
1722                 min_io_size = 0 (0 B)
1723                 opt_io_size = 0 (0 B)
1724                 discard_granularity = 4294967295 (4 GiB)
1725                 write-cache = "auto"
1726                 share-rw = false
1727                 drive-type = "144"
1728 none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
1729     Attached to:      /machine/peripheral-anon/device[0]
1730     Removable device: not locked, tray closed
1731     Cache mode:       writeback
1733 ide1-cd0: [not inserted]
1734     Attached to:      /machine/unattached/device[21]
1735     Removable device: not locked, tray closed
1737 sd0: [not inserted]
1738     Removable device: not locked, tray closed
1739 (qemu) quit
1742 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,logical_block_size=4096
1743 QEMU_PROG: -device floppy,drive=none0,logical_block_size=4096: logical_block_size > physical_block_size not supported
1745 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,physical_block_size=1024
1746 QEMU_PROG: -device floppy,drive=none0,physical_block_size=1024: Physical and logical block size must be 512 for floppy
1749 === Writethrough caching ===
1750     Cache mode:       writeback
1751     Cache mode:       writeback
1752     Cache mode:       writethrough
1753 *** done