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