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
26 logical_block_size = 512 (512 B)
27 physical_block_size = 512 (512 B)
30 discard_granularity = 4294967295 (4 GiB)
36 === Using -fda/-fdb options ===
38 Testing: -fda TEST_DIR/t.qcow2
55 logical_block_size = 512 (512 B)
56 physical_block_size = 512 (512 B)
59 discard_granularity = 4294967295 (4 GiB)
63 floppy0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
64 Attached to: /machine/unattached/device[N]
65 Removable device: not locked, tray closed
68 ide1-cd0: [not inserted]
69 Attached to: /machine/unattached/device[N]
70 Removable device: not locked, tray closed
73 Removable device: not locked, tray closed
77 Testing: -fdb TEST_DIR/t.qcow2
94 logical_block_size = 512 (512 B)
95 physical_block_size = 512 (512 B)
98 discard_granularity = 4294967295 (4 GiB)
105 logical_block_size = 512 (512 B)
106 physical_block_size = 512 (512 B)
107 min_io_size = 0 (0 B)
108 opt_io_size = 0 (0 B)
109 discard_granularity = 4294967295 (4 GiB)
113 floppy1 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
114 Attached to: /machine/unattached/device[N]
115 Removable device: not locked, tray closed
116 Cache mode: writeback
118 ide1-cd0: [not inserted]
119 Attached to: /machine/unattached/device[N]
120 Removable device: not locked, tray closed
122 floppy0: [not inserted]
123 Attached to: /machine/unattached/device[N]
124 Removable device: not locked, tray closed
127 Removable device: not locked, tray closed
131 Testing: -fda TEST_DIR/t.qcow2 -fdb TEST_DIR/t.qcow2.2
134 iobase = 1008 (0x3f0)
148 logical_block_size = 512 (512 B)
149 physical_block_size = 512 (512 B)
150 min_io_size = 0 (0 B)
151 opt_io_size = 0 (0 B)
152 discard_granularity = 4294967295 (4 GiB)
159 logical_block_size = 512 (512 B)
160 physical_block_size = 512 (512 B)
161 min_io_size = 0 (0 B)
162 opt_io_size = 0 (0 B)
163 discard_granularity = 4294967295 (4 GiB)
167 floppy0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
168 Attached to: /machine/unattached/device[N]
169 Removable device: not locked, tray closed
170 Cache mode: writeback
172 floppy1 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2)
173 Attached to: /machine/unattached/device[N]
174 Removable device: not locked, tray closed
175 Cache mode: writeback
177 ide1-cd0: [not inserted]
178 Attached to: /machine/unattached/device[N]
179 Removable device: not locked, tray closed
182 Removable device: not locked, tray closed
189 iobase = 1008 (0x3f0)
203 logical_block_size = 512 (512 B)
204 physical_block_size = 512 (512 B)
205 min_io_size = 0 (0 B)
206 opt_io_size = 0 (0 B)
207 discard_granularity = 4294967295 (4 GiB)
214 logical_block_size = 512 (512 B)
215 physical_block_size = 512 (512 B)
216 min_io_size = 0 (0 B)
217 opt_io_size = 0 (0 B)
218 discard_granularity = 4294967295 (4 GiB)
224 === Using -drive options ===
226 Testing: -drive if=floppy,file=TEST_DIR/t.qcow2
229 iobase = 1008 (0x3f0)
243 logical_block_size = 512 (512 B)
244 physical_block_size = 512 (512 B)
245 min_io_size = 0 (0 B)
246 opt_io_size = 0 (0 B)
247 discard_granularity = 4294967295 (4 GiB)
251 floppy0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
252 Attached to: /machine/unattached/device[N]
253 Removable device: not locked, tray closed
254 Cache mode: writeback
256 ide1-cd0: [not inserted]
257 Attached to: /machine/unattached/device[N]
258 Removable device: not locked, tray closed
261 Removable device: not locked, tray closed
265 Testing: -drive if=floppy,file=TEST_DIR/t.qcow2,index=1
268 iobase = 1008 (0x3f0)
282 logical_block_size = 512 (512 B)
283 physical_block_size = 512 (512 B)
284 min_io_size = 0 (0 B)
285 opt_io_size = 0 (0 B)
286 discard_granularity = 4294967295 (4 GiB)
293 logical_block_size = 512 (512 B)
294 physical_block_size = 512 (512 B)
295 min_io_size = 0 (0 B)
296 opt_io_size = 0 (0 B)
297 discard_granularity = 4294967295 (4 GiB)
301 floppy1 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
302 Attached to: /machine/unattached/device[N]
303 Removable device: not locked, tray closed
304 Cache mode: writeback
306 ide1-cd0: [not inserted]
307 Attached to: /machine/unattached/device[N]
308 Removable device: not locked, tray closed
310 floppy0: [not inserted]
311 Attached to: /machine/unattached/device[N]
312 Removable device: not locked, tray closed
315 Removable device: not locked, tray closed
319 Testing: -drive if=floppy,file=TEST_DIR/t.qcow2 -drive if=floppy,file=TEST_DIR/t.qcow2.2,index=1
322 iobase = 1008 (0x3f0)
336 logical_block_size = 512 (512 B)
337 physical_block_size = 512 (512 B)
338 min_io_size = 0 (0 B)
339 opt_io_size = 0 (0 B)
340 discard_granularity = 4294967295 (4 GiB)
347 logical_block_size = 512 (512 B)
348 physical_block_size = 512 (512 B)
349 min_io_size = 0 (0 B)
350 opt_io_size = 0 (0 B)
351 discard_granularity = 4294967295 (4 GiB)
355 floppy0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
356 Attached to: /machine/unattached/device[N]
357 Removable device: not locked, tray closed
358 Cache mode: writeback
360 floppy1 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2)
361 Attached to: /machine/unattached/device[N]
362 Removable device: not locked, tray closed
363 Cache mode: writeback
365 ide1-cd0: [not inserted]
366 Attached to: /machine/unattached/device[N]
367 Removable device: not locked, tray closed
370 Removable device: not locked, tray closed
375 === Using -drive if=none and -global ===
377 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -global isa-fdc.driveA=none0
378 QEMU_PROG: warning: warning: property isa-fdc.driveA is deprecated
379 Use -device floppy,unit=0,drive=... instead.
382 iobase = 1008 (0x3f0)
396 logical_block_size = 512 (512 B)
397 physical_block_size = 512 (512 B)
398 min_io_size = 0 (0 B)
399 opt_io_size = 0 (0 B)
400 discard_granularity = 4294967295 (4 GiB)
404 none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
405 Attached to: /machine/unattached/device[N]
406 Removable device: not locked, tray closed
407 Cache mode: writeback
409 ide1-cd0: [not inserted]
410 Attached to: /machine/unattached/device[N]
411 Removable device: not locked, tray closed
414 Removable device: not locked, tray closed
418 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -global isa-fdc.driveB=none0
419 QEMU_PROG: warning: warning: property isa-fdc.driveB is deprecated
420 Use -device floppy,unit=1,drive=... instead.
423 iobase = 1008 (0x3f0)
437 logical_block_size = 512 (512 B)
438 physical_block_size = 512 (512 B)
439 min_io_size = 0 (0 B)
440 opt_io_size = 0 (0 B)
441 discard_granularity = 4294967295 (4 GiB)
445 none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
446 Attached to: /machine/unattached/device[N]
447 Removable device: not locked, tray closed
448 Cache mode: writeback
450 ide1-cd0: [not inserted]
451 Attached to: /machine/unattached/device[N]
452 Removable device: not locked, tray closed
455 Removable device: not locked, tray closed
459 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
460 QEMU_PROG: warning: warning: property isa-fdc.driveA is deprecated
461 Use -device floppy,unit=0,drive=... instead.
462 QEMU_PROG: warning: warning: property isa-fdc.driveB is deprecated
463 Use -device floppy,unit=1,drive=... instead.
466 iobase = 1008 (0x3f0)
480 logical_block_size = 512 (512 B)
481 physical_block_size = 512 (512 B)
482 min_io_size = 0 (0 B)
483 opt_io_size = 0 (0 B)
484 discard_granularity = 4294967295 (4 GiB)
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)
499 none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
500 Attached to: /machine/unattached/device[N]
501 Removable device: not locked, tray closed
502 Cache mode: writeback
504 none1 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2)
505 Attached to: /machine/unattached/device[N]
506 Removable device: not locked, tray closed
507 Cache mode: writeback
509 ide1-cd0: [not inserted]
510 Attached to: /machine/unattached/device[N]
511 Removable device: not locked, tray closed
514 Removable device: not locked, tray closed
519 === Using -drive if=none and -device ===
521 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0
524 iobase = 1008 (0x3f0)
538 logical_block_size = 512 (512 B)
539 physical_block_size = 512 (512 B)
540 min_io_size = 0 (0 B)
541 opt_io_size = 0 (0 B)
542 discard_granularity = 4294967295 (4 GiB)
546 none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
547 Attached to: /machine/peripheral-anon/device[N]
548 Removable device: not locked, tray closed
549 Cache mode: writeback
551 ide1-cd0: [not inserted]
552 Attached to: /machine/unattached/device[N]
553 Removable device: not locked, tray closed
556 Removable device: not locked, tray closed
560 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,unit=1
563 iobase = 1008 (0x3f0)
577 logical_block_size = 512 (512 B)
578 physical_block_size = 512 (512 B)
579 min_io_size = 0 (0 B)
580 opt_io_size = 0 (0 B)
581 discard_granularity = 4294967295 (4 GiB)
585 none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
586 Attached to: /machine/peripheral-anon/device[N]
587 Removable device: not locked, tray closed
588 Cache mode: writeback
590 ide1-cd0: [not inserted]
591 Attached to: /machine/unattached/device[N]
592 Removable device: not locked, tray closed
595 Removable device: not locked, tray closed
599 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
602 iobase = 1008 (0x3f0)
616 logical_block_size = 512 (512 B)
617 physical_block_size = 512 (512 B)
618 min_io_size = 0 (0 B)
619 opt_io_size = 0 (0 B)
620 discard_granularity = 4294967295 (4 GiB)
627 logical_block_size = 512 (512 B)
628 physical_block_size = 512 (512 B)
629 min_io_size = 0 (0 B)
630 opt_io_size = 0 (0 B)
631 discard_granularity = 4294967295 (4 GiB)
635 none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
636 Attached to: /machine/peripheral-anon/device[N]
637 Removable device: not locked, tray closed
638 Cache mode: writeback
640 none1 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2)
641 Attached to: /machine/peripheral-anon/device[N]
642 Removable device: not locked, tray closed
643 Cache mode: writeback
645 ide1-cd0: [not inserted]
646 Attached to: /machine/unattached/device[N]
647 Removable device: not locked, tray closed
650 Removable device: not locked, tray closed
655 === Mixing -fdX and -global ===
657 Testing: -fda TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -global isa-fdc.driveB=none0
658 QEMU_PROG: warning: warning: property isa-fdc.driveB is deprecated
659 Use -device floppy,unit=1,drive=... instead.
662 iobase = 1008 (0x3f0)
676 logical_block_size = 512 (512 B)
677 physical_block_size = 512 (512 B)
678 min_io_size = 0 (0 B)
679 opt_io_size = 0 (0 B)
680 discard_granularity = 4294967295 (4 GiB)
687 logical_block_size = 512 (512 B)
688 physical_block_size = 512 (512 B)
689 min_io_size = 0 (0 B)
690 opt_io_size = 0 (0 B)
691 discard_granularity = 4294967295 (4 GiB)
695 floppy0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
696 Attached to: /machine/unattached/device[N]
697 Removable device: not locked, tray closed
698 Cache mode: writeback
700 none0 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2)
701 Attached to: /machine/unattached/device[N]
702 Removable device: not locked, tray closed
703 Cache mode: writeback
705 ide1-cd0: [not inserted]
706 Attached to: /machine/unattached/device[N]
707 Removable device: not locked, tray closed
710 Removable device: not locked, tray closed
714 Testing: -fdb TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -global isa-fdc.driveA=none0
715 QEMU_PROG: warning: warning: property isa-fdc.driveA is deprecated
716 Use -device floppy,unit=0,drive=... instead.
719 iobase = 1008 (0x3f0)
733 logical_block_size = 512 (512 B)
734 physical_block_size = 512 (512 B)
735 min_io_size = 0 (0 B)
736 opt_io_size = 0 (0 B)
737 discard_granularity = 4294967295 (4 GiB)
744 logical_block_size = 512 (512 B)
745 physical_block_size = 512 (512 B)
746 min_io_size = 0 (0 B)
747 opt_io_size = 0 (0 B)
748 discard_granularity = 4294967295 (4 GiB)
752 floppy1 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
753 Attached to: /machine/unattached/device[N]
754 Removable device: not locked, tray closed
755 Cache mode: writeback
757 none0 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2)
758 Attached to: /machine/unattached/device[N]
759 Removable device: not locked, tray closed
760 Cache mode: writeback
762 ide1-cd0: [not inserted]
763 Attached to: /machine/unattached/device[N]
764 Removable device: not locked, tray closed
767 Removable device: not locked, tray closed
771 Testing: -fda TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -global isa-fdc.driveA=none0
772 QEMU_PROG: warning: warning: property isa-fdc.driveA is deprecated
773 Use -device floppy,unit=0,drive=... instead.
774 QEMU_PROG: Floppy unit 0 is in use
776 Testing: -fdb TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -global isa-fdc.driveB=none0
777 QEMU_PROG: warning: warning: property isa-fdc.driveB is deprecated
778 Use -device floppy,unit=1,drive=... instead.
779 QEMU_PROG: Floppy unit 1 is in use
781 Testing: -fda TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -global floppy.drive=none0
782 QEMU_PROG: -global floppy.drive=... conflicts with drive=floppy0
785 === Mixing -fdX and -device ===
787 Testing: -fda TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0
790 iobase = 1008 (0x3f0)
804 logical_block_size = 512 (512 B)
805 physical_block_size = 512 (512 B)
806 min_io_size = 0 (0 B)
807 opt_io_size = 0 (0 B)
808 discard_granularity = 4294967295 (4 GiB)
815 logical_block_size = 512 (512 B)
816 physical_block_size = 512 (512 B)
817 min_io_size = 0 (0 B)
818 opt_io_size = 0 (0 B)
819 discard_granularity = 4294967295 (4 GiB)
823 floppy0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
824 Attached to: /machine/unattached/device[N]
825 Removable device: not locked, tray closed
826 Cache mode: writeback
828 none0 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2)
829 Attached to: /machine/peripheral-anon/device[N]
830 Removable device: not locked, tray closed
831 Cache mode: writeback
833 ide1-cd0: [not inserted]
834 Attached to: /machine/unattached/device[N]
835 Removable device: not locked, tray closed
838 Removable device: not locked, tray closed
842 Testing: -fda TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0,unit=1
845 iobase = 1008 (0x3f0)
859 logical_block_size = 512 (512 B)
860 physical_block_size = 512 (512 B)
861 min_io_size = 0 (0 B)
862 opt_io_size = 0 (0 B)
863 discard_granularity = 4294967295 (4 GiB)
870 logical_block_size = 512 (512 B)
871 physical_block_size = 512 (512 B)
872 min_io_size = 0 (0 B)
873 opt_io_size = 0 (0 B)
874 discard_granularity = 4294967295 (4 GiB)
878 floppy0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
879 Attached to: /machine/unattached/device[N]
880 Removable device: not locked, tray closed
881 Cache mode: writeback
883 none0 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2)
884 Attached to: /machine/peripheral-anon/device[N]
885 Removable device: not locked, tray closed
886 Cache mode: writeback
888 ide1-cd0: [not inserted]
889 Attached to: /machine/unattached/device[N]
890 Removable device: not locked, tray closed
893 Removable device: not locked, tray closed
897 Testing: -fdb TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0
900 iobase = 1008 (0x3f0)
914 logical_block_size = 512 (512 B)
915 physical_block_size = 512 (512 B)
916 min_io_size = 0 (0 B)
917 opt_io_size = 0 (0 B)
918 discard_granularity = 4294967295 (4 GiB)
925 logical_block_size = 512 (512 B)
926 physical_block_size = 512 (512 B)
927 min_io_size = 0 (0 B)
928 opt_io_size = 0 (0 B)
929 discard_granularity = 4294967295 (4 GiB)
933 floppy1 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
934 Attached to: /machine/unattached/device[N]
935 Removable device: not locked, tray closed
936 Cache mode: writeback
938 none0 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2)
939 Attached to: /machine/peripheral-anon/device[N]
940 Removable device: not locked, tray closed
941 Cache mode: writeback
943 ide1-cd0: [not inserted]
944 Attached to: /machine/unattached/device[N]
945 Removable device: not locked, tray closed
948 Removable device: not locked, tray closed
952 Testing: -fdb TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0,unit=0
955 iobase = 1008 (0x3f0)
969 logical_block_size = 512 (512 B)
970 physical_block_size = 512 (512 B)
971 min_io_size = 0 (0 B)
972 opt_io_size = 0 (0 B)
973 discard_granularity = 4294967295 (4 GiB)
980 logical_block_size = 512 (512 B)
981 physical_block_size = 512 (512 B)
982 min_io_size = 0 (0 B)
983 opt_io_size = 0 (0 B)
984 discard_granularity = 4294967295 (4 GiB)
988 floppy1 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
989 Attached to: /machine/unattached/device[N]
990 Removable device: not locked, tray closed
991 Cache mode: writeback
993 none0 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2)
994 Attached to: /machine/peripheral-anon/device[N]
995 Removable device: not locked, tray closed
996 Cache mode: writeback
998 ide1-cd0: [not inserted]
999 Attached to: /machine/unattached/device[N]
1000 Removable device: not locked, tray closed
1003 Removable device: not locked, tray closed
1007 Testing: -fda TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0,unit=0
1008 QEMU_PROG: -device floppy,drive=none0,unit=0: Floppy unit 0 is in use
1010 Testing: -fdb TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0,unit=1
1011 QEMU_PROG: -device floppy,drive=none0,unit=1: Floppy unit 1 is in use
1014 === Mixing -drive and -device ===
1016 Testing: -drive if=floppy,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0
1019 iobase = 1008 (0x3f0)
1033 logical_block_size = 512 (512 B)
1034 physical_block_size = 512 (512 B)
1035 min_io_size = 0 (0 B)
1036 opt_io_size = 0 (0 B)
1037 discard_granularity = 4294967295 (4 GiB)
1038 write-cache = "auto"
1044 logical_block_size = 512 (512 B)
1045 physical_block_size = 512 (512 B)
1046 min_io_size = 0 (0 B)
1047 opt_io_size = 0 (0 B)
1048 discard_granularity = 4294967295 (4 GiB)
1049 write-cache = "auto"
1052 floppy0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
1053 Attached to: /machine/unattached/device[N]
1054 Removable device: not locked, tray closed
1055 Cache mode: writeback
1057 none0 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2)
1058 Attached to: /machine/peripheral-anon/device[N]
1059 Removable device: not locked, tray closed
1060 Cache mode: writeback
1062 ide1-cd0: [not inserted]
1063 Attached to: /machine/unattached/device[N]
1064 Removable device: not locked, tray closed
1067 Removable device: not locked, tray closed
1071 Testing: -drive if=floppy,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0,unit=1
1074 iobase = 1008 (0x3f0)
1088 logical_block_size = 512 (512 B)
1089 physical_block_size = 512 (512 B)
1090 min_io_size = 0 (0 B)
1091 opt_io_size = 0 (0 B)
1092 discard_granularity = 4294967295 (4 GiB)
1093 write-cache = "auto"
1099 logical_block_size = 512 (512 B)
1100 physical_block_size = 512 (512 B)
1101 min_io_size = 0 (0 B)
1102 opt_io_size = 0 (0 B)
1103 discard_granularity = 4294967295 (4 GiB)
1104 write-cache = "auto"
1107 floppy0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
1108 Attached to: /machine/unattached/device[N]
1109 Removable device: not locked, tray closed
1110 Cache mode: writeback
1112 none0 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2)
1113 Attached to: /machine/peripheral-anon/device[N]
1114 Removable device: not locked, tray closed
1115 Cache mode: writeback
1117 ide1-cd0: [not inserted]
1118 Attached to: /machine/unattached/device[N]
1119 Removable device: not locked, tray closed
1122 Removable device: not locked, tray closed
1126 Testing: -drive if=floppy,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0,unit=0
1127 QEMU_PROG: -device floppy,drive=none0,unit=0: Floppy unit 0 is in use
1130 === Mixing -global and -device ===
1132 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
1133 QEMU_PROG: warning: warning: property isa-fdc.driveA is deprecated
1134 Use -device floppy,unit=0,drive=... instead.
1137 iobase = 1008 (0x3f0)
1151 logical_block_size = 512 (512 B)
1152 physical_block_size = 512 (512 B)
1153 min_io_size = 0 (0 B)
1154 opt_io_size = 0 (0 B)
1155 discard_granularity = 4294967295 (4 GiB)
1156 write-cache = "auto"
1162 logical_block_size = 512 (512 B)
1163 physical_block_size = 512 (512 B)
1164 min_io_size = 0 (0 B)
1165 opt_io_size = 0 (0 B)
1166 discard_granularity = 4294967295 (4 GiB)
1167 write-cache = "auto"
1170 none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
1171 Attached to: /machine/unattached/device[N]
1172 Removable device: not locked, tray closed
1173 Cache mode: writeback
1175 none1 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2)
1176 Attached to: /machine/peripheral-anon/device[N]
1177 Removable device: not locked, tray closed
1178 Cache mode: writeback
1180 ide1-cd0: [not inserted]
1181 Attached to: /machine/unattached/device[N]
1182 Removable device: not locked, tray closed
1185 Removable device: not locked, tray closed
1189 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
1190 QEMU_PROG: warning: warning: property isa-fdc.driveA is deprecated
1191 Use -device floppy,unit=0,drive=... instead.
1194 iobase = 1008 (0x3f0)
1208 logical_block_size = 512 (512 B)
1209 physical_block_size = 512 (512 B)
1210 min_io_size = 0 (0 B)
1211 opt_io_size = 0 (0 B)
1212 discard_granularity = 4294967295 (4 GiB)
1213 write-cache = "auto"
1219 logical_block_size = 512 (512 B)
1220 physical_block_size = 512 (512 B)
1221 min_io_size = 0 (0 B)
1222 opt_io_size = 0 (0 B)
1223 discard_granularity = 4294967295 (4 GiB)
1224 write-cache = "auto"
1227 none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
1228 Attached to: /machine/unattached/device[N]
1229 Removable device: not locked, tray closed
1230 Cache mode: writeback
1232 none1 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2)
1233 Attached to: /machine/peripheral-anon/device[N]
1234 Removable device: not locked, tray closed
1235 Cache mode: writeback
1237 ide1-cd0: [not inserted]
1238 Attached to: /machine/unattached/device[N]
1239 Removable device: not locked, tray closed
1242 Removable device: not locked, tray closed
1246 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
1247 QEMU_PROG: warning: warning: property isa-fdc.driveB is deprecated
1248 Use -device floppy,unit=1,drive=... instead.
1251 iobase = 1008 (0x3f0)
1265 logical_block_size = 512 (512 B)
1266 physical_block_size = 512 (512 B)
1267 min_io_size = 0 (0 B)
1268 opt_io_size = 0 (0 B)
1269 discard_granularity = 4294967295 (4 GiB)
1270 write-cache = "auto"
1276 logical_block_size = 512 (512 B)
1277 physical_block_size = 512 (512 B)
1278 min_io_size = 0 (0 B)
1279 opt_io_size = 0 (0 B)
1280 discard_granularity = 4294967295 (4 GiB)
1281 write-cache = "auto"
1284 none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
1285 Attached to: /machine/unattached/device[N]
1286 Removable device: not locked, tray closed
1287 Cache mode: writeback
1289 none1 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2)
1290 Attached to: /machine/peripheral-anon/device[N]
1291 Removable device: not locked, tray closed
1292 Cache mode: writeback
1294 ide1-cd0: [not inserted]
1295 Attached to: /machine/unattached/device[N]
1296 Removable device: not locked, tray closed
1299 Removable device: not locked, tray closed
1303 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
1304 QEMU_PROG: warning: warning: property isa-fdc.driveB is deprecated
1305 Use -device floppy,unit=1,drive=... instead.
1308 iobase = 1008 (0x3f0)
1322 logical_block_size = 512 (512 B)
1323 physical_block_size = 512 (512 B)
1324 min_io_size = 0 (0 B)
1325 opt_io_size = 0 (0 B)
1326 discard_granularity = 4294967295 (4 GiB)
1327 write-cache = "auto"
1333 logical_block_size = 512 (512 B)
1334 physical_block_size = 512 (512 B)
1335 min_io_size = 0 (0 B)
1336 opt_io_size = 0 (0 B)
1337 discard_granularity = 4294967295 (4 GiB)
1338 write-cache = "auto"
1341 none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
1342 Attached to: /machine/unattached/device[N]
1343 Removable device: not locked, tray closed
1344 Cache mode: writeback
1346 none1 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2)
1347 Attached to: /machine/peripheral-anon/device[N]
1348 Removable device: not locked, tray closed
1349 Cache mode: writeback
1351 ide1-cd0: [not inserted]
1352 Attached to: /machine/unattached/device[N]
1353 Removable device: not locked, tray closed
1356 Removable device: not locked, tray closed
1360 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -global floppy.drive=none0 -device floppy,unit=0
1363 iobase = 1008 (0x3f0)
1377 logical_block_size = 512 (512 B)
1378 physical_block_size = 512 (512 B)
1379 min_io_size = 0 (0 B)
1380 opt_io_size = 0 (0 B)
1381 discard_granularity = 4294967295 (4 GiB)
1382 write-cache = "auto"
1385 none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
1386 Attached to: /machine/peripheral-anon/device[N]
1387 Removable device: not locked, tray closed
1388 Cache mode: writeback
1390 ide1-cd0: [not inserted]
1391 Attached to: /machine/unattached/device[N]
1392 Removable device: not locked, tray closed
1395 Removable device: not locked, tray closed
1399 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
1400 QEMU_PROG: warning: warning: property isa-fdc.driveA is deprecated
1401 Use -device floppy,unit=0,drive=... instead.
1402 QEMU_PROG: -device floppy,drive=none1,unit=0: Floppy unit 0 is in use
1404 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
1405 QEMU_PROG: warning: warning: property isa-fdc.driveB is deprecated
1406 Use -device floppy,unit=1,drive=... instead.
1407 QEMU_PROG: -device floppy,drive=none1,unit=1: Floppy unit 1 is in use
1409 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
1410 QEMU_PROG: -device floppy,drive=none1,unit=0: -global floppy.drive=... conflicts with drive=none1
1413 === Attempt to use drive twice ===
1415 Testing: -drive if=none -device floppy,drive=none0 -device floppy -device floppy,drive=none0
1416 QEMU_PROG: -device floppy,drive=none0: Drive 'none0' is already in use by another device
1418 Testing: -drive if=none -global floppy.drive=none0 -device floppy -device floppy
1419 QEMU_PROG: -device floppy: can't apply global floppy.drive=none0: Drive 'none0' is already in use by another device
1421 Testing: -fda -device floppy,drive=floppy0
1422 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?)
1424 Testing: -fda -global floppy.drive=floppy0
1425 QEMU_PROG: -global floppy.drive=... conflicts with drive=floppy0
1427 Testing: -device floppy,drive=floppy0
1428 QEMU_PROG: -device floppy,drive=floppy0: Property 'floppy.drive' can't find value 'floppy0'
1431 === Too many floppy drives ===
1433 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
1434 QEMU_PROG: warning: warning: property isa-fdc.driveB is deprecated
1435 Use -device floppy,unit=1,drive=... instead.
1436 QEMU_PROG: -device floppy,drive=none1: Can't create floppy unit 2, bus supports only 2 units
1439 === Creating an empty drive with anonymous BB ===
1441 Testing: -device floppy
1444 iobase = 1008 (0x3f0)
1458 logical_block_size = 512 (512 B)
1459 physical_block_size = 512 (512 B)
1460 min_io_size = 0 (0 B)
1461 opt_io_size = 0 (0 B)
1462 discard_granularity = 4294967295 (4 GiB)
1463 write-cache = "auto"
1467 Testing: -device floppy,drive-type=120
1470 iobase = 1008 (0x3f0)
1484 logical_block_size = 512 (512 B)
1485 physical_block_size = 512 (512 B)
1486 min_io_size = 0 (0 B)
1487 opt_io_size = 0 (0 B)
1488 discard_granularity = 4294967295 (4 GiB)
1489 write-cache = "auto"
1493 Testing: -device floppy,drive-type=144
1496 iobase = 1008 (0x3f0)
1510 logical_block_size = 512 (512 B)
1511 physical_block_size = 512 (512 B)
1512 min_io_size = 0 (0 B)
1513 opt_io_size = 0 (0 B)
1514 discard_granularity = 4294967295 (4 GiB)
1515 write-cache = "auto"
1519 Testing: -device floppy,drive-type=288
1522 iobase = 1008 (0x3f0)
1536 logical_block_size = 512 (512 B)
1537 physical_block_size = 512 (512 B)
1538 min_io_size = 0 (0 B)
1539 opt_io_size = 0 (0 B)
1540 discard_granularity = 4294967295 (4 GiB)
1541 write-cache = "auto"
1546 === Try passing different drive size with image ===
1548 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,drive-type=120
1551 iobase = 1008 (0x3f0)
1565 logical_block_size = 512 (512 B)
1566 physical_block_size = 512 (512 B)
1567 min_io_size = 0 (0 B)
1568 opt_io_size = 0 (0 B)
1569 discard_granularity = 4294967295 (4 GiB)
1570 write-cache = "auto"
1573 none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
1574 Attached to: /machine/peripheral-anon/device[N]
1575 Removable device: not locked, tray closed
1576 Cache mode: writeback
1578 ide1-cd0: [not inserted]
1579 Attached to: /machine/unattached/device[N]
1580 Removable device: not locked, tray closed
1583 Removable device: not locked, tray closed
1587 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,drive-type=288
1590 iobase = 1008 (0x3f0)
1604 logical_block_size = 512 (512 B)
1605 physical_block_size = 512 (512 B)
1606 min_io_size = 0 (0 B)
1607 opt_io_size = 0 (0 B)
1608 discard_granularity = 4294967295 (4 GiB)
1609 write-cache = "auto"
1612 none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
1613 Attached to: /machine/peripheral-anon/device[N]
1614 Removable device: not locked, tray closed
1615 Cache mode: writeback
1617 ide1-cd0: [not inserted]
1618 Attached to: /machine/unattached/device[N]
1619 Removable device: not locked, tray closed
1622 Removable device: not locked, tray closed
1627 === Try passing different block sizes ===
1629 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,logical_block_size=512
1632 iobase = 1008 (0x3f0)
1646 logical_block_size = 512 (512 B)
1647 physical_block_size = 512 (512 B)
1648 min_io_size = 0 (0 B)
1649 opt_io_size = 0 (0 B)
1650 discard_granularity = 4294967295 (4 GiB)
1651 write-cache = "auto"
1654 none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
1655 Attached to: /machine/peripheral-anon/device[N]
1656 Removable device: not locked, tray closed
1657 Cache mode: writeback
1659 ide1-cd0: [not inserted]
1660 Attached to: /machine/unattached/device[N]
1661 Removable device: not locked, tray closed
1664 Removable device: not locked, tray closed
1668 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,physical_block_size=512
1671 iobase = 1008 (0x3f0)
1685 logical_block_size = 512 (512 B)
1686 physical_block_size = 512 (512 B)
1687 min_io_size = 0 (0 B)
1688 opt_io_size = 0 (0 B)
1689 discard_granularity = 4294967295 (4 GiB)
1690 write-cache = "auto"
1693 none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
1694 Attached to: /machine/peripheral-anon/device[N]
1695 Removable device: not locked, tray closed
1696 Cache mode: writeback
1698 ide1-cd0: [not inserted]
1699 Attached to: /machine/unattached/device[N]
1700 Removable device: not locked, tray closed
1703 Removable device: not locked, tray closed
1707 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,logical_block_size=4096
1708 QEMU_PROG: -device floppy,drive=none0,logical_block_size=4096: logical_block_size > physical_block_size not supported
1710 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,physical_block_size=1024
1711 QEMU_PROG: -device floppy,drive=none0,physical_block_size=1024: Physical and logical block size must be 512 for floppy
1714 === Writethrough caching ===
1715 Cache mode: writeback
1716 Cache mode: writeback
1717 Cache mode: writethrough