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
17 check_media_rate = true
27 logical_block_size = 512 (512 B)
28 physical_block_size = 512 (512 B)
31 discard_granularity = 4294967295 (4 GiB)
37 === Using -fda/-fdb options ===
39 Testing: -fda TEST_DIR/t.qcow2
47 check_media_rate = true
57 logical_block_size = 512 (512 B)
58 physical_block_size = 512 (512 B)
61 discard_granularity = 4294967295 (4 GiB)
65 floppy0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
66 Attached to: /machine/unattached/device[15]
67 Removable device: not locked, tray closed
70 ide1-cd0: [not inserted]
71 Attached to: /machine/unattached/device[22]
72 Removable device: not locked, tray closed
75 Removable device: not locked, tray closed
79 Testing: -fdb TEST_DIR/t.qcow2
87 check_media_rate = true
97 logical_block_size = 512 (512 B)
98 physical_block_size = 512 (512 B)
100 opt_io_size = 0 (0 B)
101 discard_granularity = 4294967295 (4 GiB)
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)
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
130 Removable device: not locked, tray closed
134 Testing: -fda TEST_DIR/t.qcow2 -fdb TEST_DIR/t.qcow2.2
137 iobase = 1008 (0x3f0)
142 check_media_rate = true
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)
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)
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
186 Removable device: not locked, tray closed
193 iobase = 1008 (0x3f0)
198 check_media_rate = true
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)
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)
229 === Using -drive options ===
231 Testing: -drive if=floppy,file=TEST_DIR/t.qcow2
234 iobase = 1008 (0x3f0)
239 check_media_rate = true
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)
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
267 Removable device: not locked, tray closed
271 Testing: -drive if=floppy,file=TEST_DIR/t.qcow2,index=1
274 iobase = 1008 (0x3f0)
279 check_media_rate = true
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)
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)
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
322 Removable device: not locked, tray closed
326 Testing: -drive if=floppy,file=TEST_DIR/t.qcow2 -drive if=floppy,file=TEST_DIR/t.qcow2.2,index=1
329 iobase = 1008 (0x3f0)
334 check_media_rate = true
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)
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)
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
378 Removable device: not locked, tray closed
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.
390 iobase = 1008 (0x3f0)
395 check_media_rate = true
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)
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
423 Removable device: not locked, tray closed
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.
432 iobase = 1008 (0x3f0)
437 check_media_rate = true
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)
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
465 Removable device: not locked, tray closed
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.
476 iobase = 1008 (0x3f0)
481 check_media_rate = true
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)
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)
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
525 Removable device: not locked, tray closed
530 === Using -drive if=none and -device ===
532 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0
535 iobase = 1008 (0x3f0)
540 check_media_rate = true
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)
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
568 Removable device: not locked, tray closed
572 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,unit=1
575 iobase = 1008 (0x3f0)
580 check_media_rate = true
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)
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
608 Removable device: not locked, tray closed
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
615 iobase = 1008 (0x3f0)
620 check_media_rate = true
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)
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)
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
664 Removable device: not locked, tray closed
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.
676 iobase = 1008 (0x3f0)
681 check_media_rate = true
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)
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)
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
725 Removable device: not locked, tray closed
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.
734 iobase = 1008 (0x3f0)
739 check_media_rate = true
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)
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)
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
783 Removable device: not locked, tray closed
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
806 iobase = 1008 (0x3f0)
811 check_media_rate = true
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)
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)
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
855 Removable device: not locked, tray closed
859 Testing: -fda TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0,unit=1
862 iobase = 1008 (0x3f0)
867 check_media_rate = true
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)
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)
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
911 Removable device: not locked, tray closed
915 Testing: -fdb TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0
918 iobase = 1008 (0x3f0)
923 check_media_rate = true
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)
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)
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
967 Removable device: not locked, tray closed
971 Testing: -fdb TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0,unit=0
974 iobase = 1008 (0x3f0)
979 check_media_rate = true
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)
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"
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
1023 Removable device: not locked, tray closed
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
1039 iobase = 1008 (0x3f0)
1044 check_media_rate = true
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"
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"
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
1088 Removable device: not locked, tray closed
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
1095 iobase = 1008 (0x3f0)
1100 check_media_rate = true
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"
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"
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
1144 Removable device: not locked, tray closed
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.
1159 iobase = 1008 (0x3f0)
1164 check_media_rate = true
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"
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"
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
1208 Removable device: not locked, tray closed
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.
1217 iobase = 1008 (0x3f0)
1222 check_media_rate = true
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"
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"
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
1266 Removable device: not locked, tray closed
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.
1275 iobase = 1008 (0x3f0)
1280 check_media_rate = true
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"
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"
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
1324 Removable device: not locked, tray closed
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.
1333 iobase = 1008 (0x3f0)
1338 check_media_rate = true
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"
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"
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
1382 Removable device: not locked, tray closed
1386 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -global floppy.drive=none0 -device floppy,unit=0
1389 iobase = 1008 (0x3f0)
1394 check_media_rate = true
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"
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
1422 Removable device: not locked, tray closed
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
1471 iobase = 1008 (0x3f0)
1476 check_media_rate = true
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"
1495 Testing: -device floppy,drive-type=120
1498 iobase = 1008 (0x3f0)
1503 check_media_rate = true
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"
1522 Testing: -device floppy,drive-type=144
1525 iobase = 1008 (0x3f0)
1530 check_media_rate = true
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"
1549 Testing: -device floppy,drive-type=288
1552 iobase = 1008 (0x3f0)
1557 check_media_rate = true
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"
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
1582 iobase = 1008 (0x3f0)
1587 check_media_rate = true
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"
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
1615 Removable device: not locked, tray closed
1619 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,drive-type=288
1622 iobase = 1008 (0x3f0)
1627 check_media_rate = true
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"
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
1655 Removable device: not locked, tray closed
1660 === Try passing different block sizes ===
1662 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,logical_block_size=512
1665 iobase = 1008 (0x3f0)
1670 check_media_rate = true
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"
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
1698 Removable device: not locked, tray closed
1702 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,physical_block_size=512
1705 iobase = 1008 (0x3f0)
1710 check_media_rate = true
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"
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
1738 Removable device: not locked, tray closed
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