1QA output created by 172 2Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=737280 3Formatting 'TEST_DIR/t.IMGFMT.2', fmt=IMGFMT size=737280 4Formatting 'TEST_DIR/t.IMGFMT.3', fmt=IMGFMT size=737280 5 6 7=== Default === 8 9Testing: 10 11 dev: isa-fdc, id "" 12 iobase = 1008 (0x3f0) 13 irq = 6 (0x6) 14 dma = 2 (0x2) 15 driveA = "" 16 driveB = "" 17 check_media_rate = true 18 fdtypeA = "auto" 19 fdtypeB = "auto" 20 fallback = "288" 21 isa irq 6 22 bus: floppy-bus.0 23 type floppy-bus 24 dev: floppy, id "" 25 unit = 0 (0x0) 26 drive = "floppy0" 27 logical_block_size = 512 (512 B) 28 physical_block_size = 512 (512 B) 29 min_io_size = 0 (0 B) 30 opt_io_size = 0 (0 B) 31 discard_granularity = 4294967295 (4 GiB) 32 write-cache = "auto" 33 share-rw = false 34 drive-type = "288" 35 36 37=== Using -fda/-fdb options === 38 39Testing: -fda TEST_DIR/t.qcow2 40 41 dev: isa-fdc, id "" 42 iobase = 1008 (0x3f0) 43 irq = 6 (0x6) 44 dma = 2 (0x2) 45 driveA = "" 46 driveB = "" 47 check_media_rate = true 48 fdtypeA = "auto" 49 fdtypeB = "auto" 50 fallback = "288" 51 isa irq 6 52 bus: floppy-bus.0 53 type floppy-bus 54 dev: floppy, id "" 55 unit = 0 (0x0) 56 drive = "floppy0" 57 logical_block_size = 512 (512 B) 58 physical_block_size = 512 (512 B) 59 min_io_size = 0 (0 B) 60 opt_io_size = 0 (0 B) 61 discard_granularity = 4294967295 (4 GiB) 62 write-cache = "auto" 63 share-rw = false 64 drive-type = "144" 65floppy0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2) 66 Attached to: /machine/unattached/device[N] 67 Removable device: not locked, tray closed 68 Cache mode: writeback 69 70ide1-cd0: [not inserted] 71 Attached to: /machine/unattached/device[N] 72 Removable device: not locked, tray closed 73 74sd0: [not inserted] 75 Removable device: not locked, tray closed 76(qemu) quit 77 78 79Testing: -fdb TEST_DIR/t.qcow2 80 81 dev: isa-fdc, id "" 82 iobase = 1008 (0x3f0) 83 irq = 6 (0x6) 84 dma = 2 (0x2) 85 driveA = "" 86 driveB = "" 87 check_media_rate = true 88 fdtypeA = "auto" 89 fdtypeB = "auto" 90 fallback = "288" 91 isa irq 6 92 bus: floppy-bus.0 93 type floppy-bus 94 dev: floppy, id "" 95 unit = 1 (0x1) 96 drive = "floppy1" 97 logical_block_size = 512 (512 B) 98 physical_block_size = 512 (512 B) 99 min_io_size = 0 (0 B) 100 opt_io_size = 0 (0 B) 101 discard_granularity = 4294967295 (4 GiB) 102 write-cache = "auto" 103 share-rw = false 104 drive-type = "144" 105 dev: floppy, id "" 106 unit = 0 (0x0) 107 drive = "floppy0" 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) 113 write-cache = "auto" 114 share-rw = false 115 drive-type = "288" 116floppy1 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2) 117 Attached to: /machine/unattached/device[N] 118 Removable device: not locked, tray closed 119 Cache mode: writeback 120 121ide1-cd0: [not inserted] 122 Attached to: /machine/unattached/device[N] 123 Removable device: not locked, tray closed 124 125floppy0: [not inserted] 126 Attached to: /machine/unattached/device[N] 127 Removable device: not locked, tray closed 128 129sd0: [not inserted] 130 Removable device: not locked, tray closed 131(qemu) quit 132 133 134Testing: -fda TEST_DIR/t.qcow2 -fdb TEST_DIR/t.qcow2.2 135 136 dev: isa-fdc, id "" 137 iobase = 1008 (0x3f0) 138 irq = 6 (0x6) 139 dma = 2 (0x2) 140 driveA = "" 141 driveB = "" 142 check_media_rate = true 143 fdtypeA = "auto" 144 fdtypeB = "auto" 145 fallback = "288" 146 isa irq 6 147 bus: floppy-bus.0 148 type floppy-bus 149 dev: floppy, id "" 150 unit = 1 (0x1) 151 drive = "floppy1" 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) 157 write-cache = "auto" 158 share-rw = false 159 drive-type = "144" 160 dev: floppy, id "" 161 unit = 0 (0x0) 162 drive = "floppy0" 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) 168 write-cache = "auto" 169 share-rw = false 170 drive-type = "144" 171floppy0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2) 172 Attached to: /machine/unattached/device[N] 173 Removable device: not locked, tray closed 174 Cache mode: writeback 175 176floppy1 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2) 177 Attached to: /machine/unattached/device[N] 178 Removable device: not locked, tray closed 179 Cache mode: writeback 180 181ide1-cd0: [not inserted] 182 Attached to: /machine/unattached/device[N] 183 Removable device: not locked, tray closed 184 185sd0: [not inserted] 186 Removable device: not locked, tray closed 187(qemu) quit 188 189 190Testing: -fdb 191 192 dev: isa-fdc, id "" 193 iobase = 1008 (0x3f0) 194 irq = 6 (0x6) 195 dma = 2 (0x2) 196 driveA = "" 197 driveB = "" 198 check_media_rate = true 199 fdtypeA = "auto" 200 fdtypeB = "auto" 201 fallback = "288" 202 isa irq 6 203 bus: floppy-bus.0 204 type floppy-bus 205 dev: floppy, id "" 206 unit = 1 (0x1) 207 drive = "floppy1" 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) 213 write-cache = "auto" 214 share-rw = false 215 drive-type = "288" 216 dev: floppy, id "" 217 unit = 0 (0x0) 218 drive = "floppy0" 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) 224 write-cache = "auto" 225 share-rw = false 226 drive-type = "288" 227 228 229=== Using -drive options === 230 231Testing: -drive if=floppy,file=TEST_DIR/t.qcow2 232 233 dev: isa-fdc, id "" 234 iobase = 1008 (0x3f0) 235 irq = 6 (0x6) 236 dma = 2 (0x2) 237 driveA = "" 238 driveB = "" 239 check_media_rate = true 240 fdtypeA = "auto" 241 fdtypeB = "auto" 242 fallback = "288" 243 isa irq 6 244 bus: floppy-bus.0 245 type floppy-bus 246 dev: floppy, id "" 247 unit = 0 (0x0) 248 drive = "floppy0" 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) 254 write-cache = "auto" 255 share-rw = false 256 drive-type = "144" 257floppy0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2) 258 Attached to: /machine/unattached/device[N] 259 Removable device: not locked, tray closed 260 Cache mode: writeback 261 262ide1-cd0: [not inserted] 263 Attached to: /machine/unattached/device[N] 264 Removable device: not locked, tray closed 265 266sd0: [not inserted] 267 Removable device: not locked, tray closed 268(qemu) quit 269 270 271Testing: -drive if=floppy,file=TEST_DIR/t.qcow2,index=1 272 273 dev: isa-fdc, id "" 274 iobase = 1008 (0x3f0) 275 irq = 6 (0x6) 276 dma = 2 (0x2) 277 driveA = "" 278 driveB = "" 279 check_media_rate = true 280 fdtypeA = "auto" 281 fdtypeB = "auto" 282 fallback = "288" 283 isa irq 6 284 bus: floppy-bus.0 285 type floppy-bus 286 dev: floppy, id "" 287 unit = 1 (0x1) 288 drive = "floppy1" 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) 294 write-cache = "auto" 295 share-rw = false 296 drive-type = "144" 297 dev: floppy, id "" 298 unit = 0 (0x0) 299 drive = "floppy0" 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) 305 write-cache = "auto" 306 share-rw = false 307 drive-type = "288" 308floppy1 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2) 309 Attached to: /machine/unattached/device[N] 310 Removable device: not locked, tray closed 311 Cache mode: writeback 312 313ide1-cd0: [not inserted] 314 Attached to: /machine/unattached/device[N] 315 Removable device: not locked, tray closed 316 317floppy0: [not inserted] 318 Attached to: /machine/unattached/device[N] 319 Removable device: not locked, tray closed 320 321sd0: [not inserted] 322 Removable device: not locked, tray closed 323(qemu) quit 324 325 326Testing: -drive if=floppy,file=TEST_DIR/t.qcow2 -drive if=floppy,file=TEST_DIR/t.qcow2.2,index=1 327 328 dev: isa-fdc, id "" 329 iobase = 1008 (0x3f0) 330 irq = 6 (0x6) 331 dma = 2 (0x2) 332 driveA = "" 333 driveB = "" 334 check_media_rate = true 335 fdtypeA = "auto" 336 fdtypeB = "auto" 337 fallback = "288" 338 isa irq 6 339 bus: floppy-bus.0 340 type floppy-bus 341 dev: floppy, id "" 342 unit = 1 (0x1) 343 drive = "floppy1" 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) 349 write-cache = "auto" 350 share-rw = false 351 drive-type = "144" 352 dev: floppy, id "" 353 unit = 0 (0x0) 354 drive = "floppy0" 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) 360 write-cache = "auto" 361 share-rw = false 362 drive-type = "144" 363floppy0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2) 364 Attached to: /machine/unattached/device[N] 365 Removable device: not locked, tray closed 366 Cache mode: writeback 367 368floppy1 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2) 369 Attached to: /machine/unattached/device[N] 370 Removable device: not locked, tray closed 371 Cache mode: writeback 372 373ide1-cd0: [not inserted] 374 Attached to: /machine/unattached/device[N] 375 Removable device: not locked, tray closed 376 377sd0: [not inserted] 378 Removable device: not locked, tray closed 379(qemu) quit 380 381 382 383=== Using -drive if=none and -global === 384 385Testing: -drive if=none,file=TEST_DIR/t.qcow2 -global isa-fdc.driveA=none0 386QEMU_PROG: warning: warning: property isa-fdc.driveA is deprecated 387Use -device floppy,unit=0,drive=... instead. 388 389 dev: isa-fdc, id "" 390 iobase = 1008 (0x3f0) 391 irq = 6 (0x6) 392 dma = 2 (0x2) 393 driveA = "" 394 driveB = "" 395 check_media_rate = true 396 fdtypeA = "auto" 397 fdtypeB = "auto" 398 fallback = "288" 399 isa irq 6 400 bus: floppy-bus.0 401 type floppy-bus 402 dev: floppy, id "" 403 unit = 0 (0x0) 404 drive = "none0" 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) 410 write-cache = "auto" 411 share-rw = false 412 drive-type = "144" 413none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2) 414 Attached to: /machine/unattached/device[N] 415 Removable device: not locked, tray closed 416 Cache mode: writeback 417 418ide1-cd0: [not inserted] 419 Attached to: /machine/unattached/device[N] 420 Removable device: not locked, tray closed 421 422sd0: [not inserted] 423 Removable device: not locked, tray closed 424(qemu) quit 425 426 427Testing: -drive if=none,file=TEST_DIR/t.qcow2 -global isa-fdc.driveB=none0 428QEMU_PROG: warning: warning: property isa-fdc.driveB is deprecated 429Use -device floppy,unit=1,drive=... instead. 430 431 dev: isa-fdc, id "" 432 iobase = 1008 (0x3f0) 433 irq = 6 (0x6) 434 dma = 2 (0x2) 435 driveA = "" 436 driveB = "" 437 check_media_rate = true 438 fdtypeA = "auto" 439 fdtypeB = "auto" 440 fallback = "288" 441 isa irq 6 442 bus: floppy-bus.0 443 type floppy-bus 444 dev: floppy, id "" 445 unit = 1 (0x1) 446 drive = "none0" 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) 452 write-cache = "auto" 453 share-rw = false 454 drive-type = "144" 455none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2) 456 Attached to: /machine/unattached/device[N] 457 Removable device: not locked, tray closed 458 Cache mode: writeback 459 460ide1-cd0: [not inserted] 461 Attached to: /machine/unattached/device[N] 462 Removable device: not locked, tray closed 463 464sd0: [not inserted] 465 Removable device: not locked, tray closed 466(qemu) quit 467 468 469Testing: -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 470QEMU_PROG: warning: warning: property isa-fdc.driveA is deprecated 471Use -device floppy,unit=0,drive=... instead. 472QEMU_PROG: warning: warning: property isa-fdc.driveB is deprecated 473Use -device floppy,unit=1,drive=... instead. 474 475 dev: isa-fdc, id "" 476 iobase = 1008 (0x3f0) 477 irq = 6 (0x6) 478 dma = 2 (0x2) 479 driveA = "" 480 driveB = "" 481 check_media_rate = true 482 fdtypeA = "auto" 483 fdtypeB = "auto" 484 fallback = "288" 485 isa irq 6 486 bus: floppy-bus.0 487 type floppy-bus 488 dev: floppy, id "" 489 unit = 1 (0x1) 490 drive = "none1" 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) 496 write-cache = "auto" 497 share-rw = false 498 drive-type = "144" 499 dev: floppy, id "" 500 unit = 0 (0x0) 501 drive = "none0" 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) 507 write-cache = "auto" 508 share-rw = false 509 drive-type = "144" 510none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2) 511 Attached to: /machine/unattached/device[N] 512 Removable device: not locked, tray closed 513 Cache mode: writeback 514 515none1 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2) 516 Attached to: /machine/unattached/device[N] 517 Removable device: not locked, tray closed 518 Cache mode: writeback 519 520ide1-cd0: [not inserted] 521 Attached to: /machine/unattached/device[N] 522 Removable device: not locked, tray closed 523 524sd0: [not inserted] 525 Removable device: not locked, tray closed 526(qemu) quit 527 528 529 530=== Using -drive if=none and -device === 531 532Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0 533 534 dev: isa-fdc, id "" 535 iobase = 1008 (0x3f0) 536 irq = 6 (0x6) 537 dma = 2 (0x2) 538 driveA = "" 539 driveB = "" 540 check_media_rate = true 541 fdtypeA = "auto" 542 fdtypeB = "auto" 543 fallback = "288" 544 isa irq 6 545 bus: floppy-bus.0 546 type floppy-bus 547 dev: floppy, id "" 548 unit = 0 (0x0) 549 drive = "none0" 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) 555 write-cache = "auto" 556 share-rw = false 557 drive-type = "144" 558none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2) 559 Attached to: /machine/peripheral-anon/device[N] 560 Removable device: not locked, tray closed 561 Cache mode: writeback 562 563ide1-cd0: [not inserted] 564 Attached to: /machine/unattached/device[N] 565 Removable device: not locked, tray closed 566 567sd0: [not inserted] 568 Removable device: not locked, tray closed 569(qemu) quit 570 571 572Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,unit=1 573 574 dev: isa-fdc, id "" 575 iobase = 1008 (0x3f0) 576 irq = 6 (0x6) 577 dma = 2 (0x2) 578 driveA = "" 579 driveB = "" 580 check_media_rate = true 581 fdtypeA = "auto" 582 fdtypeB = "auto" 583 fallback = "288" 584 isa irq 6 585 bus: floppy-bus.0 586 type floppy-bus 587 dev: floppy, id "" 588 unit = 1 (0x1) 589 drive = "none0" 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) 595 write-cache = "auto" 596 share-rw = false 597 drive-type = "144" 598none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2) 599 Attached to: /machine/peripheral-anon/device[N] 600 Removable device: not locked, tray closed 601 Cache mode: writeback 602 603ide1-cd0: [not inserted] 604 Attached to: /machine/unattached/device[N] 605 Removable device: not locked, tray closed 606 607sd0: [not inserted] 608 Removable device: not locked, tray closed 609(qemu) quit 610 611 612Testing: -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 613 614 dev: isa-fdc, id "" 615 iobase = 1008 (0x3f0) 616 irq = 6 (0x6) 617 dma = 2 (0x2) 618 driveA = "" 619 driveB = "" 620 check_media_rate = true 621 fdtypeA = "auto" 622 fdtypeB = "auto" 623 fallback = "288" 624 isa irq 6 625 bus: floppy-bus.0 626 type floppy-bus 627 dev: floppy, id "" 628 unit = 1 (0x1) 629 drive = "none1" 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) 635 write-cache = "auto" 636 share-rw = false 637 drive-type = "144" 638 dev: floppy, id "" 639 unit = 0 (0x0) 640 drive = "none0" 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) 646 write-cache = "auto" 647 share-rw = false 648 drive-type = "144" 649none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2) 650 Attached to: /machine/peripheral-anon/device[N] 651 Removable device: not locked, tray closed 652 Cache mode: writeback 653 654none1 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2) 655 Attached to: /machine/peripheral-anon/device[N] 656 Removable device: not locked, tray closed 657 Cache mode: writeback 658 659ide1-cd0: [not inserted] 660 Attached to: /machine/unattached/device[N] 661 Removable device: not locked, tray closed 662 663sd0: [not inserted] 664 Removable device: not locked, tray closed 665(qemu) quit 666 667 668 669=== Mixing -fdX and -global === 670 671Testing: -fda TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -global isa-fdc.driveB=none0 672QEMU_PROG: warning: warning: property isa-fdc.driveB is deprecated 673Use -device floppy,unit=1,drive=... instead. 674 675 dev: isa-fdc, id "" 676 iobase = 1008 (0x3f0) 677 irq = 6 (0x6) 678 dma = 2 (0x2) 679 driveA = "" 680 driveB = "" 681 check_media_rate = true 682 fdtypeA = "auto" 683 fdtypeB = "auto" 684 fallback = "288" 685 isa irq 6 686 bus: floppy-bus.0 687 type floppy-bus 688 dev: floppy, id "" 689 unit = 0 (0x0) 690 drive = "floppy0" 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) 696 write-cache = "auto" 697 share-rw = false 698 drive-type = "144" 699 dev: floppy, id "" 700 unit = 1 (0x1) 701 drive = "none0" 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) 707 write-cache = "auto" 708 share-rw = false 709 drive-type = "144" 710floppy0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2) 711 Attached to: /machine/unattached/device[N] 712 Removable device: not locked, tray closed 713 Cache mode: writeback 714 715none0 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2) 716 Attached to: /machine/unattached/device[N] 717 Removable device: not locked, tray closed 718 Cache mode: writeback 719 720ide1-cd0: [not inserted] 721 Attached to: /machine/unattached/device[N] 722 Removable device: not locked, tray closed 723 724sd0: [not inserted] 725 Removable device: not locked, tray closed 726(qemu) quit 727 728 729Testing: -fdb TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -global isa-fdc.driveA=none0 730QEMU_PROG: warning: warning: property isa-fdc.driveA is deprecated 731Use -device floppy,unit=0,drive=... instead. 732 733 dev: isa-fdc, id "" 734 iobase = 1008 (0x3f0) 735 irq = 6 (0x6) 736 dma = 2 (0x2) 737 driveA = "" 738 driveB = "" 739 check_media_rate = true 740 fdtypeA = "auto" 741 fdtypeB = "auto" 742 fallback = "288" 743 isa irq 6 744 bus: floppy-bus.0 745 type floppy-bus 746 dev: floppy, id "" 747 unit = 1 (0x1) 748 drive = "floppy1" 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) 754 write-cache = "auto" 755 share-rw = false 756 drive-type = "144" 757 dev: floppy, id "" 758 unit = 0 (0x0) 759 drive = "none0" 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) 765 write-cache = "auto" 766 share-rw = false 767 drive-type = "144" 768floppy1 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2) 769 Attached to: /machine/unattached/device[N] 770 Removable device: not locked, tray closed 771 Cache mode: writeback 772 773none0 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2) 774 Attached to: /machine/unattached/device[N] 775 Removable device: not locked, tray closed 776 Cache mode: writeback 777 778ide1-cd0: [not inserted] 779 Attached to: /machine/unattached/device[N] 780 Removable device: not locked, tray closed 781 782sd0: [not inserted] 783 Removable device: not locked, tray closed 784(qemu) quit 785 786 787Testing: -fda TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -global isa-fdc.driveA=none0 788QEMU_PROG: warning: warning: property isa-fdc.driveA is deprecated 789Use -device floppy,unit=0,drive=... instead. 790QEMU_PROG: Floppy unit 0 is in use 791 792Testing: -fdb TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -global isa-fdc.driveB=none0 793QEMU_PROG: warning: warning: property isa-fdc.driveB is deprecated 794Use -device floppy,unit=1,drive=... instead. 795QEMU_PROG: Floppy unit 1 is in use 796 797Testing: -fda TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -global floppy.drive=none0 798QEMU_PROG: -global floppy.drive=... conflicts with drive=floppy0 799 800 801=== Mixing -fdX and -device === 802 803Testing: -fda TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0 804 805 dev: isa-fdc, id "" 806 iobase = 1008 (0x3f0) 807 irq = 6 (0x6) 808 dma = 2 (0x2) 809 driveA = "" 810 driveB = "" 811 check_media_rate = true 812 fdtypeA = "auto" 813 fdtypeB = "auto" 814 fallback = "288" 815 isa irq 6 816 bus: floppy-bus.0 817 type floppy-bus 818 dev: floppy, id "" 819 unit = 1 (0x1) 820 drive = "none0" 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) 826 write-cache = "auto" 827 share-rw = false 828 drive-type = "144" 829 dev: floppy, id "" 830 unit = 0 (0x0) 831 drive = "floppy0" 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) 837 write-cache = "auto" 838 share-rw = false 839 drive-type = "144" 840floppy0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2) 841 Attached to: /machine/unattached/device[N] 842 Removable device: not locked, tray closed 843 Cache mode: writeback 844 845none0 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2) 846 Attached to: /machine/peripheral-anon/device[N] 847 Removable device: not locked, tray closed 848 Cache mode: writeback 849 850ide1-cd0: [not inserted] 851 Attached to: /machine/unattached/device[N] 852 Removable device: not locked, tray closed 853 854sd0: [not inserted] 855 Removable device: not locked, tray closed 856(qemu) quit 857 858 859Testing: -fda TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0,unit=1 860 861 dev: isa-fdc, id "" 862 iobase = 1008 (0x3f0) 863 irq = 6 (0x6) 864 dma = 2 (0x2) 865 driveA = "" 866 driveB = "" 867 check_media_rate = true 868 fdtypeA = "auto" 869 fdtypeB = "auto" 870 fallback = "288" 871 isa irq 6 872 bus: floppy-bus.0 873 type floppy-bus 874 dev: floppy, id "" 875 unit = 1 (0x1) 876 drive = "none0" 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) 882 write-cache = "auto" 883 share-rw = false 884 drive-type = "144" 885 dev: floppy, id "" 886 unit = 0 (0x0) 887 drive = "floppy0" 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) 893 write-cache = "auto" 894 share-rw = false 895 drive-type = "144" 896floppy0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2) 897 Attached to: /machine/unattached/device[N] 898 Removable device: not locked, tray closed 899 Cache mode: writeback 900 901none0 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2) 902 Attached to: /machine/peripheral-anon/device[N] 903 Removable device: not locked, tray closed 904 Cache mode: writeback 905 906ide1-cd0: [not inserted] 907 Attached to: /machine/unattached/device[N] 908 Removable device: not locked, tray closed 909 910sd0: [not inserted] 911 Removable device: not locked, tray closed 912(qemu) quit 913 914 915Testing: -fdb TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0 916 917 dev: isa-fdc, id "" 918 iobase = 1008 (0x3f0) 919 irq = 6 (0x6) 920 dma = 2 (0x2) 921 driveA = "" 922 driveB = "" 923 check_media_rate = true 924 fdtypeA = "auto" 925 fdtypeB = "auto" 926 fallback = "288" 927 isa irq 6 928 bus: floppy-bus.0 929 type floppy-bus 930 dev: floppy, id "" 931 unit = 0 (0x0) 932 drive = "none0" 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) 938 write-cache = "auto" 939 share-rw = false 940 drive-type = "144" 941 dev: floppy, id "" 942 unit = 1 (0x1) 943 drive = "floppy1" 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) 949 write-cache = "auto" 950 share-rw = false 951 drive-type = "144" 952floppy1 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2) 953 Attached to: /machine/unattached/device[N] 954 Removable device: not locked, tray closed 955 Cache mode: writeback 956 957none0 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2) 958 Attached to: /machine/peripheral-anon/device[N] 959 Removable device: not locked, tray closed 960 Cache mode: writeback 961 962ide1-cd0: [not inserted] 963 Attached to: /machine/unattached/device[N] 964 Removable device: not locked, tray closed 965 966sd0: [not inserted] 967 Removable device: not locked, tray closed 968(qemu) quit 969 970 971Testing: -fdb TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0,unit=0 972 973 dev: isa-fdc, id "" 974 iobase = 1008 (0x3f0) 975 irq = 6 (0x6) 976 dma = 2 (0x2) 977 driveA = "" 978 driveB = "" 979 check_media_rate = true 980 fdtypeA = "auto" 981 fdtypeB = "auto" 982 fallback = "288" 983 isa irq 6 984 bus: floppy-bus.0 985 type floppy-bus 986 dev: floppy, id "" 987 unit = 0 (0x0) 988 drive = "none0" 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) 994 write-cache = "auto" 995 share-rw = false 996 drive-type = "144" 997 dev: floppy, id "" 998 unit = 1 (0x1) 999 drive = "floppy1" 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" 1006 share-rw = false 1007 drive-type = "144" 1008floppy1 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2) 1009 Attached to: /machine/unattached/device[N] 1010 Removable device: not locked, tray closed 1011 Cache mode: writeback 1012 1013none0 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2) 1014 Attached to: /machine/peripheral-anon/device[N] 1015 Removable device: not locked, tray closed 1016 Cache mode: writeback 1017 1018ide1-cd0: [not inserted] 1019 Attached to: /machine/unattached/device[N] 1020 Removable device: not locked, tray closed 1021 1022sd0: [not inserted] 1023 Removable device: not locked, tray closed 1024(qemu) quit 1025 1026 1027Testing: -fda TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0,unit=0 1028QEMU_PROG: -device floppy,drive=none0,unit=0: Floppy unit 0 is in use 1029 1030Testing: -fdb TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0,unit=1 1031QEMU_PROG: -device floppy,drive=none0,unit=1: Floppy unit 1 is in use 1032 1033 1034=== Mixing -drive and -device === 1035 1036Testing: -drive if=floppy,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0 1037 1038 dev: isa-fdc, id "" 1039 iobase = 1008 (0x3f0) 1040 irq = 6 (0x6) 1041 dma = 2 (0x2) 1042 driveA = "" 1043 driveB = "" 1044 check_media_rate = true 1045 fdtypeA = "auto" 1046 fdtypeB = "auto" 1047 fallback = "288" 1048 isa irq 6 1049 bus: floppy-bus.0 1050 type floppy-bus 1051 dev: floppy, id "" 1052 unit = 1 (0x1) 1053 drive = "none0" 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" 1060 share-rw = false 1061 drive-type = "144" 1062 dev: floppy, id "" 1063 unit = 0 (0x0) 1064 drive = "floppy0" 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" 1071 share-rw = false 1072 drive-type = "144" 1073floppy0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2) 1074 Attached to: /machine/unattached/device[N] 1075 Removable device: not locked, tray closed 1076 Cache mode: writeback 1077 1078none0 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2) 1079 Attached to: /machine/peripheral-anon/device[N] 1080 Removable device: not locked, tray closed 1081 Cache mode: writeback 1082 1083ide1-cd0: [not inserted] 1084 Attached to: /machine/unattached/device[N] 1085 Removable device: not locked, tray closed 1086 1087sd0: [not inserted] 1088 Removable device: not locked, tray closed 1089(qemu) quit 1090 1091 1092Testing: -drive if=floppy,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0,unit=1 1093 1094 dev: isa-fdc, id "" 1095 iobase = 1008 (0x3f0) 1096 irq = 6 (0x6) 1097 dma = 2 (0x2) 1098 driveA = "" 1099 driveB = "" 1100 check_media_rate = true 1101 fdtypeA = "auto" 1102 fdtypeB = "auto" 1103 fallback = "288" 1104 isa irq 6 1105 bus: floppy-bus.0 1106 type floppy-bus 1107 dev: floppy, id "" 1108 unit = 1 (0x1) 1109 drive = "none0" 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" 1116 share-rw = false 1117 drive-type = "144" 1118 dev: floppy, id "" 1119 unit = 0 (0x0) 1120 drive = "floppy0" 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" 1127 share-rw = false 1128 drive-type = "144" 1129floppy0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2) 1130 Attached to: /machine/unattached/device[N] 1131 Removable device: not locked, tray closed 1132 Cache mode: writeback 1133 1134none0 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2) 1135 Attached to: /machine/peripheral-anon/device[N] 1136 Removable device: not locked, tray closed 1137 Cache mode: writeback 1138 1139ide1-cd0: [not inserted] 1140 Attached to: /machine/unattached/device[N] 1141 Removable device: not locked, tray closed 1142 1143sd0: [not inserted] 1144 Removable device: not locked, tray closed 1145(qemu) quit 1146 1147 1148Testing: -drive if=floppy,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0,unit=0 1149QEMU_PROG: -device floppy,drive=none0,unit=0: Floppy unit 0 is in use 1150 1151 1152=== Mixing -global and -device === 1153 1154Testing: -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 1155QEMU_PROG: warning: warning: property isa-fdc.driveA is deprecated 1156Use -device floppy,unit=0,drive=... instead. 1157 1158 dev: isa-fdc, id "" 1159 iobase = 1008 (0x3f0) 1160 irq = 6 (0x6) 1161 dma = 2 (0x2) 1162 driveA = "" 1163 driveB = "" 1164 check_media_rate = true 1165 fdtypeA = "auto" 1166 fdtypeB = "auto" 1167 fallback = "288" 1168 isa irq 6 1169 bus: floppy-bus.0 1170 type floppy-bus 1171 dev: floppy, id "" 1172 unit = 1 (0x1) 1173 drive = "none1" 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" 1180 share-rw = false 1181 drive-type = "144" 1182 dev: floppy, id "" 1183 unit = 0 (0x0) 1184 drive = "none0" 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" 1191 share-rw = false 1192 drive-type = "144" 1193none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2) 1194 Attached to: /machine/unattached/device[N] 1195 Removable device: not locked, tray closed 1196 Cache mode: writeback 1197 1198none1 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2) 1199 Attached to: /machine/peripheral-anon/device[N] 1200 Removable device: not locked, tray closed 1201 Cache mode: writeback 1202 1203ide1-cd0: [not inserted] 1204 Attached to: /machine/unattached/device[N] 1205 Removable device: not locked, tray closed 1206 1207sd0: [not inserted] 1208 Removable device: not locked, tray closed 1209(qemu) quit 1210 1211 1212Testing: -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 1213QEMU_PROG: warning: warning: property isa-fdc.driveA is deprecated 1214Use -device floppy,unit=0,drive=... instead. 1215 1216 dev: isa-fdc, id "" 1217 iobase = 1008 (0x3f0) 1218 irq = 6 (0x6) 1219 dma = 2 (0x2) 1220 driveA = "" 1221 driveB = "" 1222 check_media_rate = true 1223 fdtypeA = "auto" 1224 fdtypeB = "auto" 1225 fallback = "288" 1226 isa irq 6 1227 bus: floppy-bus.0 1228 type floppy-bus 1229 dev: floppy, id "" 1230 unit = 1 (0x1) 1231 drive = "none1" 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" 1238 share-rw = false 1239 drive-type = "144" 1240 dev: floppy, id "" 1241 unit = 0 (0x0) 1242 drive = "none0" 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" 1249 share-rw = false 1250 drive-type = "144" 1251none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2) 1252 Attached to: /machine/unattached/device[N] 1253 Removable device: not locked, tray closed 1254 Cache mode: writeback 1255 1256none1 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2) 1257 Attached to: /machine/peripheral-anon/device[N] 1258 Removable device: not locked, tray closed 1259 Cache mode: writeback 1260 1261ide1-cd0: [not inserted] 1262 Attached to: /machine/unattached/device[N] 1263 Removable device: not locked, tray closed 1264 1265sd0: [not inserted] 1266 Removable device: not locked, tray closed 1267(qemu) quit 1268 1269 1270Testing: -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 1271QEMU_PROG: warning: warning: property isa-fdc.driveB is deprecated 1272Use -device floppy,unit=1,drive=... instead. 1273 1274 dev: isa-fdc, id "" 1275 iobase = 1008 (0x3f0) 1276 irq = 6 (0x6) 1277 dma = 2 (0x2) 1278 driveA = "" 1279 driveB = "" 1280 check_media_rate = true 1281 fdtypeA = "auto" 1282 fdtypeB = "auto" 1283 fallback = "288" 1284 isa irq 6 1285 bus: floppy-bus.0 1286 type floppy-bus 1287 dev: floppy, id "" 1288 unit = 0 (0x0) 1289 drive = "none1" 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" 1296 share-rw = false 1297 drive-type = "144" 1298 dev: floppy, id "" 1299 unit = 1 (0x1) 1300 drive = "none0" 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" 1307 share-rw = false 1308 drive-type = "144" 1309none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2) 1310 Attached to: /machine/unattached/device[N] 1311 Removable device: not locked, tray closed 1312 Cache mode: writeback 1313 1314none1 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2) 1315 Attached to: /machine/peripheral-anon/device[N] 1316 Removable device: not locked, tray closed 1317 Cache mode: writeback 1318 1319ide1-cd0: [not inserted] 1320 Attached to: /machine/unattached/device[N] 1321 Removable device: not locked, tray closed 1322 1323sd0: [not inserted] 1324 Removable device: not locked, tray closed 1325(qemu) quit 1326 1327 1328Testing: -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 1329QEMU_PROG: warning: warning: property isa-fdc.driveB is deprecated 1330Use -device floppy,unit=1,drive=... instead. 1331 1332 dev: isa-fdc, id "" 1333 iobase = 1008 (0x3f0) 1334 irq = 6 (0x6) 1335 dma = 2 (0x2) 1336 driveA = "" 1337 driveB = "" 1338 check_media_rate = true 1339 fdtypeA = "auto" 1340 fdtypeB = "auto" 1341 fallback = "288" 1342 isa irq 6 1343 bus: floppy-bus.0 1344 type floppy-bus 1345 dev: floppy, id "" 1346 unit = 0 (0x0) 1347 drive = "none1" 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" 1354 share-rw = false 1355 drive-type = "144" 1356 dev: floppy, id "" 1357 unit = 1 (0x1) 1358 drive = "none0" 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" 1365 share-rw = false 1366 drive-type = "144" 1367none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2) 1368 Attached to: /machine/unattached/device[N] 1369 Removable device: not locked, tray closed 1370 Cache mode: writeback 1371 1372none1 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2) 1373 Attached to: /machine/peripheral-anon/device[N] 1374 Removable device: not locked, tray closed 1375 Cache mode: writeback 1376 1377ide1-cd0: [not inserted] 1378 Attached to: /machine/unattached/device[N] 1379 Removable device: not locked, tray closed 1380 1381sd0: [not inserted] 1382 Removable device: not locked, tray closed 1383(qemu) quit 1384 1385 1386Testing: -drive if=none,file=TEST_DIR/t.qcow2 -global floppy.drive=none0 -device floppy,unit=0 1387 1388 dev: isa-fdc, id "" 1389 iobase = 1008 (0x3f0) 1390 irq = 6 (0x6) 1391 dma = 2 (0x2) 1392 driveA = "" 1393 driveB = "" 1394 check_media_rate = true 1395 fdtypeA = "auto" 1396 fdtypeB = "auto" 1397 fallback = "288" 1398 isa irq 6 1399 bus: floppy-bus.0 1400 type floppy-bus 1401 dev: floppy, id "" 1402 unit = 0 (0x0) 1403 drive = "none0" 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" 1410 share-rw = false 1411 drive-type = "144" 1412none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2) 1413 Attached to: /machine/peripheral-anon/device[N] 1414 Removable device: not locked, tray closed 1415 Cache mode: writeback 1416 1417ide1-cd0: [not inserted] 1418 Attached to: /machine/unattached/device[N] 1419 Removable device: not locked, tray closed 1420 1421sd0: [not inserted] 1422 Removable device: not locked, tray closed 1423(qemu) quit 1424 1425 1426Testing: -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 1427QEMU_PROG: warning: warning: property isa-fdc.driveA is deprecated 1428Use -device floppy,unit=0,drive=... instead. 1429QEMU_PROG: -device floppy,drive=none1,unit=0: Floppy unit 0 is in use 1430 1431Testing: -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 1432QEMU_PROG: warning: warning: property isa-fdc.driveB is deprecated 1433Use -device floppy,unit=1,drive=... instead. 1434QEMU_PROG: -device floppy,drive=none1,unit=1: Floppy unit 1 is in use 1435 1436Testing: -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 1437QEMU_PROG: -device floppy,drive=none1,unit=0: -global floppy.drive=... conflicts with drive=none1 1438 1439 1440=== Attempt to use drive twice === 1441 1442Testing: -drive if=none -device floppy,drive=none0 -device floppy -device floppy,drive=none0 1443QEMU_PROG: -device floppy,drive=none0: Drive 'none0' is already in use by another device 1444 1445Testing: -drive if=none -global floppy.drive=none0 -device floppy -device floppy 1446QEMU_PROG: -device floppy: can't apply global floppy.drive=none0: Drive 'none0' is already in use by another device 1447 1448Testing: -fda -device floppy,drive=floppy0 1449QEMU_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?) 1450 1451Testing: -fda -global floppy.drive=floppy0 1452QEMU_PROG: -global floppy.drive=... conflicts with drive=floppy0 1453 1454Testing: -device floppy,drive=floppy0 1455QEMU_PROG: -device floppy,drive=floppy0: Property 'floppy.drive' can't find value 'floppy0' 1456 1457 1458=== Too many floppy drives === 1459 1460Testing: -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 1461QEMU_PROG: warning: warning: property isa-fdc.driveB is deprecated 1462Use -device floppy,unit=1,drive=... instead. 1463QEMU_PROG: -device floppy,drive=none1: Can't create floppy unit 2, bus supports only 2 units 1464 1465 1466=== Creating an empty drive with anonymous BB === 1467 1468Testing: -device floppy 1469 1470 dev: isa-fdc, id "" 1471 iobase = 1008 (0x3f0) 1472 irq = 6 (0x6) 1473 dma = 2 (0x2) 1474 driveA = "" 1475 driveB = "" 1476 check_media_rate = true 1477 fdtypeA = "auto" 1478 fdtypeB = "auto" 1479 fallback = "288" 1480 isa irq 6 1481 bus: floppy-bus.0 1482 type floppy-bus 1483 dev: floppy, id "" 1484 unit = 0 (0x0) 1485 drive = "" 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" 1492 share-rw = false 1493 drive-type = "288" 1494 1495Testing: -device floppy,drive-type=120 1496 1497 dev: isa-fdc, id "" 1498 iobase = 1008 (0x3f0) 1499 irq = 6 (0x6) 1500 dma = 2 (0x2) 1501 driveA = "" 1502 driveB = "" 1503 check_media_rate = true 1504 fdtypeA = "auto" 1505 fdtypeB = "auto" 1506 fallback = "288" 1507 isa irq 6 1508 bus: floppy-bus.0 1509 type floppy-bus 1510 dev: floppy, id "" 1511 unit = 0 (0x0) 1512 drive = "" 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" 1519 share-rw = false 1520 drive-type = "120" 1521 1522Testing: -device floppy,drive-type=144 1523 1524 dev: isa-fdc, id "" 1525 iobase = 1008 (0x3f0) 1526 irq = 6 (0x6) 1527 dma = 2 (0x2) 1528 driveA = "" 1529 driveB = "" 1530 check_media_rate = true 1531 fdtypeA = "auto" 1532 fdtypeB = "auto" 1533 fallback = "288" 1534 isa irq 6 1535 bus: floppy-bus.0 1536 type floppy-bus 1537 dev: floppy, id "" 1538 unit = 0 (0x0) 1539 drive = "" 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" 1546 share-rw = false 1547 drive-type = "144" 1548 1549Testing: -device floppy,drive-type=288 1550 1551 dev: isa-fdc, id "" 1552 iobase = 1008 (0x3f0) 1553 irq = 6 (0x6) 1554 dma = 2 (0x2) 1555 driveA = "" 1556 driveB = "" 1557 check_media_rate = true 1558 fdtypeA = "auto" 1559 fdtypeB = "auto" 1560 fallback = "288" 1561 isa irq 6 1562 bus: floppy-bus.0 1563 type floppy-bus 1564 dev: floppy, id "" 1565 unit = 0 (0x0) 1566 drive = "" 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" 1573 share-rw = false 1574 drive-type = "288" 1575 1576 1577=== Try passing different drive size with image === 1578 1579Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,drive-type=120 1580 1581 dev: isa-fdc, id "" 1582 iobase = 1008 (0x3f0) 1583 irq = 6 (0x6) 1584 dma = 2 (0x2) 1585 driveA = "" 1586 driveB = "" 1587 check_media_rate = true 1588 fdtypeA = "auto" 1589 fdtypeB = "auto" 1590 fallback = "288" 1591 isa irq 6 1592 bus: floppy-bus.0 1593 type floppy-bus 1594 dev: floppy, id "" 1595 unit = 0 (0x0) 1596 drive = "none0" 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" 1603 share-rw = false 1604 drive-type = "120" 1605none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2) 1606 Attached to: /machine/peripheral-anon/device[N] 1607 Removable device: not locked, tray closed 1608 Cache mode: writeback 1609 1610ide1-cd0: [not inserted] 1611 Attached to: /machine/unattached/device[N] 1612 Removable device: not locked, tray closed 1613 1614sd0: [not inserted] 1615 Removable device: not locked, tray closed 1616(qemu) quit 1617 1618 1619Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,drive-type=288 1620 1621 dev: isa-fdc, id "" 1622 iobase = 1008 (0x3f0) 1623 irq = 6 (0x6) 1624 dma = 2 (0x2) 1625 driveA = "" 1626 driveB = "" 1627 check_media_rate = true 1628 fdtypeA = "auto" 1629 fdtypeB = "auto" 1630 fallback = "288" 1631 isa irq 6 1632 bus: floppy-bus.0 1633 type floppy-bus 1634 dev: floppy, id "" 1635 unit = 0 (0x0) 1636 drive = "none0" 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" 1643 share-rw = false 1644 drive-type = "288" 1645none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2) 1646 Attached to: /machine/peripheral-anon/device[N] 1647 Removable device: not locked, tray closed 1648 Cache mode: writeback 1649 1650ide1-cd0: [not inserted] 1651 Attached to: /machine/unattached/device[N] 1652 Removable device: not locked, tray closed 1653 1654sd0: [not inserted] 1655 Removable device: not locked, tray closed 1656(qemu) quit 1657 1658 1659 1660=== Try passing different block sizes === 1661 1662Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,logical_block_size=512 1663 1664 dev: isa-fdc, id "" 1665 iobase = 1008 (0x3f0) 1666 irq = 6 (0x6) 1667 dma = 2 (0x2) 1668 driveA = "" 1669 driveB = "" 1670 check_media_rate = true 1671 fdtypeA = "auto" 1672 fdtypeB = "auto" 1673 fallback = "288" 1674 isa irq 6 1675 bus: floppy-bus.0 1676 type floppy-bus 1677 dev: floppy, id "" 1678 unit = 0 (0x0) 1679 drive = "none0" 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" 1686 share-rw = false 1687 drive-type = "144" 1688none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2) 1689 Attached to: /machine/peripheral-anon/device[N] 1690 Removable device: not locked, tray closed 1691 Cache mode: writeback 1692 1693ide1-cd0: [not inserted] 1694 Attached to: /machine/unattached/device[N] 1695 Removable device: not locked, tray closed 1696 1697sd0: [not inserted] 1698 Removable device: not locked, tray closed 1699(qemu) quit 1700 1701 1702Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,physical_block_size=512 1703 1704 dev: isa-fdc, id "" 1705 iobase = 1008 (0x3f0) 1706 irq = 6 (0x6) 1707 dma = 2 (0x2) 1708 driveA = "" 1709 driveB = "" 1710 check_media_rate = true 1711 fdtypeA = "auto" 1712 fdtypeB = "auto" 1713 fallback = "288" 1714 isa irq 6 1715 bus: floppy-bus.0 1716 type floppy-bus 1717 dev: floppy, id "" 1718 unit = 0 (0x0) 1719 drive = "none0" 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" 1726 share-rw = false 1727 drive-type = "144" 1728none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2) 1729 Attached to: /machine/peripheral-anon/device[N] 1730 Removable device: not locked, tray closed 1731 Cache mode: writeback 1732 1733ide1-cd0: [not inserted] 1734 Attached to: /machine/unattached/device[N] 1735 Removable device: not locked, tray closed 1736 1737sd0: [not inserted] 1738 Removable device: not locked, tray closed 1739(qemu) quit 1740 1741 1742Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,logical_block_size=4096 1743QEMU_PROG: -device floppy,drive=none0,logical_block_size=4096: logical_block_size > physical_block_size not supported 1744 1745Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,physical_block_size=1024 1746QEMU_PROG: -device floppy,drive=none0,physical_block_size=1024: Physical and logical block size must be 512 for floppy 1747 1748 1749=== Writethrough caching === 1750 Cache mode: writeback 1751 Cache mode: writeback 1752 Cache mode: writethrough 1753*** done 1754