172.out (40244B)
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 fdtypeA = "auto" 16 fdtypeB = "auto" 17 fallback = "288" 18 isa irq 6 19 bus: floppy-bus.0 20 type floppy-bus 21 dev: floppy, id "" 22 unit = 0 (0x0) 23 drive = "floppy0" 24 backend_defaults = "auto" 25 logical_block_size = 512 (512 B) 26 physical_block_size = 512 (512 B) 27 min_io_size = 0 (0 B) 28 opt_io_size = 0 (0 B) 29 discard_granularity = 4294967295 (4 GiB) 30 write-cache = "auto" 31 share-rw = false 32 drive-type = "288" 33 34 35=== Using -fda/-fdb options === 36 37Testing: -fda TEST_DIR/t.qcow2 38 39 dev: isa-fdc, id "" 40 iobase = 1008 (0x3f0) 41 irq = 6 (0x6) 42 dma = 2 (0x2) 43 fdtypeA = "auto" 44 fdtypeB = "auto" 45 fallback = "288" 46 isa irq 6 47 bus: floppy-bus.0 48 type floppy-bus 49 dev: floppy, id "" 50 unit = 0 (0x0) 51 drive = "floppy0" 52 backend_defaults = "auto" 53 logical_block_size = 512 (512 B) 54 physical_block_size = 512 (512 B) 55 min_io_size = 0 (0 B) 56 opt_io_size = 0 (0 B) 57 discard_granularity = 4294967295 (4 GiB) 58 write-cache = "auto" 59 share-rw = false 60 drive-type = "144" 61floppy0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2) 62 Attached to: /machine/unattached/device[N] 63 Removable device: not locked, tray closed 64 Cache mode: writeback 65 66ide1-cd0: [not inserted] 67 Attached to: /machine/unattached/device[N] 68 Removable device: not locked, tray closed 69 70sd0: [not inserted] 71 Removable device: not locked, tray closed 72(qemu) quit 73 74 75Testing: -fdb TEST_DIR/t.qcow2 76 77 dev: isa-fdc, id "" 78 iobase = 1008 (0x3f0) 79 irq = 6 (0x6) 80 dma = 2 (0x2) 81 fdtypeA = "auto" 82 fdtypeB = "auto" 83 fallback = "288" 84 isa irq 6 85 bus: floppy-bus.0 86 type floppy-bus 87 dev: floppy, id "" 88 unit = 1 (0x1) 89 drive = "floppy1" 90 backend_defaults = "auto" 91 logical_block_size = 512 (512 B) 92 physical_block_size = 512 (512 B) 93 min_io_size = 0 (0 B) 94 opt_io_size = 0 (0 B) 95 discard_granularity = 4294967295 (4 GiB) 96 write-cache = "auto" 97 share-rw = false 98 drive-type = "144" 99 dev: floppy, id "" 100 unit = 0 (0x0) 101 drive = "floppy0" 102 backend_defaults = "auto" 103 logical_block_size = 512 (512 B) 104 physical_block_size = 512 (512 B) 105 min_io_size = 0 (0 B) 106 opt_io_size = 0 (0 B) 107 discard_granularity = 4294967295 (4 GiB) 108 write-cache = "auto" 109 share-rw = false 110 drive-type = "288" 111floppy1 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2) 112 Attached to: /machine/unattached/device[N] 113 Removable device: not locked, tray closed 114 Cache mode: writeback 115 116ide1-cd0: [not inserted] 117 Attached to: /machine/unattached/device[N] 118 Removable device: not locked, tray closed 119 120floppy0: [not inserted] 121 Attached to: /machine/unattached/device[N] 122 Removable device: not locked, tray closed 123 124sd0: [not inserted] 125 Removable device: not locked, tray closed 126(qemu) quit 127 128 129Testing: -fda TEST_DIR/t.qcow2 -fdb TEST_DIR/t.qcow2.2 130 131 dev: isa-fdc, id "" 132 iobase = 1008 (0x3f0) 133 irq = 6 (0x6) 134 dma = 2 (0x2) 135 fdtypeA = "auto" 136 fdtypeB = "auto" 137 fallback = "288" 138 isa irq 6 139 bus: floppy-bus.0 140 type floppy-bus 141 dev: floppy, id "" 142 unit = 1 (0x1) 143 drive = "floppy1" 144 backend_defaults = "auto" 145 logical_block_size = 512 (512 B) 146 physical_block_size = 512 (512 B) 147 min_io_size = 0 (0 B) 148 opt_io_size = 0 (0 B) 149 discard_granularity = 4294967295 (4 GiB) 150 write-cache = "auto" 151 share-rw = false 152 drive-type = "144" 153 dev: floppy, id "" 154 unit = 0 (0x0) 155 drive = "floppy0" 156 backend_defaults = "auto" 157 logical_block_size = 512 (512 B) 158 physical_block_size = 512 (512 B) 159 min_io_size = 0 (0 B) 160 opt_io_size = 0 (0 B) 161 discard_granularity = 4294967295 (4 GiB) 162 write-cache = "auto" 163 share-rw = false 164 drive-type = "144" 165floppy0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2) 166 Attached to: /machine/unattached/device[N] 167 Removable device: not locked, tray closed 168 Cache mode: writeback 169 170floppy1 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2) 171 Attached to: /machine/unattached/device[N] 172 Removable device: not locked, tray closed 173 Cache mode: writeback 174 175ide1-cd0: [not inserted] 176 Attached to: /machine/unattached/device[N] 177 Removable device: not locked, tray closed 178 179sd0: [not inserted] 180 Removable device: not locked, tray closed 181(qemu) quit 182 183 184Testing: -fdb 185 186 dev: isa-fdc, id "" 187 iobase = 1008 (0x3f0) 188 irq = 6 (0x6) 189 dma = 2 (0x2) 190 fdtypeA = "auto" 191 fdtypeB = "auto" 192 fallback = "288" 193 isa irq 6 194 bus: floppy-bus.0 195 type floppy-bus 196 dev: floppy, id "" 197 unit = 1 (0x1) 198 drive = "floppy1" 199 backend_defaults = "auto" 200 logical_block_size = 512 (512 B) 201 physical_block_size = 512 (512 B) 202 min_io_size = 0 (0 B) 203 opt_io_size = 0 (0 B) 204 discard_granularity = 4294967295 (4 GiB) 205 write-cache = "auto" 206 share-rw = false 207 drive-type = "288" 208 dev: floppy, id "" 209 unit = 0 (0x0) 210 drive = "floppy0" 211 backend_defaults = "auto" 212 logical_block_size = 512 (512 B) 213 physical_block_size = 512 (512 B) 214 min_io_size = 0 (0 B) 215 opt_io_size = 0 (0 B) 216 discard_granularity = 4294967295 (4 GiB) 217 write-cache = "auto" 218 share-rw = false 219 drive-type = "288" 220 221 222=== Using -drive options === 223 224Testing: -drive if=floppy,file=TEST_DIR/t.qcow2 225 226 dev: isa-fdc, id "" 227 iobase = 1008 (0x3f0) 228 irq = 6 (0x6) 229 dma = 2 (0x2) 230 fdtypeA = "auto" 231 fdtypeB = "auto" 232 fallback = "288" 233 isa irq 6 234 bus: floppy-bus.0 235 type floppy-bus 236 dev: floppy, id "" 237 unit = 0 (0x0) 238 drive = "floppy0" 239 backend_defaults = "auto" 240 logical_block_size = 512 (512 B) 241 physical_block_size = 512 (512 B) 242 min_io_size = 0 (0 B) 243 opt_io_size = 0 (0 B) 244 discard_granularity = 4294967295 (4 GiB) 245 write-cache = "auto" 246 share-rw = false 247 drive-type = "144" 248floppy0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2) 249 Attached to: /machine/unattached/device[N] 250 Removable device: not locked, tray closed 251 Cache mode: writeback 252 253ide1-cd0: [not inserted] 254 Attached to: /machine/unattached/device[N] 255 Removable device: not locked, tray closed 256 257sd0: [not inserted] 258 Removable device: not locked, tray closed 259(qemu) quit 260 261 262Testing: -drive if=floppy,file=TEST_DIR/t.qcow2,index=1 263 264 dev: isa-fdc, id "" 265 iobase = 1008 (0x3f0) 266 irq = 6 (0x6) 267 dma = 2 (0x2) 268 fdtypeA = "auto" 269 fdtypeB = "auto" 270 fallback = "288" 271 isa irq 6 272 bus: floppy-bus.0 273 type floppy-bus 274 dev: floppy, id "" 275 unit = 1 (0x1) 276 drive = "floppy1" 277 backend_defaults = "auto" 278 logical_block_size = 512 (512 B) 279 physical_block_size = 512 (512 B) 280 min_io_size = 0 (0 B) 281 opt_io_size = 0 (0 B) 282 discard_granularity = 4294967295 (4 GiB) 283 write-cache = "auto" 284 share-rw = false 285 drive-type = "144" 286 dev: floppy, id "" 287 unit = 0 (0x0) 288 drive = "floppy0" 289 backend_defaults = "auto" 290 logical_block_size = 512 (512 B) 291 physical_block_size = 512 (512 B) 292 min_io_size = 0 (0 B) 293 opt_io_size = 0 (0 B) 294 discard_granularity = 4294967295 (4 GiB) 295 write-cache = "auto" 296 share-rw = false 297 drive-type = "288" 298floppy1 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2) 299 Attached to: /machine/unattached/device[N] 300 Removable device: not locked, tray closed 301 Cache mode: writeback 302 303ide1-cd0: [not inserted] 304 Attached to: /machine/unattached/device[N] 305 Removable device: not locked, tray closed 306 307floppy0: [not inserted] 308 Attached to: /machine/unattached/device[N] 309 Removable device: not locked, tray closed 310 311sd0: [not inserted] 312 Removable device: not locked, tray closed 313(qemu) quit 314 315 316Testing: -drive if=floppy,file=TEST_DIR/t.qcow2 -drive if=floppy,file=TEST_DIR/t.qcow2.2,index=1 317 318 dev: isa-fdc, id "" 319 iobase = 1008 (0x3f0) 320 irq = 6 (0x6) 321 dma = 2 (0x2) 322 fdtypeA = "auto" 323 fdtypeB = "auto" 324 fallback = "288" 325 isa irq 6 326 bus: floppy-bus.0 327 type floppy-bus 328 dev: floppy, id "" 329 unit = 1 (0x1) 330 drive = "floppy1" 331 backend_defaults = "auto" 332 logical_block_size = 512 (512 B) 333 physical_block_size = 512 (512 B) 334 min_io_size = 0 (0 B) 335 opt_io_size = 0 (0 B) 336 discard_granularity = 4294967295 (4 GiB) 337 write-cache = "auto" 338 share-rw = false 339 drive-type = "144" 340 dev: floppy, id "" 341 unit = 0 (0x0) 342 drive = "floppy0" 343 backend_defaults = "auto" 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" 352floppy0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2) 353 Attached to: /machine/unattached/device[N] 354 Removable device: not locked, tray closed 355 Cache mode: writeback 356 357floppy1 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2) 358 Attached to: /machine/unattached/device[N] 359 Removable device: not locked, tray closed 360 Cache mode: writeback 361 362ide1-cd0: [not inserted] 363 Attached to: /machine/unattached/device[N] 364 Removable device: not locked, tray closed 365 366sd0: [not inserted] 367 Removable device: not locked, tray closed 368(qemu) quit 369 370 371 372=== Using -drive if=none and -device === 373 374Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0 375 376 dev: isa-fdc, id "" 377 iobase = 1008 (0x3f0) 378 irq = 6 (0x6) 379 dma = 2 (0x2) 380 fdtypeA = "auto" 381 fdtypeB = "auto" 382 fallback = "288" 383 isa irq 6 384 bus: floppy-bus.0 385 type floppy-bus 386 dev: floppy, id "" 387 unit = 0 (0x0) 388 drive = "none0" 389 backend_defaults = "auto" 390 logical_block_size = 512 (512 B) 391 physical_block_size = 512 (512 B) 392 min_io_size = 0 (0 B) 393 opt_io_size = 0 (0 B) 394 discard_granularity = 4294967295 (4 GiB) 395 write-cache = "auto" 396 share-rw = false 397 drive-type = "144" 398none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2) 399 Attached to: /machine/peripheral-anon/device[N] 400 Removable device: not locked, tray closed 401 Cache mode: writeback 402 403ide1-cd0: [not inserted] 404 Attached to: /machine/unattached/device[N] 405 Removable device: not locked, tray closed 406 407sd0: [not inserted] 408 Removable device: not locked, tray closed 409(qemu) quit 410 411 412Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,unit=1 413 414 dev: isa-fdc, id "" 415 iobase = 1008 (0x3f0) 416 irq = 6 (0x6) 417 dma = 2 (0x2) 418 fdtypeA = "auto" 419 fdtypeB = "auto" 420 fallback = "288" 421 isa irq 6 422 bus: floppy-bus.0 423 type floppy-bus 424 dev: floppy, id "" 425 unit = 1 (0x1) 426 drive = "none0" 427 backend_defaults = "auto" 428 logical_block_size = 512 (512 B) 429 physical_block_size = 512 (512 B) 430 min_io_size = 0 (0 B) 431 opt_io_size = 0 (0 B) 432 discard_granularity = 4294967295 (4 GiB) 433 write-cache = "auto" 434 share-rw = false 435 drive-type = "144" 436none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2) 437 Attached to: /machine/peripheral-anon/device[N] 438 Removable device: not locked, tray closed 439 Cache mode: writeback 440 441ide1-cd0: [not inserted] 442 Attached to: /machine/unattached/device[N] 443 Removable device: not locked, tray closed 444 445sd0: [not inserted] 446 Removable device: not locked, tray closed 447(qemu) quit 448 449 450Testing: -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 451 452 dev: isa-fdc, id "" 453 iobase = 1008 (0x3f0) 454 irq = 6 (0x6) 455 dma = 2 (0x2) 456 fdtypeA = "auto" 457 fdtypeB = "auto" 458 fallback = "288" 459 isa irq 6 460 bus: floppy-bus.0 461 type floppy-bus 462 dev: floppy, id "" 463 unit = 1 (0x1) 464 drive = "none1" 465 backend_defaults = "auto" 466 logical_block_size = 512 (512 B) 467 physical_block_size = 512 (512 B) 468 min_io_size = 0 (0 B) 469 opt_io_size = 0 (0 B) 470 discard_granularity = 4294967295 (4 GiB) 471 write-cache = "auto" 472 share-rw = false 473 drive-type = "144" 474 dev: floppy, id "" 475 unit = 0 (0x0) 476 drive = "none0" 477 backend_defaults = "auto" 478 logical_block_size = 512 (512 B) 479 physical_block_size = 512 (512 B) 480 min_io_size = 0 (0 B) 481 opt_io_size = 0 (0 B) 482 discard_granularity = 4294967295 (4 GiB) 483 write-cache = "auto" 484 share-rw = false 485 drive-type = "144" 486none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2) 487 Attached to: /machine/peripheral-anon/device[N] 488 Removable device: not locked, tray closed 489 Cache mode: writeback 490 491none1 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2) 492 Attached to: /machine/peripheral-anon/device[N] 493 Removable device: not locked, tray closed 494 Cache mode: writeback 495 496ide1-cd0: [not inserted] 497 Attached to: /machine/unattached/device[N] 498 Removable device: not locked, tray closed 499 500sd0: [not inserted] 501 Removable device: not locked, tray closed 502(qemu) quit 503 504 505 506=== Mixing -fdX and -global === 507 508Testing: -fda TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -global floppy.drive=none0 509QEMU_PROG: -global floppy.drive=... conflicts with drive=floppy0 510 511 512=== Mixing -fdX and -device === 513 514Testing: -fda TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0 515 516 dev: isa-fdc, id "" 517 iobase = 1008 (0x3f0) 518 irq = 6 (0x6) 519 dma = 2 (0x2) 520 fdtypeA = "auto" 521 fdtypeB = "auto" 522 fallback = "288" 523 isa irq 6 524 bus: floppy-bus.0 525 type floppy-bus 526 dev: floppy, id "" 527 unit = 1 (0x1) 528 drive = "none0" 529 backend_defaults = "auto" 530 logical_block_size = 512 (512 B) 531 physical_block_size = 512 (512 B) 532 min_io_size = 0 (0 B) 533 opt_io_size = 0 (0 B) 534 discard_granularity = 4294967295 (4 GiB) 535 write-cache = "auto" 536 share-rw = false 537 drive-type = "144" 538 dev: floppy, id "" 539 unit = 0 (0x0) 540 drive = "floppy0" 541 backend_defaults = "auto" 542 logical_block_size = 512 (512 B) 543 physical_block_size = 512 (512 B) 544 min_io_size = 0 (0 B) 545 opt_io_size = 0 (0 B) 546 discard_granularity = 4294967295 (4 GiB) 547 write-cache = "auto" 548 share-rw = false 549 drive-type = "144" 550floppy0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2) 551 Attached to: /machine/unattached/device[N] 552 Removable device: not locked, tray closed 553 Cache mode: writeback 554 555none0 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2) 556 Attached to: /machine/peripheral-anon/device[N] 557 Removable device: not locked, tray closed 558 Cache mode: writeback 559 560ide1-cd0: [not inserted] 561 Attached to: /machine/unattached/device[N] 562 Removable device: not locked, tray closed 563 564sd0: [not inserted] 565 Removable device: not locked, tray closed 566(qemu) quit 567 568 569Testing: -fda TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0,unit=1 570 571 dev: isa-fdc, id "" 572 iobase = 1008 (0x3f0) 573 irq = 6 (0x6) 574 dma = 2 (0x2) 575 fdtypeA = "auto" 576 fdtypeB = "auto" 577 fallback = "288" 578 isa irq 6 579 bus: floppy-bus.0 580 type floppy-bus 581 dev: floppy, id "" 582 unit = 1 (0x1) 583 drive = "none0" 584 backend_defaults = "auto" 585 logical_block_size = 512 (512 B) 586 physical_block_size = 512 (512 B) 587 min_io_size = 0 (0 B) 588 opt_io_size = 0 (0 B) 589 discard_granularity = 4294967295 (4 GiB) 590 write-cache = "auto" 591 share-rw = false 592 drive-type = "144" 593 dev: floppy, id "" 594 unit = 0 (0x0) 595 drive = "floppy0" 596 backend_defaults = "auto" 597 logical_block_size = 512 (512 B) 598 physical_block_size = 512 (512 B) 599 min_io_size = 0 (0 B) 600 opt_io_size = 0 (0 B) 601 discard_granularity = 4294967295 (4 GiB) 602 write-cache = "auto" 603 share-rw = false 604 drive-type = "144" 605floppy0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2) 606 Attached to: /machine/unattached/device[N] 607 Removable device: not locked, tray closed 608 Cache mode: writeback 609 610none0 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2) 611 Attached to: /machine/peripheral-anon/device[N] 612 Removable device: not locked, tray closed 613 Cache mode: writeback 614 615ide1-cd0: [not inserted] 616 Attached to: /machine/unattached/device[N] 617 Removable device: not locked, tray closed 618 619sd0: [not inserted] 620 Removable device: not locked, tray closed 621(qemu) quit 622 623 624Testing: -fdb TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0 625 626 dev: isa-fdc, id "" 627 iobase = 1008 (0x3f0) 628 irq = 6 (0x6) 629 dma = 2 (0x2) 630 fdtypeA = "auto" 631 fdtypeB = "auto" 632 fallback = "288" 633 isa irq 6 634 bus: floppy-bus.0 635 type floppy-bus 636 dev: floppy, id "" 637 unit = 0 (0x0) 638 drive = "none0" 639 backend_defaults = "auto" 640 logical_block_size = 512 (512 B) 641 physical_block_size = 512 (512 B) 642 min_io_size = 0 (0 B) 643 opt_io_size = 0 (0 B) 644 discard_granularity = 4294967295 (4 GiB) 645 write-cache = "auto" 646 share-rw = false 647 drive-type = "144" 648 dev: floppy, id "" 649 unit = 1 (0x1) 650 drive = "floppy1" 651 backend_defaults = "auto" 652 logical_block_size = 512 (512 B) 653 physical_block_size = 512 (512 B) 654 min_io_size = 0 (0 B) 655 opt_io_size = 0 (0 B) 656 discard_granularity = 4294967295 (4 GiB) 657 write-cache = "auto" 658 share-rw = false 659 drive-type = "144" 660floppy1 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2) 661 Attached to: /machine/unattached/device[N] 662 Removable device: not locked, tray closed 663 Cache mode: writeback 664 665none0 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2) 666 Attached to: /machine/peripheral-anon/device[N] 667 Removable device: not locked, tray closed 668 Cache mode: writeback 669 670ide1-cd0: [not inserted] 671 Attached to: /machine/unattached/device[N] 672 Removable device: not locked, tray closed 673 674sd0: [not inserted] 675 Removable device: not locked, tray closed 676(qemu) quit 677 678 679Testing: -fdb TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0,unit=0 680 681 dev: isa-fdc, id "" 682 iobase = 1008 (0x3f0) 683 irq = 6 (0x6) 684 dma = 2 (0x2) 685 fdtypeA = "auto" 686 fdtypeB = "auto" 687 fallback = "288" 688 isa irq 6 689 bus: floppy-bus.0 690 type floppy-bus 691 dev: floppy, id "" 692 unit = 0 (0x0) 693 drive = "none0" 694 backend_defaults = "auto" 695 logical_block_size = 512 (512 B) 696 physical_block_size = 512 (512 B) 697 min_io_size = 0 (0 B) 698 opt_io_size = 0 (0 B) 699 discard_granularity = 4294967295 (4 GiB) 700 write-cache = "auto" 701 share-rw = false 702 drive-type = "144" 703 dev: floppy, id "" 704 unit = 1 (0x1) 705 drive = "floppy1" 706 backend_defaults = "auto" 707 logical_block_size = 512 (512 B) 708 physical_block_size = 512 (512 B) 709 min_io_size = 0 (0 B) 710 opt_io_size = 0 (0 B) 711 discard_granularity = 4294967295 (4 GiB) 712 write-cache = "auto" 713 share-rw = false 714 drive-type = "144" 715floppy1 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2) 716 Attached to: /machine/unattached/device[N] 717 Removable device: not locked, tray closed 718 Cache mode: writeback 719 720none0 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2) 721 Attached to: /machine/peripheral-anon/device[N] 722 Removable device: not locked, tray closed 723 Cache mode: writeback 724 725ide1-cd0: [not inserted] 726 Attached to: /machine/unattached/device[N] 727 Removable device: not locked, tray closed 728 729sd0: [not inserted] 730 Removable device: not locked, tray closed 731(qemu) quit 732 733 734Testing: -fda TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0,unit=0 735QEMU_PROG: -device floppy,drive=none0,unit=0: Floppy unit 0 is in use 736 737Testing: -fdb TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0,unit=1 738QEMU_PROG: -device floppy,drive=none0,unit=1: Floppy unit 1 is in use 739 740 741=== Mixing -drive and -device === 742 743Testing: -drive if=floppy,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0 744 745 dev: isa-fdc, id "" 746 iobase = 1008 (0x3f0) 747 irq = 6 (0x6) 748 dma = 2 (0x2) 749 fdtypeA = "auto" 750 fdtypeB = "auto" 751 fallback = "288" 752 isa irq 6 753 bus: floppy-bus.0 754 type floppy-bus 755 dev: floppy, id "" 756 unit = 1 (0x1) 757 drive = "none0" 758 backend_defaults = "auto" 759 logical_block_size = 512 (512 B) 760 physical_block_size = 512 (512 B) 761 min_io_size = 0 (0 B) 762 opt_io_size = 0 (0 B) 763 discard_granularity = 4294967295 (4 GiB) 764 write-cache = "auto" 765 share-rw = false 766 drive-type = "144" 767 dev: floppy, id "" 768 unit = 0 (0x0) 769 drive = "floppy0" 770 backend_defaults = "auto" 771 logical_block_size = 512 (512 B) 772 physical_block_size = 512 (512 B) 773 min_io_size = 0 (0 B) 774 opt_io_size = 0 (0 B) 775 discard_granularity = 4294967295 (4 GiB) 776 write-cache = "auto" 777 share-rw = false 778 drive-type = "144" 779floppy0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2) 780 Attached to: /machine/unattached/device[N] 781 Removable device: not locked, tray closed 782 Cache mode: writeback 783 784none0 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2) 785 Attached to: /machine/peripheral-anon/device[N] 786 Removable device: not locked, tray closed 787 Cache mode: writeback 788 789ide1-cd0: [not inserted] 790 Attached to: /machine/unattached/device[N] 791 Removable device: not locked, tray closed 792 793sd0: [not inserted] 794 Removable device: not locked, tray closed 795(qemu) quit 796 797 798Testing: -drive if=floppy,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0,unit=1 799 800 dev: isa-fdc, id "" 801 iobase = 1008 (0x3f0) 802 irq = 6 (0x6) 803 dma = 2 (0x2) 804 fdtypeA = "auto" 805 fdtypeB = "auto" 806 fallback = "288" 807 isa irq 6 808 bus: floppy-bus.0 809 type floppy-bus 810 dev: floppy, id "" 811 unit = 1 (0x1) 812 drive = "none0" 813 backend_defaults = "auto" 814 logical_block_size = 512 (512 B) 815 physical_block_size = 512 (512 B) 816 min_io_size = 0 (0 B) 817 opt_io_size = 0 (0 B) 818 discard_granularity = 4294967295 (4 GiB) 819 write-cache = "auto" 820 share-rw = false 821 drive-type = "144" 822 dev: floppy, id "" 823 unit = 0 (0x0) 824 drive = "floppy0" 825 backend_defaults = "auto" 826 logical_block_size = 512 (512 B) 827 physical_block_size = 512 (512 B) 828 min_io_size = 0 (0 B) 829 opt_io_size = 0 (0 B) 830 discard_granularity = 4294967295 (4 GiB) 831 write-cache = "auto" 832 share-rw = false 833 drive-type = "144" 834floppy0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2) 835 Attached to: /machine/unattached/device[N] 836 Removable device: not locked, tray closed 837 Cache mode: writeback 838 839none0 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2) 840 Attached to: /machine/peripheral-anon/device[N] 841 Removable device: not locked, tray closed 842 Cache mode: writeback 843 844ide1-cd0: [not inserted] 845 Attached to: /machine/unattached/device[N] 846 Removable device: not locked, tray closed 847 848sd0: [not inserted] 849 Removable device: not locked, tray closed 850(qemu) quit 851 852 853Testing: -drive if=floppy,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy,drive=none0,unit=0 854QEMU_PROG: -device floppy,drive=none0,unit=0: Floppy unit 0 is in use 855 856 857=== Mixing -global and -device === 858 859Testing: -drive if=none,file=TEST_DIR/t.qcow2 -global floppy.drive=none0 -device floppy,unit=0 860 861 dev: isa-fdc, id "" 862 iobase = 1008 (0x3f0) 863 irq = 6 (0x6) 864 dma = 2 (0x2) 865 fdtypeA = "auto" 866 fdtypeB = "auto" 867 fallback = "288" 868 isa irq 6 869 bus: floppy-bus.0 870 type floppy-bus 871 dev: floppy, id "" 872 unit = 0 (0x0) 873 drive = "none0" 874 backend_defaults = "auto" 875 logical_block_size = 512 (512 B) 876 physical_block_size = 512 (512 B) 877 min_io_size = 0 (0 B) 878 opt_io_size = 0 (0 B) 879 discard_granularity = 4294967295 (4 GiB) 880 write-cache = "auto" 881 share-rw = false 882 drive-type = "144" 883none0 (NODE_NAME): TEST_DIR/t.qcow2 (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: -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 898QEMU_PROG: -device floppy,drive=none1,unit=0: -global floppy.drive=... conflicts with drive=none1 899 900 901=== Attempt to use drive twice === 902 903Testing: -drive if=none -device floppy,drive=none0 -device floppy -device floppy,drive=none0 904QEMU_PROG: -device floppy,drive=none0: Drive 'none0' is already in use by another device 905 906Testing: -drive if=none -global floppy.drive=none0 -device floppy -device floppy 907QEMU_PROG: -device floppy: can't apply global floppy.drive=none0: Drive 'none0' is already in use by another device 908 909Testing: -fda -device floppy,drive=floppy0 910QEMU_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?) 911 912Testing: -fda -global floppy.drive=floppy0 913QEMU_PROG: -global floppy.drive=... conflicts with drive=floppy0 914 915Testing: -device floppy,drive=floppy0 916QEMU_PROG: -device floppy,drive=floppy0: Property 'floppy.drive' can't find value 'floppy0' 917 918 919=== Too many floppy drives === 920 921Testing: -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 -device floppy,drive=none0 -device floppy,drive=none1 922QEMU_PROG: -device floppy,drive=none1: Can't create floppy unit 2, bus supports only 2 units 923 924 925=== Creating an empty drive with anonymous BB === 926 927Testing: -device floppy 928 929 dev: isa-fdc, id "" 930 iobase = 1008 (0x3f0) 931 irq = 6 (0x6) 932 dma = 2 (0x2) 933 fdtypeA = "auto" 934 fdtypeB = "auto" 935 fallback = "288" 936 isa irq 6 937 bus: floppy-bus.0 938 type floppy-bus 939 dev: floppy, id "" 940 unit = 0 (0x0) 941 drive = "" 942 backend_defaults = "auto" 943 logical_block_size = 512 (512 B) 944 physical_block_size = 512 (512 B) 945 min_io_size = 0 (0 B) 946 opt_io_size = 0 (0 B) 947 discard_granularity = 4294967295 (4 GiB) 948 write-cache = "auto" 949 share-rw = false 950 drive-type = "288" 951 952Testing: -device floppy,drive-type=120 953 954 dev: isa-fdc, id "" 955 iobase = 1008 (0x3f0) 956 irq = 6 (0x6) 957 dma = 2 (0x2) 958 fdtypeA = "auto" 959 fdtypeB = "auto" 960 fallback = "288" 961 isa irq 6 962 bus: floppy-bus.0 963 type floppy-bus 964 dev: floppy, id "" 965 unit = 0 (0x0) 966 drive = "" 967 backend_defaults = "auto" 968 logical_block_size = 512 (512 B) 969 physical_block_size = 512 (512 B) 970 min_io_size = 0 (0 B) 971 opt_io_size = 0 (0 B) 972 discard_granularity = 4294967295 (4 GiB) 973 write-cache = "auto" 974 share-rw = false 975 drive-type = "120" 976 977Testing: -device floppy,drive-type=144 978 979 dev: isa-fdc, id "" 980 iobase = 1008 (0x3f0) 981 irq = 6 (0x6) 982 dma = 2 (0x2) 983 fdtypeA = "auto" 984 fdtypeB = "auto" 985 fallback = "288" 986 isa irq 6 987 bus: floppy-bus.0 988 type floppy-bus 989 dev: floppy, id "" 990 unit = 0 (0x0) 991 drive = "" 992 backend_defaults = "auto" 993 logical_block_size = 512 (512 B) 994 physical_block_size = 512 (512 B) 995 min_io_size = 0 (0 B) 996 opt_io_size = 0 (0 B) 997 discard_granularity = 4294967295 (4 GiB) 998 write-cache = "auto" 999 share-rw = false 1000 drive-type = "144" 1001 1002Testing: -device floppy,drive-type=288 1003 1004 dev: isa-fdc, id "" 1005 iobase = 1008 (0x3f0) 1006 irq = 6 (0x6) 1007 dma = 2 (0x2) 1008 fdtypeA = "auto" 1009 fdtypeB = "auto" 1010 fallback = "288" 1011 isa irq 6 1012 bus: floppy-bus.0 1013 type floppy-bus 1014 dev: floppy, id "" 1015 unit = 0 (0x0) 1016 drive = "" 1017 backend_defaults = "auto" 1018 logical_block_size = 512 (512 B) 1019 physical_block_size = 512 (512 B) 1020 min_io_size = 0 (0 B) 1021 opt_io_size = 0 (0 B) 1022 discard_granularity = 4294967295 (4 GiB) 1023 write-cache = "auto" 1024 share-rw = false 1025 drive-type = "288" 1026 1027 1028=== Try passing different drive size with image === 1029 1030Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,drive-type=120 1031 1032 dev: isa-fdc, id "" 1033 iobase = 1008 (0x3f0) 1034 irq = 6 (0x6) 1035 dma = 2 (0x2) 1036 fdtypeA = "auto" 1037 fdtypeB = "auto" 1038 fallback = "288" 1039 isa irq 6 1040 bus: floppy-bus.0 1041 type floppy-bus 1042 dev: floppy, id "" 1043 unit = 0 (0x0) 1044 drive = "none0" 1045 backend_defaults = "auto" 1046 logical_block_size = 512 (512 B) 1047 physical_block_size = 512 (512 B) 1048 min_io_size = 0 (0 B) 1049 opt_io_size = 0 (0 B) 1050 discard_granularity = 4294967295 (4 GiB) 1051 write-cache = "auto" 1052 share-rw = false 1053 drive-type = "120" 1054none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2) 1055 Attached to: /machine/peripheral-anon/device[N] 1056 Removable device: not locked, tray closed 1057 Cache mode: writeback 1058 1059ide1-cd0: [not inserted] 1060 Attached to: /machine/unattached/device[N] 1061 Removable device: not locked, tray closed 1062 1063sd0: [not inserted] 1064 Removable device: not locked, tray closed 1065(qemu) quit 1066 1067 1068Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,drive-type=288 1069 1070 dev: isa-fdc, id "" 1071 iobase = 1008 (0x3f0) 1072 irq = 6 (0x6) 1073 dma = 2 (0x2) 1074 fdtypeA = "auto" 1075 fdtypeB = "auto" 1076 fallback = "288" 1077 isa irq 6 1078 bus: floppy-bus.0 1079 type floppy-bus 1080 dev: floppy, id "" 1081 unit = 0 (0x0) 1082 drive = "none0" 1083 backend_defaults = "auto" 1084 logical_block_size = 512 (512 B) 1085 physical_block_size = 512 (512 B) 1086 min_io_size = 0 (0 B) 1087 opt_io_size = 0 (0 B) 1088 discard_granularity = 4294967295 (4 GiB) 1089 write-cache = "auto" 1090 share-rw = false 1091 drive-type = "288" 1092none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2) 1093 Attached to: /machine/peripheral-anon/device[N] 1094 Removable device: not locked, tray closed 1095 Cache mode: writeback 1096 1097ide1-cd0: [not inserted] 1098 Attached to: /machine/unattached/device[N] 1099 Removable device: not locked, tray closed 1100 1101sd0: [not inserted] 1102 Removable device: not locked, tray closed 1103(qemu) quit 1104 1105 1106 1107=== Try passing different block sizes === 1108 1109Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,logical_block_size=512 1110 1111 dev: isa-fdc, id "" 1112 iobase = 1008 (0x3f0) 1113 irq = 6 (0x6) 1114 dma = 2 (0x2) 1115 fdtypeA = "auto" 1116 fdtypeB = "auto" 1117 fallback = "288" 1118 isa irq 6 1119 bus: floppy-bus.0 1120 type floppy-bus 1121 dev: floppy, id "" 1122 unit = 0 (0x0) 1123 drive = "none0" 1124 backend_defaults = "auto" 1125 logical_block_size = 512 (512 B) 1126 physical_block_size = 512 (512 B) 1127 min_io_size = 0 (0 B) 1128 opt_io_size = 0 (0 B) 1129 discard_granularity = 4294967295 (4 GiB) 1130 write-cache = "auto" 1131 share-rw = false 1132 drive-type = "144" 1133none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2) 1134 Attached to: /machine/peripheral-anon/device[N] 1135 Removable device: not locked, tray closed 1136 Cache mode: writeback 1137 1138ide1-cd0: [not inserted] 1139 Attached to: /machine/unattached/device[N] 1140 Removable device: not locked, tray closed 1141 1142sd0: [not inserted] 1143 Removable device: not locked, tray closed 1144(qemu) quit 1145 1146 1147Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,physical_block_size=512 1148 1149 dev: isa-fdc, id "" 1150 iobase = 1008 (0x3f0) 1151 irq = 6 (0x6) 1152 dma = 2 (0x2) 1153 fdtypeA = "auto" 1154 fdtypeB = "auto" 1155 fallback = "288" 1156 isa irq 6 1157 bus: floppy-bus.0 1158 type floppy-bus 1159 dev: floppy, id "" 1160 unit = 0 (0x0) 1161 drive = "none0" 1162 backend_defaults = "auto" 1163 logical_block_size = 512 (512 B) 1164 physical_block_size = 512 (512 B) 1165 min_io_size = 0 (0 B) 1166 opt_io_size = 0 (0 B) 1167 discard_granularity = 4294967295 (4 GiB) 1168 write-cache = "auto" 1169 share-rw = false 1170 drive-type = "144" 1171none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2) 1172 Attached to: /machine/peripheral-anon/device[N] 1173 Removable device: not locked, tray closed 1174 Cache mode: writeback 1175 1176ide1-cd0: [not inserted] 1177 Attached to: /machine/unattached/device[N] 1178 Removable device: not locked, tray closed 1179 1180sd0: [not inserted] 1181 Removable device: not locked, tray closed 1182(qemu) quit 1183 1184 1185Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,logical_block_size=4096 1186QEMU_PROG: -device floppy,drive=none0,logical_block_size=4096: logical_block_size > physical_block_size not supported 1187 1188Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,physical_block_size=1024 1189QEMU_PROG: -device floppy,drive=none0,physical_block_size=1024: Physical and logical block size must be 512 for floppy 1190 1191 1192=== Writethrough caching === 1193 Cache mode: writeback 1194 Cache mode: writeback 1195 Cache mode: writethrough 1196*** done