1 QA output created by 172
2 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=737280
15 check_media_rate = true
25 logical_block_size = 512 (0x200)
26 physical_block_size = 512 (0x200)
29 discard_granularity = 4294967295 (0xffffffff)
34 === Using -fda/-fdb options ===
36 Testing: -fda TEST_DIR/t.qcow2
44 check_media_rate = true
54 logical_block_size = 512 (0x200)
55 physical_block_size = 512 (0x200)
58 discard_granularity = 4294967295 (0xffffffff)
62 Testing: -fdb TEST_DIR/t.qcow2
70 check_media_rate = true
80 logical_block_size = 512 (0x200)
81 physical_block_size = 512 (0x200)
84 discard_granularity = 4294967295 (0xffffffff)
90 logical_block_size = 512 (0x200)
91 physical_block_size = 512 (0x200)
94 discard_granularity = 4294967295 (0xffffffff)
98 Testing: -fda TEST_DIR/t.qcow2 -fdb TEST_DIR/t.qcow2
101 iobase = 1008 (0x3f0)
106 check_media_rate = true
116 logical_block_size = 512 (0x200)
117 physical_block_size = 512 (0x200)
118 min_io_size = 0 (0x0)
119 opt_io_size = 0 (0x0)
120 discard_granularity = 4294967295 (0xffffffff)
126 logical_block_size = 512 (0x200)
127 physical_block_size = 512 (0x200)
128 min_io_size = 0 (0x0)
129 opt_io_size = 0 (0x0)
130 discard_granularity = 4294967295 (0xffffffff)
135 === Using -drive options ===
137 Testing: -drive if=floppy,file=TEST_DIR/t.qcow2
140 iobase = 1008 (0x3f0)
145 check_media_rate = true
155 logical_block_size = 512 (0x200)
156 physical_block_size = 512 (0x200)
157 min_io_size = 0 (0x0)
158 opt_io_size = 0 (0x0)
159 discard_granularity = 4294967295 (0xffffffff)
163 Testing: -drive if=floppy,file=TEST_DIR/t.qcow2,index=1
166 iobase = 1008 (0x3f0)
171 check_media_rate = true
181 logical_block_size = 512 (0x200)
182 physical_block_size = 512 (0x200)
183 min_io_size = 0 (0x0)
184 opt_io_size = 0 (0x0)
185 discard_granularity = 4294967295 (0xffffffff)
191 logical_block_size = 512 (0x200)
192 physical_block_size = 512 (0x200)
193 min_io_size = 0 (0x0)
194 opt_io_size = 0 (0x0)
195 discard_granularity = 4294967295 (0xffffffff)
199 Testing: -drive if=floppy,file=TEST_DIR/t.qcow2 -drive if=floppy,file=TEST_DIR/t.qcow2,index=1
202 iobase = 1008 (0x3f0)
207 check_media_rate = true
217 logical_block_size = 512 (0x200)
218 physical_block_size = 512 (0x200)
219 min_io_size = 0 (0x0)
220 opt_io_size = 0 (0x0)
221 discard_granularity = 4294967295 (0xffffffff)
227 logical_block_size = 512 (0x200)
228 physical_block_size = 512 (0x200)
229 min_io_size = 0 (0x0)
230 opt_io_size = 0 (0x0)
231 discard_granularity = 4294967295 (0xffffffff)
236 === Using -drive if=none and -global ===
238 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -global isa-fdc.driveA=none0
241 iobase = 1008 (0x3f0)
246 check_media_rate = true
256 logical_block_size = 512 (0x200)
257 physical_block_size = 512 (0x200)
258 min_io_size = 0 (0x0)
259 opt_io_size = 0 (0x0)
260 discard_granularity = 4294967295 (0xffffffff)
264 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -global isa-fdc.driveB=none0
267 iobase = 1008 (0x3f0)
272 check_media_rate = true
282 logical_block_size = 512 (0x200)
283 physical_block_size = 512 (0x200)
284 min_io_size = 0 (0x0)
285 opt_io_size = 0 (0x0)
286 discard_granularity = 4294967295 (0xffffffff)
290 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2 -global isa-fdc.driveA=none0 -global isa-fdc.driveB=none1
293 iobase = 1008 (0x3f0)
298 check_media_rate = true
308 logical_block_size = 512 (0x200)
309 physical_block_size = 512 (0x200)
310 min_io_size = 0 (0x0)
311 opt_io_size = 0 (0x0)
312 discard_granularity = 4294967295 (0xffffffff)
318 logical_block_size = 512 (0x200)
319 physical_block_size = 512 (0x200)
320 min_io_size = 0 (0x0)
321 opt_io_size = 0 (0x0)
322 discard_granularity = 4294967295 (0xffffffff)
327 === Using -drive if=none and -device ===
329 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0
332 iobase = 1008 (0x3f0)
337 check_media_rate = true
347 logical_block_size = 512 (0x200)
348 physical_block_size = 512 (0x200)
349 min_io_size = 0 (0x0)
350 opt_io_size = 0 (0x0)
351 discard_granularity = 4294967295 (0xffffffff)
355 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,unit=1
358 iobase = 1008 (0x3f0)
363 check_media_rate = true
373 logical_block_size = 512 (0x200)
374 physical_block_size = 512 (0x200)
375 min_io_size = 0 (0x0)
376 opt_io_size = 0 (0x0)
377 discard_granularity = 4294967295 (0xffffffff)
381 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0 -device floppy,drive=none1,unit=1
384 iobase = 1008 (0x3f0)
389 check_media_rate = true
399 logical_block_size = 512 (0x200)
400 physical_block_size = 512 (0x200)
401 min_io_size = 0 (0x0)
402 opt_io_size = 0 (0x0)
403 discard_granularity = 4294967295 (0xffffffff)
409 logical_block_size = 512 (0x200)
410 physical_block_size = 512 (0x200)
411 min_io_size = 0 (0x0)
412 opt_io_size = 0 (0x0)
413 discard_granularity = 4294967295 (0xffffffff)
418 === Mixing -fdX and -global ===
420 Testing: -fda TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2 -global isa-fdc.driveB=none0
423 iobase = 1008 (0x3f0)
428 check_media_rate = true
438 logical_block_size = 512 (0x200)
439 physical_block_size = 512 (0x200)
440 min_io_size = 0 (0x0)
441 opt_io_size = 0 (0x0)
442 discard_granularity = 4294967295 (0xffffffff)
448 logical_block_size = 512 (0x200)
449 physical_block_size = 512 (0x200)
450 min_io_size = 0 (0x0)
451 opt_io_size = 0 (0x0)
452 discard_granularity = 4294967295 (0xffffffff)
456 Testing: -fdb TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2 -global isa-fdc.driveA=none0
459 iobase = 1008 (0x3f0)
464 check_media_rate = true
474 logical_block_size = 512 (0x200)
475 physical_block_size = 512 (0x200)
476 min_io_size = 0 (0x0)
477 opt_io_size = 0 (0x0)
478 discard_granularity = 4294967295 (0xffffffff)
484 logical_block_size = 512 (0x200)
485 physical_block_size = 512 (0x200)
486 min_io_size = 0 (0x0)
487 opt_io_size = 0 (0x0)
488 discard_granularity = 4294967295 (0xffffffff)
492 Testing: -fda TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2 -global isa-fdc.driveA=none0
495 iobase = 1008 (0x3f0)
500 check_media_rate = true
510 logical_block_size = 512 (0x200)
511 physical_block_size = 512 (0x200)
512 min_io_size = 0 (0x0)
513 opt_io_size = 0 (0x0)
514 discard_granularity = 4294967295 (0xffffffff)
518 Testing: -fdb TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2 -global isa-fdc.driveB=none0
521 iobase = 1008 (0x3f0)
526 check_media_rate = true
536 logical_block_size = 512 (0x200)
537 physical_block_size = 512 (0x200)
538 min_io_size = 0 (0x0)
539 opt_io_size = 0 (0x0)
540 discard_granularity = 4294967295 (0xffffffff)
545 === Mixing -fdX and -device ===
547 Testing: -fda TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0
550 iobase = 1008 (0x3f0)
555 check_media_rate = true
565 logical_block_size = 512 (0x200)
566 physical_block_size = 512 (0x200)
567 min_io_size = 0 (0x0)
568 opt_io_size = 0 (0x0)
569 discard_granularity = 4294967295 (0xffffffff)
575 logical_block_size = 512 (0x200)
576 physical_block_size = 512 (0x200)
577 min_io_size = 0 (0x0)
578 opt_io_size = 0 (0x0)
579 discard_granularity = 4294967295 (0xffffffff)
583 Testing: -fda TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,unit=1
586 iobase = 1008 (0x3f0)
591 check_media_rate = true
601 logical_block_size = 512 (0x200)
602 physical_block_size = 512 (0x200)
603 min_io_size = 0 (0x0)
604 opt_io_size = 0 (0x0)
605 discard_granularity = 4294967295 (0xffffffff)
611 logical_block_size = 512 (0x200)
612 physical_block_size = 512 (0x200)
613 min_io_size = 0 (0x0)
614 opt_io_size = 0 (0x0)
615 discard_granularity = 4294967295 (0xffffffff)
619 Testing: -fdb TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0
622 iobase = 1008 (0x3f0)
627 check_media_rate = true
637 logical_block_size = 512 (0x200)
638 physical_block_size = 512 (0x200)
639 min_io_size = 0 (0x0)
640 opt_io_size = 0 (0x0)
641 discard_granularity = 4294967295 (0xffffffff)
647 logical_block_size = 512 (0x200)
648 physical_block_size = 512 (0x200)
649 min_io_size = 0 (0x0)
650 opt_io_size = 0 (0x0)
651 discard_granularity = 4294967295 (0xffffffff)
655 Testing: -fdb TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,unit=0
658 iobase = 1008 (0x3f0)
663 check_media_rate = true
673 logical_block_size = 512 (0x200)
674 physical_block_size = 512 (0x200)
675 min_io_size = 0 (0x0)
676 opt_io_size = 0 (0x0)
677 discard_granularity = 4294967295 (0xffffffff)
683 logical_block_size = 512 (0x200)
684 physical_block_size = 512 (0x200)
685 min_io_size = 0 (0x0)
686 opt_io_size = 0 (0x0)
687 discard_granularity = 4294967295 (0xffffffff)
691 Testing: -fda TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,unit=0
692 QEMU_PROG: -device floppy,drive=none0,unit=0: Floppy unit 0 is in use
693 QEMU_PROG: -device floppy,drive=none0,unit=0: Device initialization failed.
695 Testing: -fdb TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,unit=1
696 QEMU_PROG: -device floppy,drive=none0,unit=1: Floppy unit 1 is in use
697 QEMU_PROG: -device floppy,drive=none0,unit=1: Device initialization failed.
700 === Mixing -drive and -device ===
702 Testing: -drive if=floppy,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0
705 iobase = 1008 (0x3f0)
710 check_media_rate = true
720 logical_block_size = 512 (0x200)
721 physical_block_size = 512 (0x200)
722 min_io_size = 0 (0x0)
723 opt_io_size = 0 (0x0)
724 discard_granularity = 4294967295 (0xffffffff)
730 logical_block_size = 512 (0x200)
731 physical_block_size = 512 (0x200)
732 min_io_size = 0 (0x0)
733 opt_io_size = 0 (0x0)
734 discard_granularity = 4294967295 (0xffffffff)
738 Testing: -drive if=floppy,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,unit=1
741 iobase = 1008 (0x3f0)
746 check_media_rate = true
756 logical_block_size = 512 (0x200)
757 physical_block_size = 512 (0x200)
758 min_io_size = 0 (0x0)
759 opt_io_size = 0 (0x0)
760 discard_granularity = 4294967295 (0xffffffff)
766 logical_block_size = 512 (0x200)
767 physical_block_size = 512 (0x200)
768 min_io_size = 0 (0x0)
769 opt_io_size = 0 (0x0)
770 discard_granularity = 4294967295 (0xffffffff)
774 Testing: -drive if=floppy,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,unit=0
775 QEMU_PROG: -device floppy,drive=none0,unit=0: Floppy unit 0 is in use
776 QEMU_PROG: -device floppy,drive=none0,unit=0: Device initialization failed.
779 === Mixing -global and -device ===
781 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2 -global isa-fdc.driveA=none0 -device floppy,drive=none1
784 iobase = 1008 (0x3f0)
789 check_media_rate = true
799 logical_block_size = 512 (0x200)
800 physical_block_size = 512 (0x200)
801 min_io_size = 0 (0x0)
802 opt_io_size = 0 (0x0)
803 discard_granularity = 4294967295 (0xffffffff)
809 logical_block_size = 512 (0x200)
810 physical_block_size = 512 (0x200)
811 min_io_size = 0 (0x0)
812 opt_io_size = 0 (0x0)
813 discard_granularity = 4294967295 (0xffffffff)
817 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2 -global isa-fdc.driveA=none0 -device floppy,drive=none1,unit=1
820 iobase = 1008 (0x3f0)
825 check_media_rate = true
835 logical_block_size = 512 (0x200)
836 physical_block_size = 512 (0x200)
837 min_io_size = 0 (0x0)
838 opt_io_size = 0 (0x0)
839 discard_granularity = 4294967295 (0xffffffff)
845 logical_block_size = 512 (0x200)
846 physical_block_size = 512 (0x200)
847 min_io_size = 0 (0x0)
848 opt_io_size = 0 (0x0)
849 discard_granularity = 4294967295 (0xffffffff)
853 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2 -global isa-fdc.driveB=none0 -device floppy,drive=none1
856 iobase = 1008 (0x3f0)
861 check_media_rate = true
871 logical_block_size = 512 (0x200)
872 physical_block_size = 512 (0x200)
873 min_io_size = 0 (0x0)
874 opt_io_size = 0 (0x0)
875 discard_granularity = 4294967295 (0xffffffff)
881 logical_block_size = 512 (0x200)
882 physical_block_size = 512 (0x200)
883 min_io_size = 0 (0x0)
884 opt_io_size = 0 (0x0)
885 discard_granularity = 4294967295 (0xffffffff)
889 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2 -global isa-fdc.driveB=none0 -device floppy,drive=none1,unit=0
892 iobase = 1008 (0x3f0)
897 check_media_rate = true
907 logical_block_size = 512 (0x200)
908 physical_block_size = 512 (0x200)
909 min_io_size = 0 (0x0)
910 opt_io_size = 0 (0x0)
911 discard_granularity = 4294967295 (0xffffffff)
917 logical_block_size = 512 (0x200)
918 physical_block_size = 512 (0x200)
919 min_io_size = 0 (0x0)
920 opt_io_size = 0 (0x0)
921 discard_granularity = 4294967295 (0xffffffff)
925 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2 -global isa-fdc.driveA=none0 -device floppy,drive=none1,unit=0
926 QEMU_PROG: -device floppy,drive=none1,unit=0: Floppy unit 0 is in use
927 QEMU_PROG: -device floppy,drive=none1,unit=0: Device initialization failed.
929 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2 -global isa-fdc.driveB=none0 -device floppy,drive=none1,unit=1
930 QEMU_PROG: -device floppy,drive=none1,unit=1: Floppy unit 1 is in use
931 QEMU_PROG: -device floppy,drive=none1,unit=1: Device initialization failed.
934 === Too many floppy drives ===
936 Testing: -drive if=floppy,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2 -global isa-fdc.driveB=none0 -device floppy,drive=none1
937 QEMU_PROG: -device floppy,drive=none1: Can't create floppy unit 2, bus supports only 2 units
938 QEMU_PROG: -device floppy,drive=none1: Device initialization failed.
941 === Creating an empty drive with anonymous BB ===
943 Testing: -device floppy
946 iobase = 1008 (0x3f0)
951 check_media_rate = true
961 logical_block_size = 512 (0x200)
962 physical_block_size = 512 (0x200)
963 min_io_size = 0 (0x0)
964 opt_io_size = 0 (0x0)
965 discard_granularity = 4294967295 (0xffffffff)
969 Testing: -device floppy,drive-type=120
972 iobase = 1008 (0x3f0)
977 check_media_rate = true
987 logical_block_size = 512 (0x200)
988 physical_block_size = 512 (0x200)
989 min_io_size = 0 (0x0)
990 opt_io_size = 0 (0x0)
991 discard_granularity = 4294967295 (0xffffffff)
995 Testing: -device floppy,drive-type=144
998 iobase = 1008 (0x3f0)
1003 check_media_rate = true
1013 logical_block_size = 512 (0x200)
1014 physical_block_size = 512 (0x200)
1015 min_io_size = 0 (0x0)
1016 opt_io_size = 0 (0x0)
1017 discard_granularity = 4294967295 (0xffffffff)
1018 write-cache = "auto"
1021 Testing: -device floppy,drive-type=288
1024 iobase = 1008 (0x3f0)
1029 check_media_rate = true
1039 logical_block_size = 512 (0x200)
1040 physical_block_size = 512 (0x200)
1041 min_io_size = 0 (0x0)
1042 opt_io_size = 0 (0x0)
1043 discard_granularity = 4294967295 (0xffffffff)
1044 write-cache = "auto"
1048 === Try passing different drive size with image ===
1050 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,drive-type=120
1053 iobase = 1008 (0x3f0)
1058 check_media_rate = true
1068 logical_block_size = 512 (0x200)
1069 physical_block_size = 512 (0x200)
1070 min_io_size = 0 (0x0)
1071 opt_io_size = 0 (0x0)
1072 discard_granularity = 4294967295 (0xffffffff)
1073 write-cache = "auto"
1076 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,drive-type=288
1079 iobase = 1008 (0x3f0)
1084 check_media_rate = true
1094 logical_block_size = 512 (0x200)
1095 physical_block_size = 512 (0x200)
1096 min_io_size = 0 (0x0)
1097 opt_io_size = 0 (0x0)
1098 discard_granularity = 4294967295 (0xffffffff)
1099 write-cache = "auto"
1103 === Try passing different block sizes ===
1105 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,logical_block_size=512
1108 iobase = 1008 (0x3f0)
1113 check_media_rate = true
1123 logical_block_size = 512 (0x200)
1124 physical_block_size = 512 (0x200)
1125 min_io_size = 0 (0x0)
1126 opt_io_size = 0 (0x0)
1127 discard_granularity = 4294967295 (0xffffffff)
1128 write-cache = "auto"
1131 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,physical_block_size=512
1134 iobase = 1008 (0x3f0)
1139 check_media_rate = true
1149 logical_block_size = 512 (0x200)
1150 physical_block_size = 512 (0x200)
1151 min_io_size = 0 (0x0)
1152 opt_io_size = 0 (0x0)
1153 discard_granularity = 4294967295 (0xffffffff)
1154 write-cache = "auto"
1157 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,logical_block_size=4096
1158 QEMU_PROG: -device floppy,drive=none0,logical_block_size=4096: Physical and logical block size must be 512 for floppy
1159 QEMU_PROG: -device floppy,drive=none0,logical_block_size=4096: Device initialization failed.
1161 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,physical_block_size=1024
1162 QEMU_PROG: -device floppy,drive=none0,physical_block_size=1024: Physical and logical block size must be 512 for floppy
1163 QEMU_PROG: -device floppy,drive=none0,physical_block_size=1024: Device initialization failed.
1166 === Writethrough caching ===
1167 Cache mode: writeback
1168 Cache mode: writeback
1169 Cache mode: writethrough