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 (0x200)
28 physical_block_size = 512 (0x200)
31 discard_granularity = 4294967295 (0xffffffff)
37 === Using -fda/-fdb options ===
39 Testing: -fda TEST_DIR/t.qcow2
47 check_media_rate = true
57 logical_block_size = 512 (0x200)
58 physical_block_size = 512 (0x200)
61 discard_granularity = 4294967295 (0xffffffff)
66 Testing: -fdb TEST_DIR/t.qcow2
74 check_media_rate = true
84 logical_block_size = 512 (0x200)
85 physical_block_size = 512 (0x200)
88 discard_granularity = 4294967295 (0xffffffff)
95 logical_block_size = 512 (0x200)
96 physical_block_size = 512 (0x200)
99 discard_granularity = 4294967295 (0xffffffff)
104 Testing: -fda TEST_DIR/t.qcow2 -fdb TEST_DIR/t.qcow2.2
107 iobase = 1008 (0x3f0)
112 check_media_rate = true
122 logical_block_size = 512 (0x200)
123 physical_block_size = 512 (0x200)
124 min_io_size = 0 (0x0)
125 opt_io_size = 0 (0x0)
126 discard_granularity = 4294967295 (0xffffffff)
133 logical_block_size = 512 (0x200)
134 physical_block_size = 512 (0x200)
135 min_io_size = 0 (0x0)
136 opt_io_size = 0 (0x0)
137 discard_granularity = 4294967295 (0xffffffff)
143 === Using -drive options ===
145 Testing: -drive if=floppy,file=TEST_DIR/t.qcow2
148 iobase = 1008 (0x3f0)
153 check_media_rate = true
163 logical_block_size = 512 (0x200)
164 physical_block_size = 512 (0x200)
165 min_io_size = 0 (0x0)
166 opt_io_size = 0 (0x0)
167 discard_granularity = 4294967295 (0xffffffff)
172 Testing: -drive if=floppy,file=TEST_DIR/t.qcow2,index=1
175 iobase = 1008 (0x3f0)
180 check_media_rate = true
190 logical_block_size = 512 (0x200)
191 physical_block_size = 512 (0x200)
192 min_io_size = 0 (0x0)
193 opt_io_size = 0 (0x0)
194 discard_granularity = 4294967295 (0xffffffff)
201 logical_block_size = 512 (0x200)
202 physical_block_size = 512 (0x200)
203 min_io_size = 0 (0x0)
204 opt_io_size = 0 (0x0)
205 discard_granularity = 4294967295 (0xffffffff)
210 Testing: -drive if=floppy,file=TEST_DIR/t.qcow2 -drive if=floppy,file=TEST_DIR/t.qcow2.2,index=1
213 iobase = 1008 (0x3f0)
218 check_media_rate = true
228 logical_block_size = 512 (0x200)
229 physical_block_size = 512 (0x200)
230 min_io_size = 0 (0x0)
231 opt_io_size = 0 (0x0)
232 discard_granularity = 4294967295 (0xffffffff)
239 logical_block_size = 512 (0x200)
240 physical_block_size = 512 (0x200)
241 min_io_size = 0 (0x0)
242 opt_io_size = 0 (0x0)
243 discard_granularity = 4294967295 (0xffffffff)
249 === Using -drive if=none and -global ===
251 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -global isa-fdc.driveA=none0
254 iobase = 1008 (0x3f0)
259 check_media_rate = true
269 logical_block_size = 512 (0x200)
270 physical_block_size = 512 (0x200)
271 min_io_size = 0 (0x0)
272 opt_io_size = 0 (0x0)
273 discard_granularity = 4294967295 (0xffffffff)
278 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -global isa-fdc.driveB=none0
281 iobase = 1008 (0x3f0)
286 check_media_rate = true
296 logical_block_size = 512 (0x200)
297 physical_block_size = 512 (0x200)
298 min_io_size = 0 (0x0)
299 opt_io_size = 0 (0x0)
300 discard_granularity = 4294967295 (0xffffffff)
305 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -global isa-fdc.driveA=none0 -global isa-fdc.driveB=none1
308 iobase = 1008 (0x3f0)
313 check_media_rate = true
323 logical_block_size = 512 (0x200)
324 physical_block_size = 512 (0x200)
325 min_io_size = 0 (0x0)
326 opt_io_size = 0 (0x0)
327 discard_granularity = 4294967295 (0xffffffff)
334 logical_block_size = 512 (0x200)
335 physical_block_size = 512 (0x200)
336 min_io_size = 0 (0x0)
337 opt_io_size = 0 (0x0)
338 discard_granularity = 4294967295 (0xffffffff)
344 === Using -drive if=none and -device ===
346 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0
349 iobase = 1008 (0x3f0)
354 check_media_rate = true
364 logical_block_size = 512 (0x200)
365 physical_block_size = 512 (0x200)
366 min_io_size = 0 (0x0)
367 opt_io_size = 0 (0x0)
368 discard_granularity = 4294967295 (0xffffffff)
373 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,unit=1
376 iobase = 1008 (0x3f0)
381 check_media_rate = true
391 logical_block_size = 512 (0x200)
392 physical_block_size = 512 (0x200)
393 min_io_size = 0 (0x0)
394 opt_io_size = 0 (0x0)
395 discard_granularity = 4294967295 (0xffffffff)
400 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0 -device floppy,drive=none1,unit=1
403 iobase = 1008 (0x3f0)
408 check_media_rate = true
418 logical_block_size = 512 (0x200)
419 physical_block_size = 512 (0x200)
420 min_io_size = 0 (0x0)
421 opt_io_size = 0 (0x0)
422 discard_granularity = 4294967295 (0xffffffff)
429 logical_block_size = 512 (0x200)
430 physical_block_size = 512 (0x200)
431 min_io_size = 0 (0x0)
432 opt_io_size = 0 (0x0)
433 discard_granularity = 4294967295 (0xffffffff)
439 === Mixing -fdX and -global ===
441 Testing: -fda TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -global isa-fdc.driveB=none0
444 iobase = 1008 (0x3f0)
449 check_media_rate = true
459 logical_block_size = 512 (0x200)
460 physical_block_size = 512 (0x200)
461 min_io_size = 0 (0x0)
462 opt_io_size = 0 (0x0)
463 discard_granularity = 4294967295 (0xffffffff)
470 logical_block_size = 512 (0x200)
471 physical_block_size = 512 (0x200)
472 min_io_size = 0 (0x0)
473 opt_io_size = 0 (0x0)
474 discard_granularity = 4294967295 (0xffffffff)
479 Testing: -fdb TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -global isa-fdc.driveA=none0
482 iobase = 1008 (0x3f0)
487 check_media_rate = true
497 logical_block_size = 512 (0x200)
498 physical_block_size = 512 (0x200)
499 min_io_size = 0 (0x0)
500 opt_io_size = 0 (0x0)
501 discard_granularity = 4294967295 (0xffffffff)
508 logical_block_size = 512 (0x200)
509 physical_block_size = 512 (0x200)
510 min_io_size = 0 (0x0)
511 opt_io_size = 0 (0x0)
512 discard_granularity = 4294967295 (0xffffffff)
517 Testing: -fda TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -global isa-fdc.driveA=none0
520 iobase = 1008 (0x3f0)
525 check_media_rate = true
535 logical_block_size = 512 (0x200)
536 physical_block_size = 512 (0x200)
537 min_io_size = 0 (0x0)
538 opt_io_size = 0 (0x0)
539 discard_granularity = 4294967295 (0xffffffff)
544 Testing: -fdb TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -global isa-fdc.driveB=none0
547 iobase = 1008 (0x3f0)
552 check_media_rate = true
562 logical_block_size = 512 (0x200)
563 physical_block_size = 512 (0x200)
564 min_io_size = 0 (0x0)
565 opt_io_size = 0 (0x0)
566 discard_granularity = 4294967295 (0xffffffff)
572 === Mixing -fdX and -device ===
574 Testing: -fda TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0
577 iobase = 1008 (0x3f0)
582 check_media_rate = true
592 logical_block_size = 512 (0x200)
593 physical_block_size = 512 (0x200)
594 min_io_size = 0 (0x0)
595 opt_io_size = 0 (0x0)
596 discard_granularity = 4294967295 (0xffffffff)
603 logical_block_size = 512 (0x200)
604 physical_block_size = 512 (0x200)
605 min_io_size = 0 (0x0)
606 opt_io_size = 0 (0x0)
607 discard_granularity = 4294967295 (0xffffffff)
612 Testing: -fda TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0,unit=1
615 iobase = 1008 (0x3f0)
620 check_media_rate = true
630 logical_block_size = 512 (0x200)
631 physical_block_size = 512 (0x200)
632 min_io_size = 0 (0x0)
633 opt_io_size = 0 (0x0)
634 discard_granularity = 4294967295 (0xffffffff)
641 logical_block_size = 512 (0x200)
642 physical_block_size = 512 (0x200)
643 min_io_size = 0 (0x0)
644 opt_io_size = 0 (0x0)
645 discard_granularity = 4294967295 (0xffffffff)
650 Testing: -fdb TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0
653 iobase = 1008 (0x3f0)
658 check_media_rate = true
668 logical_block_size = 512 (0x200)
669 physical_block_size = 512 (0x200)
670 min_io_size = 0 (0x0)
671 opt_io_size = 0 (0x0)
672 discard_granularity = 4294967295 (0xffffffff)
679 logical_block_size = 512 (0x200)
680 physical_block_size = 512 (0x200)
681 min_io_size = 0 (0x0)
682 opt_io_size = 0 (0x0)
683 discard_granularity = 4294967295 (0xffffffff)
688 Testing: -fdb TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0,unit=0
691 iobase = 1008 (0x3f0)
696 check_media_rate = true
706 logical_block_size = 512 (0x200)
707 physical_block_size = 512 (0x200)
708 min_io_size = 0 (0x0)
709 opt_io_size = 0 (0x0)
710 discard_granularity = 4294967295 (0xffffffff)
717 logical_block_size = 512 (0x200)
718 physical_block_size = 512 (0x200)
719 min_io_size = 0 (0x0)
720 opt_io_size = 0 (0x0)
721 discard_granularity = 4294967295 (0xffffffff)
726 Testing: -fda TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0,unit=0
727 QEMU_PROG: -device floppy,drive=none0,unit=0: Floppy unit 0 is in use
729 Testing: -fdb TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0,unit=1
730 QEMU_PROG: -device floppy,drive=none0,unit=1: Floppy unit 1 is in use
733 === Mixing -drive and -device ===
735 Testing: -drive if=floppy,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0
738 iobase = 1008 (0x3f0)
743 check_media_rate = true
753 logical_block_size = 512 (0x200)
754 physical_block_size = 512 (0x200)
755 min_io_size = 0 (0x0)
756 opt_io_size = 0 (0x0)
757 discard_granularity = 4294967295 (0xffffffff)
764 logical_block_size = 512 (0x200)
765 physical_block_size = 512 (0x200)
766 min_io_size = 0 (0x0)
767 opt_io_size = 0 (0x0)
768 discard_granularity = 4294967295 (0xffffffff)
773 Testing: -drive if=floppy,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0,unit=1
776 iobase = 1008 (0x3f0)
781 check_media_rate = true
791 logical_block_size = 512 (0x200)
792 physical_block_size = 512 (0x200)
793 min_io_size = 0 (0x0)
794 opt_io_size = 0 (0x0)
795 discard_granularity = 4294967295 (0xffffffff)
802 logical_block_size = 512 (0x200)
803 physical_block_size = 512 (0x200)
804 min_io_size = 0 (0x0)
805 opt_io_size = 0 (0x0)
806 discard_granularity = 4294967295 (0xffffffff)
811 Testing: -drive if=floppy,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0,unit=0
812 QEMU_PROG: -device floppy,drive=none0,unit=0: Floppy unit 0 is in use
815 === Mixing -global and -device ===
817 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -global isa-fdc.driveA=none0 -device floppy,drive=none1
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)
846 logical_block_size = 512 (0x200)
847 physical_block_size = 512 (0x200)
848 min_io_size = 0 (0x0)
849 opt_io_size = 0 (0x0)
850 discard_granularity = 4294967295 (0xffffffff)
855 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -global isa-fdc.driveA=none0 -device floppy,drive=none1,unit=1
858 iobase = 1008 (0x3f0)
863 check_media_rate = true
873 logical_block_size = 512 (0x200)
874 physical_block_size = 512 (0x200)
875 min_io_size = 0 (0x0)
876 opt_io_size = 0 (0x0)
877 discard_granularity = 4294967295 (0xffffffff)
884 logical_block_size = 512 (0x200)
885 physical_block_size = 512 (0x200)
886 min_io_size = 0 (0x0)
887 opt_io_size = 0 (0x0)
888 discard_granularity = 4294967295 (0xffffffff)
893 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -global isa-fdc.driveB=none0 -device floppy,drive=none1
896 iobase = 1008 (0x3f0)
901 check_media_rate = true
911 logical_block_size = 512 (0x200)
912 physical_block_size = 512 (0x200)
913 min_io_size = 0 (0x0)
914 opt_io_size = 0 (0x0)
915 discard_granularity = 4294967295 (0xffffffff)
922 logical_block_size = 512 (0x200)
923 physical_block_size = 512 (0x200)
924 min_io_size = 0 (0x0)
925 opt_io_size = 0 (0x0)
926 discard_granularity = 4294967295 (0xffffffff)
931 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -global isa-fdc.driveB=none0 -device floppy,drive=none1,unit=0
934 iobase = 1008 (0x3f0)
939 check_media_rate = true
949 logical_block_size = 512 (0x200)
950 physical_block_size = 512 (0x200)
951 min_io_size = 0 (0x0)
952 opt_io_size = 0 (0x0)
953 discard_granularity = 4294967295 (0xffffffff)
960 logical_block_size = 512 (0x200)
961 physical_block_size = 512 (0x200)
962 min_io_size = 0 (0x0)
963 opt_io_size = 0 (0x0)
964 discard_granularity = 4294967295 (0xffffffff)
969 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -global isa-fdc.driveA=none0 -device floppy,drive=none1,unit=0
970 QEMU_PROG: -device floppy,drive=none1,unit=0: Floppy unit 0 is in use
972 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -global isa-fdc.driveB=none0 -device floppy,drive=none1,unit=1
973 QEMU_PROG: -device floppy,drive=none1,unit=1: Floppy unit 1 is in use
976 === Too many floppy drives ===
978 Testing: -drive if=floppy,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -drive if=none,file=TEST_DIR/t.qcow2.3 -global isa-fdc.driveB=none0 -device floppy,drive=none1
979 QEMU_PROG: -device floppy,drive=none1: Can't create floppy unit 2, bus supports only 2 units
982 === Creating an empty drive with anonymous BB ===
984 Testing: -device floppy
987 iobase = 1008 (0x3f0)
992 check_media_rate = true
1002 logical_block_size = 512 (0x200)
1003 physical_block_size = 512 (0x200)
1004 min_io_size = 0 (0x0)
1005 opt_io_size = 0 (0x0)
1006 discard_granularity = 4294967295 (0xffffffff)
1007 write-cache = "auto"
1011 Testing: -device floppy,drive-type=120
1014 iobase = 1008 (0x3f0)
1019 check_media_rate = true
1029 logical_block_size = 512 (0x200)
1030 physical_block_size = 512 (0x200)
1031 min_io_size = 0 (0x0)
1032 opt_io_size = 0 (0x0)
1033 discard_granularity = 4294967295 (0xffffffff)
1034 write-cache = "auto"
1038 Testing: -device floppy,drive-type=144
1041 iobase = 1008 (0x3f0)
1046 check_media_rate = true
1056 logical_block_size = 512 (0x200)
1057 physical_block_size = 512 (0x200)
1058 min_io_size = 0 (0x0)
1059 opt_io_size = 0 (0x0)
1060 discard_granularity = 4294967295 (0xffffffff)
1061 write-cache = "auto"
1065 Testing: -device floppy,drive-type=288
1068 iobase = 1008 (0x3f0)
1073 check_media_rate = true
1083 logical_block_size = 512 (0x200)
1084 physical_block_size = 512 (0x200)
1085 min_io_size = 0 (0x0)
1086 opt_io_size = 0 (0x0)
1087 discard_granularity = 4294967295 (0xffffffff)
1088 write-cache = "auto"
1093 === Try passing different drive size with image ===
1095 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,drive-type=120
1098 iobase = 1008 (0x3f0)
1103 check_media_rate = true
1113 logical_block_size = 512 (0x200)
1114 physical_block_size = 512 (0x200)
1115 min_io_size = 0 (0x0)
1116 opt_io_size = 0 (0x0)
1117 discard_granularity = 4294967295 (0xffffffff)
1118 write-cache = "auto"
1122 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,drive-type=288
1125 iobase = 1008 (0x3f0)
1130 check_media_rate = true
1140 logical_block_size = 512 (0x200)
1141 physical_block_size = 512 (0x200)
1142 min_io_size = 0 (0x0)
1143 opt_io_size = 0 (0x0)
1144 discard_granularity = 4294967295 (0xffffffff)
1145 write-cache = "auto"
1150 === Try passing different block sizes ===
1152 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,logical_block_size=512
1155 iobase = 1008 (0x3f0)
1160 check_media_rate = true
1170 logical_block_size = 512 (0x200)
1171 physical_block_size = 512 (0x200)
1172 min_io_size = 0 (0x0)
1173 opt_io_size = 0 (0x0)
1174 discard_granularity = 4294967295 (0xffffffff)
1175 write-cache = "auto"
1179 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,physical_block_size=512
1182 iobase = 1008 (0x3f0)
1187 check_media_rate = true
1197 logical_block_size = 512 (0x200)
1198 physical_block_size = 512 (0x200)
1199 min_io_size = 0 (0x0)
1200 opt_io_size = 0 (0x0)
1201 discard_granularity = 4294967295 (0xffffffff)
1202 write-cache = "auto"
1206 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,logical_block_size=4096
1207 QEMU_PROG: -device floppy,drive=none0,logical_block_size=4096: Physical and logical block size must be 512 for floppy
1209 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,physical_block_size=1024
1210 QEMU_PROG: -device floppy,drive=none0,physical_block_size=1024: Physical and logical block size must be 512 for floppy
1213 === Writethrough caching ===
1214 Cache mode: writeback
1215 Cache mode: writeback
1216 Cache mode: writethrough