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
728 QEMU_PROG: -device floppy,drive=none0,unit=0: Device initialization failed.
730 Testing: -fdb TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0,unit=1
731 QEMU_PROG: -device floppy,drive=none0,unit=1: Floppy unit 1 is in use
732 QEMU_PROG: -device floppy,drive=none0,unit=1: Device initialization failed.
735 === Mixing -drive and -device ===
737 Testing: -drive if=floppy,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0
740 iobase = 1008 (0x3f0)
745 check_media_rate = true
755 logical_block_size = 512 (0x200)
756 physical_block_size = 512 (0x200)
757 min_io_size = 0 (0x0)
758 opt_io_size = 0 (0x0)
759 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)
775 Testing: -drive if=floppy,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0,unit=1
778 iobase = 1008 (0x3f0)
783 check_media_rate = true
793 logical_block_size = 512 (0x200)
794 physical_block_size = 512 (0x200)
795 min_io_size = 0 (0x0)
796 opt_io_size = 0 (0x0)
797 discard_granularity = 4294967295 (0xffffffff)
804 logical_block_size = 512 (0x200)
805 physical_block_size = 512 (0x200)
806 min_io_size = 0 (0x0)
807 opt_io_size = 0 (0x0)
808 discard_granularity = 4294967295 (0xffffffff)
813 Testing: -drive if=floppy,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0,unit=0
814 QEMU_PROG: -device floppy,drive=none0,unit=0: Floppy unit 0 is in use
815 QEMU_PROG: -device floppy,drive=none0,unit=0: Device initialization failed.
818 === Mixing -global and -device ===
820 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
823 iobase = 1008 (0x3f0)
828 check_media_rate = true
838 logical_block_size = 512 (0x200)
839 physical_block_size = 512 (0x200)
840 min_io_size = 0 (0x0)
841 opt_io_size = 0 (0x0)
842 discard_granularity = 4294967295 (0xffffffff)
849 logical_block_size = 512 (0x200)
850 physical_block_size = 512 (0x200)
851 min_io_size = 0 (0x0)
852 opt_io_size = 0 (0x0)
853 discard_granularity = 4294967295 (0xffffffff)
858 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
861 iobase = 1008 (0x3f0)
866 check_media_rate = true
876 logical_block_size = 512 (0x200)
877 physical_block_size = 512 (0x200)
878 min_io_size = 0 (0x0)
879 opt_io_size = 0 (0x0)
880 discard_granularity = 4294967295 (0xffffffff)
887 logical_block_size = 512 (0x200)
888 physical_block_size = 512 (0x200)
889 min_io_size = 0 (0x0)
890 opt_io_size = 0 (0x0)
891 discard_granularity = 4294967295 (0xffffffff)
896 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
899 iobase = 1008 (0x3f0)
904 check_media_rate = true
914 logical_block_size = 512 (0x200)
915 physical_block_size = 512 (0x200)
916 min_io_size = 0 (0x0)
917 opt_io_size = 0 (0x0)
918 discard_granularity = 4294967295 (0xffffffff)
925 logical_block_size = 512 (0x200)
926 physical_block_size = 512 (0x200)
927 min_io_size = 0 (0x0)
928 opt_io_size = 0 (0x0)
929 discard_granularity = 4294967295 (0xffffffff)
934 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
937 iobase = 1008 (0x3f0)
942 check_media_rate = true
952 logical_block_size = 512 (0x200)
953 physical_block_size = 512 (0x200)
954 min_io_size = 0 (0x0)
955 opt_io_size = 0 (0x0)
956 discard_granularity = 4294967295 (0xffffffff)
963 logical_block_size = 512 (0x200)
964 physical_block_size = 512 (0x200)
965 min_io_size = 0 (0x0)
966 opt_io_size = 0 (0x0)
967 discard_granularity = 4294967295 (0xffffffff)
972 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
973 QEMU_PROG: -device floppy,drive=none1,unit=0: Floppy unit 0 is in use
974 QEMU_PROG: -device floppy,drive=none1,unit=0: Device initialization failed.
976 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
977 QEMU_PROG: -device floppy,drive=none1,unit=1: Floppy unit 1 is in use
978 QEMU_PROG: -device floppy,drive=none1,unit=1: Device initialization failed.
981 === Too many floppy drives ===
983 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
984 QEMU_PROG: -device floppy,drive=none1: Can't create floppy unit 2, bus supports only 2 units
985 QEMU_PROG: -device floppy,drive=none1: Device initialization failed.
988 === Creating an empty drive with anonymous BB ===
990 Testing: -device floppy
993 iobase = 1008 (0x3f0)
998 check_media_rate = true
1008 logical_block_size = 512 (0x200)
1009 physical_block_size = 512 (0x200)
1010 min_io_size = 0 (0x0)
1011 opt_io_size = 0 (0x0)
1012 discard_granularity = 4294967295 (0xffffffff)
1013 write-cache = "auto"
1017 Testing: -device floppy,drive-type=120
1020 iobase = 1008 (0x3f0)
1025 check_media_rate = true
1035 logical_block_size = 512 (0x200)
1036 physical_block_size = 512 (0x200)
1037 min_io_size = 0 (0x0)
1038 opt_io_size = 0 (0x0)
1039 discard_granularity = 4294967295 (0xffffffff)
1040 write-cache = "auto"
1044 Testing: -device floppy,drive-type=144
1047 iobase = 1008 (0x3f0)
1052 check_media_rate = true
1062 logical_block_size = 512 (0x200)
1063 physical_block_size = 512 (0x200)
1064 min_io_size = 0 (0x0)
1065 opt_io_size = 0 (0x0)
1066 discard_granularity = 4294967295 (0xffffffff)
1067 write-cache = "auto"
1071 Testing: -device floppy,drive-type=288
1074 iobase = 1008 (0x3f0)
1079 check_media_rate = true
1089 logical_block_size = 512 (0x200)
1090 physical_block_size = 512 (0x200)
1091 min_io_size = 0 (0x0)
1092 opt_io_size = 0 (0x0)
1093 discard_granularity = 4294967295 (0xffffffff)
1094 write-cache = "auto"
1099 === Try passing different drive size with image ===
1101 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,drive-type=120
1104 iobase = 1008 (0x3f0)
1109 check_media_rate = true
1119 logical_block_size = 512 (0x200)
1120 physical_block_size = 512 (0x200)
1121 min_io_size = 0 (0x0)
1122 opt_io_size = 0 (0x0)
1123 discard_granularity = 4294967295 (0xffffffff)
1124 write-cache = "auto"
1128 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,drive-type=288
1131 iobase = 1008 (0x3f0)
1136 check_media_rate = true
1146 logical_block_size = 512 (0x200)
1147 physical_block_size = 512 (0x200)
1148 min_io_size = 0 (0x0)
1149 opt_io_size = 0 (0x0)
1150 discard_granularity = 4294967295 (0xffffffff)
1151 write-cache = "auto"
1156 === Try passing different block sizes ===
1158 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,logical_block_size=512
1161 iobase = 1008 (0x3f0)
1166 check_media_rate = true
1176 logical_block_size = 512 (0x200)
1177 physical_block_size = 512 (0x200)
1178 min_io_size = 0 (0x0)
1179 opt_io_size = 0 (0x0)
1180 discard_granularity = 4294967295 (0xffffffff)
1181 write-cache = "auto"
1185 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,physical_block_size=512
1188 iobase = 1008 (0x3f0)
1193 check_media_rate = true
1203 logical_block_size = 512 (0x200)
1204 physical_block_size = 512 (0x200)
1205 min_io_size = 0 (0x0)
1206 opt_io_size = 0 (0x0)
1207 discard_granularity = 4294967295 (0xffffffff)
1208 write-cache = "auto"
1212 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,logical_block_size=4096
1213 QEMU_PROG: -device floppy,drive=none0,logical_block_size=4096: Physical and logical block size must be 512 for floppy
1214 QEMU_PROG: -device floppy,drive=none0,logical_block_size=4096: Device initialization failed.
1216 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,physical_block_size=1024
1217 QEMU_PROG: -device floppy,drive=none0,physical_block_size=1024: Physical and logical block size must be 512 for floppy
1218 QEMU_PROG: -device floppy,drive=none0,physical_block_size=1024: Device initialization failed.
1221 === Writethrough caching ===
1222 Cache mode: writeback
1223 Cache mode: writeback
1224 Cache mode: writethrough