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 fdtypeA = "auto" 18 fdtypeB = "auto" 19 fallback = "288" 20 isa irq 6 21 bus: floppy-bus.0 22 type floppy-bus 23 dev: floppy, id "" 24 unit = 0 (0x0) 25 drive = "floppy0" 26 logical_block_size = 512 (512 B) 27 physical_block_size = 512 (512 B) 28 min_io_size = 0 (0 B) 29 opt_io_size = 0 (0 B) 30 discard_granularity = 4294967295 (4 GiB) 31 write-cache = "auto" 32 share-rw = false 33 drive-type = "288" 34 35 36=== Using -fda/-fdb options === 37 38Testing: -fda TEST_DIR/t.qcow2 39 40 dev: isa-fdc, id "" 41 iobase = 1008 (0x3f0) 42 irq = 6 (0x6) 43 dma = 2 (0x2) 44 driveA = "" 45 driveB = "" 46 fdtypeA = "auto" 47 fdtypeB = "auto" 48 fallback = "288" 49 isa irq 6 50 bus: floppy-bus.0 51 type floppy-bus 52 dev: floppy, id "" 53 unit = 0 (0x0) 54 drive = "floppy0" 55 logical_block_size = 512 (512 B) 56 physical_block_size = 512 (512 B) 57 min_io_size = 0 (0 B) 58 opt_io_size = 0 (0 B) 59 discard_granularity = 4294967295 (4 GiB) 60 write-cache = "auto" 61 share-rw = false 62 drive-type = "144" 63floppy0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2) 64 Attached to: /machine/unattached/device[N] 65 Removable device: not locked, tray closed 66 Cache mode: writeback 67 68ide1-cd0: [not inserted] 69 Attached to: /machine/unattached/device[N] 70 Removable device: not locked, tray closed 71 72sd0: [not inserted] 73 Removable device: not locked, tray closed 74(qemu) quit 75 76 77Testing: -fdb TEST_DIR/t.qcow2 78 79 dev: isa-fdc, id "" 80 iobase = 1008 (0x3f0) 81 irq = 6 (0x6) 82 dma = 2 (0x2) 83 driveA = "" 84 driveB = "" 85 fdtypeA = "auto" 86 fdtypeB = "auto" 87 fallback = "288" 88 isa irq 6 89 bus: floppy-bus.0 90 type floppy-bus 91 dev: floppy, id "" 92 unit = 1 (0x1) 93 drive = "floppy1" 94 logical_block_size = 512 (512 B) 95 physical_block_size = 512 (512 B) 96 min_io_size = 0 (0 B) 97 opt_io_size = 0 (0 B) 98 discard_granularity = 4294967295 (4 GiB) 99 write-cache = "auto" 100 share-rw = false 101 drive-type = "144" 102 dev: floppy, id "" 103 unit = 0 (0x0) 104 drive = "floppy0" 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) 110 write-cache = "auto" 111 share-rw = false 112 drive-type = "288" 113floppy1 (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 117 118ide1-cd0: [not inserted] 119 Attached to: /machine/unattached/device[N] 120 Removable device: not locked, tray closed 121 122floppy0: [not inserted] 123 Attached to: /machine/unattached/device[N] 124 Removable device: not locked, tray closed 125 126sd0: [not inserted] 127 Removable device: not locked, tray closed 128(qemu) quit 129 130 131Testing: -fda TEST_DIR/t.qcow2 -fdb TEST_DIR/t.qcow2.2 132 133 dev: isa-fdc, id "" 134 iobase = 1008 (0x3f0) 135 irq = 6 (0x6) 136 dma = 2 (0x2) 137 driveA = "" 138 driveB = "" 139 fdtypeA = "auto" 140 fdtypeB = "auto" 141 fallback = "288" 142 isa irq 6 143 bus: floppy-bus.0 144 type floppy-bus 145 dev: floppy, id "" 146 unit = 1 (0x1) 147 drive = "floppy1" 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) 153 write-cache = "auto" 154 share-rw = false 155 drive-type = "144" 156 dev: floppy, id "" 157 unit = 0 (0x0) 158 drive = "floppy0" 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) 164 write-cache = "auto" 165 share-rw = false 166 drive-type = "144" 167floppy0 (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 171 172floppy1 (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 176 177ide1-cd0: [not inserted] 178 Attached to: /machine/unattached/device[N] 179 Removable device: not locked, tray closed 180 181sd0: [not inserted] 182 Removable device: not locked, tray closed 183(qemu) quit 184 185 186Testing: -fdb 187 188 dev: isa-fdc, id "" 189 iobase = 1008 (0x3f0) 190 irq = 6 (0x6) 191 dma = 2 (0x2) 192 driveA = "" 193 driveB = "" 194 fdtypeA = "auto" 195 fdtypeB = "auto" 196 fallback = "288" 197 isa irq 6 198 bus: floppy-bus.0 199 type floppy-bus 200 dev: floppy, id "" 201 unit = 1 (0x1) 202 drive = "floppy1" 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) 208 write-cache = "auto" 209 share-rw = false 210 drive-type = "288" 211 dev: floppy, id "" 212 unit = 0 (0x0) 213 drive = "floppy0" 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) 219 write-cache = "auto" 220 share-rw = false 221 drive-type = "288" 222 223 224=== Using -drive options === 225 226Testing: -drive if=floppy,file=TEST_DIR/t.qcow2 227 228 dev: isa-fdc, id "" 229 iobase = 1008 (0x3f0) 230 irq = 6 (0x6) 231 dma = 2 (0x2) 232 driveA = "" 233 driveB = "" 234 fdtypeA = "auto" 235 fdtypeB = "auto" 236 fallback = "288" 237 isa irq 6 238 bus: floppy-bus.0 239 type floppy-bus 240 dev: floppy, id "" 241 unit = 0 (0x0) 242 drive = "floppy0" 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) 248 write-cache = "auto" 249 share-rw = false 250 drive-type = "144" 251floppy0 (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 255 256ide1-cd0: [not inserted] 257 Attached to: /machine/unattached/device[N] 258 Removable device: not locked, tray closed 259 260sd0: [not inserted] 261 Removable device: not locked, tray closed 262(qemu) quit 263 264 265Testing: -drive if=floppy,file=TEST_DIR/t.qcow2,index=1 266 267 dev: isa-fdc, id "" 268 iobase = 1008 (0x3f0) 269 irq = 6 (0x6) 270 dma = 2 (0x2) 271 driveA = "" 272 driveB = "" 273 fdtypeA = "auto" 274 fdtypeB = "auto" 275 fallback = "288" 276 isa irq 6 277 bus: floppy-bus.0 278 type floppy-bus 279 dev: floppy, id "" 280 unit = 1 (0x1) 281 drive = "floppy1" 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) 287 write-cache = "auto" 288 share-rw = false 289 drive-type = "144" 290 dev: floppy, id "" 291 unit = 0 (0x0) 292 drive = "floppy0" 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) 298 write-cache = "auto" 299 share-rw = false 300 drive-type = "288" 301floppy1 (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 305 306ide1-cd0: [not inserted] 307 Attached to: /machine/unattached/device[N] 308 Removable device: not locked, tray closed 309 310floppy0: [not inserted] 311 Attached to: /machine/unattached/device[N] 312 Removable device: not locked, tray closed 313 314sd0: [not inserted] 315 Removable device: not locked, tray closed 316(qemu) quit 317 318 319Testing: -drive if=floppy,file=TEST_DIR/t.qcow2 -drive if=floppy,file=TEST_DIR/t.qcow2.2,index=1 320 321 dev: isa-fdc, id "" 322 iobase = 1008 (0x3f0) 323 irq = 6 (0x6) 324 dma = 2 (0x2) 325 driveA = "" 326 driveB = "" 327 fdtypeA = "auto" 328 fdtypeB = "auto" 329 fallback = "288" 330 isa irq 6 331 bus: floppy-bus.0 332 type floppy-bus 333 dev: floppy, id "" 334 unit = 1 (0x1) 335 drive = "floppy1" 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) 341 write-cache = "auto" 342 share-rw = false 343 drive-type = "144" 344 dev: floppy, id "" 345 unit = 0 (0x0) 346 drive = "floppy0" 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) 352 write-cache = "auto" 353 share-rw = false 354 drive-type = "144" 355floppy0 (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 359 360floppy1 (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 364 365ide1-cd0: [not inserted] 366 Attached to: /machine/unattached/device[N] 367 Removable device: not locked, tray closed 368 369sd0: [not inserted] 370 Removable device: not locked, tray closed 371(qemu) quit 372 373 374 375=== Using -drive if=none and -global === 376 377Testing: -drive if=none,file=TEST_DIR/t.qcow2 -global isa-fdc.driveA=none0 378QEMU_PROG: warning: warning: property isa-fdc.driveA is deprecated 379Use -device floppy,unit=0,drive=... instead. 380 381 dev: isa-fdc, id "" 382 iobase = 1008 (0x3f0) 383 irq = 6 (0x6) 384 dma = 2 (0x2) 385 driveA = "" 386 driveB = "" 387 fdtypeA = "auto" 388 fdtypeB = "auto" 389 fallback = "288" 390 isa irq 6 391 bus: floppy-bus.0 392 type floppy-bus 393 dev: floppy, id "" 394 unit = 0 (0x0) 395 drive = "none0" 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) 401 write-cache = "auto" 402 share-rw = false 403 drive-type = "144" 404none0 (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 408 409ide1-cd0: [not inserted] 410 Attached to: /machine/unattached/device[N] 411 Removable device: not locked, tray closed 412 413sd0: [not inserted] 414 Removable device: not locked, tray closed 415(qemu) quit 416 417 418Testing: -drive if=none,file=TEST_DIR/t.qcow2 -global isa-fdc.driveB=none0 419QEMU_PROG: warning: warning: property isa-fdc.driveB is deprecated 420Use -device floppy,unit=1,drive=... instead. 421 422 dev: isa-fdc, id "" 423 iobase = 1008 (0x3f0) 424 irq = 6 (0x6) 425 dma = 2 (0x2) 426 driveA = "" 427 driveB = "" 428 fdtypeA = "auto" 429 fdtypeB = "auto" 430 fallback = "288" 431 isa irq 6 432 bus: floppy-bus.0 433 type floppy-bus 434 dev: floppy, id "" 435 unit = 1 (0x1) 436 drive = "none0" 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) 442 write-cache = "auto" 443 share-rw = false 444 drive-type = "144" 445none0 (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 449 450ide1-cd0: [not inserted] 451 Attached to: /machine/unattached/device[N] 452 Removable device: not locked, tray closed 453 454sd0: [not inserted] 455 Removable device: not locked, tray closed 456(qemu) quit 457 458 459Testing: -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 460QEMU_PROG: warning: warning: property isa-fdc.driveA is deprecated 461Use -device floppy,unit=0,drive=... instead. 462QEMU_PROG: warning: warning: property isa-fdc.driveB is deprecated 463Use -device floppy,unit=1,drive=... instead. 464 465 dev: isa-fdc, id "" 466 iobase = 1008 (0x3f0) 467 irq = 6 (0x6) 468 dma = 2 (0x2) 469 driveA = "" 470 driveB = "" 471 fdtypeA = "auto" 472 fdtypeB = "auto" 473 fallback = "288" 474 isa irq 6 475 bus: floppy-bus.0 476 type floppy-bus 477 dev: floppy, id "" 478 unit = 1 (0x1) 479 drive = "none1" 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) 485 write-cache = "auto" 486 share-rw = false 487 drive-type = "144" 488 dev: floppy, id "" 489 unit = 0 (0x0) 490 drive = "none0" 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" 499none0 (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 503 504none1 (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 508 509ide1-cd0: [not inserted] 510 Attached to: /machine/unattached/device[N] 511 Removable device: not locked, tray closed 512 513sd0: [not inserted] 514 Removable device: not locked, tray closed 515(qemu) quit 516 517 518 519=== Using -drive if=none and -device === 520 521Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0 522 523 dev: isa-fdc, id "" 524 iobase = 1008 (0x3f0) 525 irq = 6 (0x6) 526 dma = 2 (0x2) 527 driveA = "" 528 driveB = "" 529 fdtypeA = "auto" 530 fdtypeB = "auto" 531 fallback = "288" 532 isa irq 6 533 bus: floppy-bus.0 534 type floppy-bus 535 dev: floppy, id "" 536 unit = 0 (0x0) 537 drive = "none0" 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) 543 write-cache = "auto" 544 share-rw = false 545 drive-type = "144" 546none0 (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 550 551ide1-cd0: [not inserted] 552 Attached to: /machine/unattached/device[N] 553 Removable device: not locked, tray closed 554 555sd0: [not inserted] 556 Removable device: not locked, tray closed 557(qemu) quit 558 559 560Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,unit=1 561 562 dev: isa-fdc, id "" 563 iobase = 1008 (0x3f0) 564 irq = 6 (0x6) 565 dma = 2 (0x2) 566 driveA = "" 567 driveB = "" 568 fdtypeA = "auto" 569 fdtypeB = "auto" 570 fallback = "288" 571 isa irq 6 572 bus: floppy-bus.0 573 type floppy-bus 574 dev: floppy, id "" 575 unit = 1 (0x1) 576 drive = "none0" 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) 582 write-cache = "auto" 583 share-rw = false 584 drive-type = "144" 585none0 (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 589 590ide1-cd0: [not inserted] 591 Attached to: /machine/unattached/device[N] 592 Removable device: not locked, tray closed 593 594sd0: [not inserted] 595 Removable device: not locked, tray closed 596(qemu) quit 597 598 599Testing: -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 600 601 dev: isa-fdc, id "" 602 iobase = 1008 (0x3f0) 603 irq = 6 (0x6) 604 dma = 2 (0x2) 605 driveA = "" 606 driveB = "" 607 fdtypeA = "auto" 608 fdtypeB = "auto" 609 fallback = "288" 610 isa irq 6 611 bus: floppy-bus.0 612 type floppy-bus 613 dev: floppy, id "" 614 unit = 1 (0x1) 615 drive = "none1" 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) 621 write-cache = "auto" 622 share-rw = false 623 drive-type = "144" 624 dev: floppy, id "" 625 unit = 0 (0x0) 626 drive = "none0" 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) 632 write-cache = "auto" 633 share-rw = false 634 drive-type = "144" 635none0 (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 639 640none1 (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 644 645ide1-cd0: [not inserted] 646 Attached to: /machine/unattached/device[N] 647 Removable device: not locked, tray closed 648 649sd0: [not inserted] 650 Removable device: not locked, tray closed 651(qemu) quit 652 653 654 655=== Mixing -fdX and -global === 656 657Testing: -fda TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -global isa-fdc.driveB=none0 658QEMU_PROG: warning: warning: property isa-fdc.driveB is deprecated 659Use -device floppy,unit=1,drive=... instead. 660 661 dev: isa-fdc, id "" 662 iobase = 1008 (0x3f0) 663 irq = 6 (0x6) 664 dma = 2 (0x2) 665 driveA = "" 666 driveB = "" 667 fdtypeA = "auto" 668 fdtypeB = "auto" 669 fallback = "288" 670 isa irq 6 671 bus: floppy-bus.0 672 type floppy-bus 673 dev: floppy, id "" 674 unit = 0 (0x0) 675 drive = "floppy0" 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) 681 write-cache = "auto" 682 share-rw = false 683 drive-type = "144" 684 dev: floppy, id "" 685 unit = 1 (0x1) 686 drive = "none0" 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) 692 write-cache = "auto" 693 share-rw = false 694 drive-type = "144" 695floppy0 (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 699 700none0 (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 704 705ide1-cd0: [not inserted] 706 Attached to: /machine/unattached/device[N] 707 Removable device: not locked, tray closed 708 709sd0: [not inserted] 710 Removable device: not locked, tray closed 711(qemu) quit 712 713 714Testing: -fdb TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -global isa-fdc.driveA=none0 715QEMU_PROG: warning: warning: property isa-fdc.driveA is deprecated 716Use -device floppy,unit=0,drive=... instead. 717 718 dev: isa-fdc, id "" 719 iobase = 1008 (0x3f0) 720 irq = 6 (0x6) 721 dma = 2 (0x2) 722 driveA = "" 723 driveB = "" 724 fdtypeA = "auto" 725 fdtypeB = "auto" 726 fallback = "288" 727 isa irq 6 728 bus: floppy-bus.0 729 type floppy-bus 730 dev: floppy, id "" 731 unit = 1 (0x1) 732 drive = "floppy1" 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) 738 write-cache = "auto" 739 share-rw = false 740 drive-type = "144" 741 dev: floppy, id "" 742 unit = 0 (0x0) 743 drive = "none0" 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) 749 write-cache = "auto" 750 share-rw = false 751 drive-type = "144" 752floppy1 (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 756 757none0 (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 761 762ide1-cd0: [not inserted] 763 Attached to: /machine/unattached/device[N] 764 Removable device: not locked, tray closed 765 766sd0: [not inserted] 767 Removable device: not locked, tray closed 768(qemu) quit 769 770 771Testing: -fda TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -global isa-fdc.driveA=none0 772QEMU_PROG: warning: warning: property isa-fdc.driveA is deprecated 773Use -device floppy,unit=0,drive=... instead. 774QEMU_PROG: Floppy unit 0 is in use 775 776Testing: -fdb TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -global isa-fdc.driveB=none0 777QEMU_PROG: warning: warning: property isa-fdc.driveB is deprecated 778Use -device floppy,unit=1,drive=... instead. 779QEMU_PROG: Floppy unit 1 is in use 780 781Testing: -fda TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -global floppy.drive=none0 782QEMU_PROG: -global floppy.drive=... conflicts with drive=floppy0 783 784 785=== Mixing -fdX and -device === 786 787Testing: -fda TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0 788 789 dev: isa-fdc, id "" 790 iobase = 1008 (0x3f0) 791 irq = 6 (0x6) 792 dma = 2 (0x2) 793 driveA = "" 794 driveB = "" 795 fdtypeA = "auto" 796 fdtypeB = "auto" 797 fallback = "288" 798 isa irq 6 799 bus: floppy-bus.0 800 type floppy-bus 801 dev: floppy, id "" 802 unit = 1 (0x1) 803 drive = "none0" 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) 809 write-cache = "auto" 810 share-rw = false 811 drive-type = "144" 812 dev: floppy, id "" 813 unit = 0 (0x0) 814 drive = "floppy0" 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) 820 write-cache = "auto" 821 share-rw = false 822 drive-type = "144" 823floppy0 (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 827 828none0 (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 832 833ide1-cd0: [not inserted] 834 Attached to: /machine/unattached/device[N] 835 Removable device: not locked, tray closed 836 837sd0: [not inserted] 838 Removable device: not locked, tray closed 839(qemu) quit 840 841 842Testing: -fda TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0,unit=1 843 844 dev: isa-fdc, id "" 845 iobase = 1008 (0x3f0) 846 irq = 6 (0x6) 847 dma = 2 (0x2) 848 driveA = "" 849 driveB = "" 850 fdtypeA = "auto" 851 fdtypeB = "auto" 852 fallback = "288" 853 isa irq 6 854 bus: floppy-bus.0 855 type floppy-bus 856 dev: floppy, id "" 857 unit = 1 (0x1) 858 drive = "none0" 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) 864 write-cache = "auto" 865 share-rw = false 866 drive-type = "144" 867 dev: floppy, id "" 868 unit = 0 (0x0) 869 drive = "floppy0" 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) 875 write-cache = "auto" 876 share-rw = false 877 drive-type = "144" 878floppy0 (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 882 883none0 (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 887 888ide1-cd0: [not inserted] 889 Attached to: /machine/unattached/device[N] 890 Removable device: not locked, tray closed 891 892sd0: [not inserted] 893 Removable device: not locked, tray closed 894(qemu) quit 895 896 897Testing: -fdb TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0 898 899 dev: isa-fdc, id "" 900 iobase = 1008 (0x3f0) 901 irq = 6 (0x6) 902 dma = 2 (0x2) 903 driveA = "" 904 driveB = "" 905 fdtypeA = "auto" 906 fdtypeB = "auto" 907 fallback = "288" 908 isa irq 6 909 bus: floppy-bus.0 910 type floppy-bus 911 dev: floppy, id "" 912 unit = 0 (0x0) 913 drive = "none0" 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) 919 write-cache = "auto" 920 share-rw = false 921 drive-type = "144" 922 dev: floppy, id "" 923 unit = 1 (0x1) 924 drive = "floppy1" 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) 930 write-cache = "auto" 931 share-rw = false 932 drive-type = "144" 933floppy1 (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 937 938none0 (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 942 943ide1-cd0: [not inserted] 944 Attached to: /machine/unattached/device[N] 945 Removable device: not locked, tray closed 946 947sd0: [not inserted] 948 Removable device: not locked, tray closed 949(qemu) quit 950 951 952Testing: -fdb TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0,unit=0 953 954 dev: isa-fdc, id "" 955 iobase = 1008 (0x3f0) 956 irq = 6 (0x6) 957 dma = 2 (0x2) 958 driveA = "" 959 driveB = "" 960 fdtypeA = "auto" 961 fdtypeB = "auto" 962 fallback = "288" 963 isa irq 6 964 bus: floppy-bus.0 965 type floppy-bus 966 dev: floppy, id "" 967 unit = 0 (0x0) 968 drive = "none0" 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) 974 write-cache = "auto" 975 share-rw = false 976 drive-type = "144" 977 dev: floppy, id "" 978 unit = 1 (0x1) 979 drive = "floppy1" 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) 985 write-cache = "auto" 986 share-rw = false 987 drive-type = "144" 988floppy1 (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 992 993none0 (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 997 998ide1-cd0: [not inserted] 999 Attached to: /machine/unattached/device[N] 1000 Removable device: not locked, tray closed 1001 1002sd0: [not inserted] 1003 Removable device: not locked, tray closed 1004(qemu) quit 1005 1006 1007Testing: -fda TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0,unit=0 1008QEMU_PROG: -device floppy,drive=none0,unit=0: Floppy unit 0 is in use 1009 1010Testing: -fdb TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0,unit=1 1011QEMU_PROG: -device floppy,drive=none0,unit=1: Floppy unit 1 is in use 1012 1013 1014=== Mixing -drive and -device === 1015 1016Testing: -drive if=floppy,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0 1017 1018 dev: isa-fdc, id "" 1019 iobase = 1008 (0x3f0) 1020 irq = 6 (0x6) 1021 dma = 2 (0x2) 1022 driveA = "" 1023 driveB = "" 1024 fdtypeA = "auto" 1025 fdtypeB = "auto" 1026 fallback = "288" 1027 isa irq 6 1028 bus: floppy-bus.0 1029 type floppy-bus 1030 dev: floppy, id "" 1031 unit = 1 (0x1) 1032 drive = "none0" 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" 1039 share-rw = false 1040 drive-type = "144" 1041 dev: floppy, id "" 1042 unit = 0 (0x0) 1043 drive = "floppy0" 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" 1050 share-rw = false 1051 drive-type = "144" 1052floppy0 (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 1056 1057none0 (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 1061 1062ide1-cd0: [not inserted] 1063 Attached to: /machine/unattached/device[N] 1064 Removable device: not locked, tray closed 1065 1066sd0: [not inserted] 1067 Removable device: not locked, tray closed 1068(qemu) quit 1069 1070 1071Testing: -drive if=floppy,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0,unit=1 1072 1073 dev: isa-fdc, id "" 1074 iobase = 1008 (0x3f0) 1075 irq = 6 (0x6) 1076 dma = 2 (0x2) 1077 driveA = "" 1078 driveB = "" 1079 fdtypeA = "auto" 1080 fdtypeB = "auto" 1081 fallback = "288" 1082 isa irq 6 1083 bus: floppy-bus.0 1084 type floppy-bus 1085 dev: floppy, id "" 1086 unit = 1 (0x1) 1087 drive = "none0" 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" 1094 share-rw = false 1095 drive-type = "144" 1096 dev: floppy, id "" 1097 unit = 0 (0x0) 1098 drive = "floppy0" 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" 1105 share-rw = false 1106 drive-type = "144" 1107floppy0 (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 1111 1112none0 (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 1116 1117ide1-cd0: [not inserted] 1118 Attached to: /machine/unattached/device[N] 1119 Removable device: not locked, tray closed 1120 1121sd0: [not inserted] 1122 Removable device: not locked, tray closed 1123(qemu) quit 1124 1125 1126Testing: -drive if=floppy,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0,unit=0 1127QEMU_PROG: -device floppy,drive=none0,unit=0: Floppy unit 0 is in use 1128 1129 1130=== Mixing -global and -device === 1131 1132Testing: -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 1133QEMU_PROG: warning: warning: property isa-fdc.driveA is deprecated 1134Use -device floppy,unit=0,drive=... instead. 1135 1136 dev: isa-fdc, id "" 1137 iobase = 1008 (0x3f0) 1138 irq = 6 (0x6) 1139 dma = 2 (0x2) 1140 driveA = "" 1141 driveB = "" 1142 fdtypeA = "auto" 1143 fdtypeB = "auto" 1144 fallback = "288" 1145 isa irq 6 1146 bus: floppy-bus.0 1147 type floppy-bus 1148 dev: floppy, id "" 1149 unit = 1 (0x1) 1150 drive = "none1" 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" 1157 share-rw = false 1158 drive-type = "144" 1159 dev: floppy, id "" 1160 unit = 0 (0x0) 1161 drive = "none0" 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" 1168 share-rw = false 1169 drive-type = "144" 1170none0 (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 1174 1175none1 (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 1179 1180ide1-cd0: [not inserted] 1181 Attached to: /machine/unattached/device[N] 1182 Removable device: not locked, tray closed 1183 1184sd0: [not inserted] 1185 Removable device: not locked, tray closed 1186(qemu) quit 1187 1188 1189Testing: -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 1190QEMU_PROG: warning: warning: property isa-fdc.driveA is deprecated 1191Use -device floppy,unit=0,drive=... instead. 1192 1193 dev: isa-fdc, id "" 1194 iobase = 1008 (0x3f0) 1195 irq = 6 (0x6) 1196 dma = 2 (0x2) 1197 driveA = "" 1198 driveB = "" 1199 fdtypeA = "auto" 1200 fdtypeB = "auto" 1201 fallback = "288" 1202 isa irq 6 1203 bus: floppy-bus.0 1204 type floppy-bus 1205 dev: floppy, id "" 1206 unit = 1 (0x1) 1207 drive = "none1" 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" 1214 share-rw = false 1215 drive-type = "144" 1216 dev: floppy, id "" 1217 unit = 0 (0x0) 1218 drive = "none0" 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" 1225 share-rw = false 1226 drive-type = "144" 1227none0 (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 1231 1232none1 (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 1236 1237ide1-cd0: [not inserted] 1238 Attached to: /machine/unattached/device[N] 1239 Removable device: not locked, tray closed 1240 1241sd0: [not inserted] 1242 Removable device: not locked, tray closed 1243(qemu) quit 1244 1245 1246Testing: -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 1247QEMU_PROG: warning: warning: property isa-fdc.driveB is deprecated 1248Use -device floppy,unit=1,drive=... instead. 1249 1250 dev: isa-fdc, id "" 1251 iobase = 1008 (0x3f0) 1252 irq = 6 (0x6) 1253 dma = 2 (0x2) 1254 driveA = "" 1255 driveB = "" 1256 fdtypeA = "auto" 1257 fdtypeB = "auto" 1258 fallback = "288" 1259 isa irq 6 1260 bus: floppy-bus.0 1261 type floppy-bus 1262 dev: floppy, id "" 1263 unit = 0 (0x0) 1264 drive = "none1" 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" 1271 share-rw = false 1272 drive-type = "144" 1273 dev: floppy, id "" 1274 unit = 1 (0x1) 1275 drive = "none0" 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" 1282 share-rw = false 1283 drive-type = "144" 1284none0 (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 1288 1289none1 (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 1293 1294ide1-cd0: [not inserted] 1295 Attached to: /machine/unattached/device[N] 1296 Removable device: not locked, tray closed 1297 1298sd0: [not inserted] 1299 Removable device: not locked, tray closed 1300(qemu) quit 1301 1302 1303Testing: -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 1304QEMU_PROG: warning: warning: property isa-fdc.driveB is deprecated 1305Use -device floppy,unit=1,drive=... instead. 1306 1307 dev: isa-fdc, id "" 1308 iobase = 1008 (0x3f0) 1309 irq = 6 (0x6) 1310 dma = 2 (0x2) 1311 driveA = "" 1312 driveB = "" 1313 fdtypeA = "auto" 1314 fdtypeB = "auto" 1315 fallback = "288" 1316 isa irq 6 1317 bus: floppy-bus.0 1318 type floppy-bus 1319 dev: floppy, id "" 1320 unit = 0 (0x0) 1321 drive = "none1" 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" 1328 share-rw = false 1329 drive-type = "144" 1330 dev: floppy, id "" 1331 unit = 1 (0x1) 1332 drive = "none0" 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" 1339 share-rw = false 1340 drive-type = "144" 1341none0 (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 1345 1346none1 (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 1350 1351ide1-cd0: [not inserted] 1352 Attached to: /machine/unattached/device[N] 1353 Removable device: not locked, tray closed 1354 1355sd0: [not inserted] 1356 Removable device: not locked, tray closed 1357(qemu) quit 1358 1359 1360Testing: -drive if=none,file=TEST_DIR/t.qcow2 -global floppy.drive=none0 -device floppy,unit=0 1361 1362 dev: isa-fdc, id "" 1363 iobase = 1008 (0x3f0) 1364 irq = 6 (0x6) 1365 dma = 2 (0x2) 1366 driveA = "" 1367 driveB = "" 1368 fdtypeA = "auto" 1369 fdtypeB = "auto" 1370 fallback = "288" 1371 isa irq 6 1372 bus: floppy-bus.0 1373 type floppy-bus 1374 dev: floppy, id "" 1375 unit = 0 (0x0) 1376 drive = "none0" 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" 1383 share-rw = false 1384 drive-type = "144" 1385none0 (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 1389 1390ide1-cd0: [not inserted] 1391 Attached to: /machine/unattached/device[N] 1392 Removable device: not locked, tray closed 1393 1394sd0: [not inserted] 1395 Removable device: not locked, tray closed 1396(qemu) quit 1397 1398 1399Testing: -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 1400QEMU_PROG: warning: warning: property isa-fdc.driveA is deprecated 1401Use -device floppy,unit=0,drive=... instead. 1402QEMU_PROG: -device floppy,drive=none1,unit=0: Floppy unit 0 is in use 1403 1404Testing: -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 1405QEMU_PROG: warning: warning: property isa-fdc.driveB is deprecated 1406Use -device floppy,unit=1,drive=... instead. 1407QEMU_PROG: -device floppy,drive=none1,unit=1: Floppy unit 1 is in use 1408 1409Testing: -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 1410QEMU_PROG: -device floppy,drive=none1,unit=0: -global floppy.drive=... conflicts with drive=none1 1411 1412 1413=== Attempt to use drive twice === 1414 1415Testing: -drive if=none -device floppy,drive=none0 -device floppy -device floppy,drive=none0 1416QEMU_PROG: -device floppy,drive=none0: Drive 'none0' is already in use by another device 1417 1418Testing: -drive if=none -global floppy.drive=none0 -device floppy -device floppy 1419QEMU_PROG: -device floppy: can't apply global floppy.drive=none0: Drive 'none0' is already in use by another device 1420 1421Testing: -fda -device floppy,drive=floppy0 1422QEMU_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?) 1423 1424Testing: -fda -global floppy.drive=floppy0 1425QEMU_PROG: -global floppy.drive=... conflicts with drive=floppy0 1426 1427Testing: -device floppy,drive=floppy0 1428QEMU_PROG: -device floppy,drive=floppy0: Property 'floppy.drive' can't find value 'floppy0' 1429 1430 1431=== Too many floppy drives === 1432 1433Testing: -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 1434QEMU_PROG: warning: warning: property isa-fdc.driveB is deprecated 1435Use -device floppy,unit=1,drive=... instead. 1436QEMU_PROG: -device floppy,drive=none1: Can't create floppy unit 2, bus supports only 2 units 1437 1438 1439=== Creating an empty drive with anonymous BB === 1440 1441Testing: -device floppy 1442 1443 dev: isa-fdc, id "" 1444 iobase = 1008 (0x3f0) 1445 irq = 6 (0x6) 1446 dma = 2 (0x2) 1447 driveA = "" 1448 driveB = "" 1449 fdtypeA = "auto" 1450 fdtypeB = "auto" 1451 fallback = "288" 1452 isa irq 6 1453 bus: floppy-bus.0 1454 type floppy-bus 1455 dev: floppy, id "" 1456 unit = 0 (0x0) 1457 drive = "" 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" 1464 share-rw = false 1465 drive-type = "288" 1466 1467Testing: -device floppy,drive-type=120 1468 1469 dev: isa-fdc, id "" 1470 iobase = 1008 (0x3f0) 1471 irq = 6 (0x6) 1472 dma = 2 (0x2) 1473 driveA = "" 1474 driveB = "" 1475 fdtypeA = "auto" 1476 fdtypeB = "auto" 1477 fallback = "288" 1478 isa irq 6 1479 bus: floppy-bus.0 1480 type floppy-bus 1481 dev: floppy, id "" 1482 unit = 0 (0x0) 1483 drive = "" 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" 1490 share-rw = false 1491 drive-type = "120" 1492 1493Testing: -device floppy,drive-type=144 1494 1495 dev: isa-fdc, id "" 1496 iobase = 1008 (0x3f0) 1497 irq = 6 (0x6) 1498 dma = 2 (0x2) 1499 driveA = "" 1500 driveB = "" 1501 fdtypeA = "auto" 1502 fdtypeB = "auto" 1503 fallback = "288" 1504 isa irq 6 1505 bus: floppy-bus.0 1506 type floppy-bus 1507 dev: floppy, id "" 1508 unit = 0 (0x0) 1509 drive = "" 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" 1516 share-rw = false 1517 drive-type = "144" 1518 1519Testing: -device floppy,drive-type=288 1520 1521 dev: isa-fdc, id "" 1522 iobase = 1008 (0x3f0) 1523 irq = 6 (0x6) 1524 dma = 2 (0x2) 1525 driveA = "" 1526 driveB = "" 1527 fdtypeA = "auto" 1528 fdtypeB = "auto" 1529 fallback = "288" 1530 isa irq 6 1531 bus: floppy-bus.0 1532 type floppy-bus 1533 dev: floppy, id "" 1534 unit = 0 (0x0) 1535 drive = "" 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" 1542 share-rw = false 1543 drive-type = "288" 1544 1545 1546=== Try passing different drive size with image === 1547 1548Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,drive-type=120 1549 1550 dev: isa-fdc, id "" 1551 iobase = 1008 (0x3f0) 1552 irq = 6 (0x6) 1553 dma = 2 (0x2) 1554 driveA = "" 1555 driveB = "" 1556 fdtypeA = "auto" 1557 fdtypeB = "auto" 1558 fallback = "288" 1559 isa irq 6 1560 bus: floppy-bus.0 1561 type floppy-bus 1562 dev: floppy, id "" 1563 unit = 0 (0x0) 1564 drive = "none0" 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" 1571 share-rw = false 1572 drive-type = "120" 1573none0 (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 1577 1578ide1-cd0: [not inserted] 1579 Attached to: /machine/unattached/device[N] 1580 Removable device: not locked, tray closed 1581 1582sd0: [not inserted] 1583 Removable device: not locked, tray closed 1584(qemu) quit 1585 1586 1587Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,drive-type=288 1588 1589 dev: isa-fdc, id "" 1590 iobase = 1008 (0x3f0) 1591 irq = 6 (0x6) 1592 dma = 2 (0x2) 1593 driveA = "" 1594 driveB = "" 1595 fdtypeA = "auto" 1596 fdtypeB = "auto" 1597 fallback = "288" 1598 isa irq 6 1599 bus: floppy-bus.0 1600 type floppy-bus 1601 dev: floppy, id "" 1602 unit = 0 (0x0) 1603 drive = "none0" 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" 1610 share-rw = false 1611 drive-type = "288" 1612none0 (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 1616 1617ide1-cd0: [not inserted] 1618 Attached to: /machine/unattached/device[N] 1619 Removable device: not locked, tray closed 1620 1621sd0: [not inserted] 1622 Removable device: not locked, tray closed 1623(qemu) quit 1624 1625 1626 1627=== Try passing different block sizes === 1628 1629Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,logical_block_size=512 1630 1631 dev: isa-fdc, id "" 1632 iobase = 1008 (0x3f0) 1633 irq = 6 (0x6) 1634 dma = 2 (0x2) 1635 driveA = "" 1636 driveB = "" 1637 fdtypeA = "auto" 1638 fdtypeB = "auto" 1639 fallback = "288" 1640 isa irq 6 1641 bus: floppy-bus.0 1642 type floppy-bus 1643 dev: floppy, id "" 1644 unit = 0 (0x0) 1645 drive = "none0" 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" 1652 share-rw = false 1653 drive-type = "144" 1654none0 (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 1658 1659ide1-cd0: [not inserted] 1660 Attached to: /machine/unattached/device[N] 1661 Removable device: not locked, tray closed 1662 1663sd0: [not inserted] 1664 Removable device: not locked, tray closed 1665(qemu) quit 1666 1667 1668Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,physical_block_size=512 1669 1670 dev: isa-fdc, id "" 1671 iobase = 1008 (0x3f0) 1672 irq = 6 (0x6) 1673 dma = 2 (0x2) 1674 driveA = "" 1675 driveB = "" 1676 fdtypeA = "auto" 1677 fdtypeB = "auto" 1678 fallback = "288" 1679 isa irq 6 1680 bus: floppy-bus.0 1681 type floppy-bus 1682 dev: floppy, id "" 1683 unit = 0 (0x0) 1684 drive = "none0" 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" 1691 share-rw = false 1692 drive-type = "144" 1693none0 (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 1697 1698ide1-cd0: [not inserted] 1699 Attached to: /machine/unattached/device[N] 1700 Removable device: not locked, tray closed 1701 1702sd0: [not inserted] 1703 Removable device: not locked, tray closed 1704(qemu) quit 1705 1706 1707Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,logical_block_size=4096 1708QEMU_PROG: -device floppy,drive=none0,logical_block_size=4096: logical_block_size > physical_block_size not supported 1709 1710Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,physical_block_size=1024 1711QEMU_PROG: -device floppy,drive=none0,physical_block_size=1024: Physical and logical block size must be 512 for floppy 1712 1713 1714=== Writethrough caching === 1715 Cache mode: writeback 1716 Cache mode: writeback 1717 Cache mode: writethrough 1718*** done 1719