1QA output created by 186 2Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 3 4=== Empty drives === 5 6Testing: -device floppy 7QEMU X.Y.Z monitor - type 'help' for more information 8(qemu) info block 9/machine/peripheral-anon/device[1]: [not inserted] 10 Attached to: PATH 11 Removable device: not locked, tray closed 12(qemu) quit 13 14Testing: -device floppy,id=qdev_id 15QEMU X.Y.Z monitor - type 'help' for more information 16(qemu) info block 17qdev_id: [not inserted] 18 Attached to: qdev_id 19 Removable device: not locked, tray closed 20(qemu) quit 21 22Testing: -device ide-cd 23QEMU X.Y.Z monitor - type 'help' for more information 24(qemu) info block 25/machine/peripheral-anon/device[1]: [not inserted] 26 Attached to: PATH 27 Removable device: not locked, tray closed 28(qemu) quit 29 30Testing: -device ide-cd,id=qdev_id 31QEMU X.Y.Z monitor - type 'help' for more information 32(qemu) info block 33qdev_id: [not inserted] 34 Attached to: qdev_id 35 Removable device: not locked, tray closed 36(qemu) quit 37 38Testing: -device scsi-cd 39QEMU X.Y.Z monitor - type 'help' for more information 40(qemu) info block 41/machine/peripheral-anon/device[1]: [not inserted] 42 Attached to: PATH 43 Removable device: not locked, tray closed 44(qemu) quit 45 46Testing: -device scsi-cd,id=qdev_id 47QEMU X.Y.Z monitor - type 'help' for more information 48(qemu) info block 49qdev_id: [not inserted] 50 Attached to: qdev_id 51 Removable device: not locked, tray closed 52(qemu) quit 53 54 55=== -blockdev/-device=<node-name> === 56 57Testing: -blockdev driver=null-co,read-zeroes=on,node-name=null -device ide-hd,drive=null 58QEMU X.Y.Z monitor - type 'help' for more information 59(qemu) info block 60null: json:{"read-zeroes": true, "driver": "null-co"} (null-co) 61 Attached to: PATH 62 Cache mode: writeback 63(qemu) quit 64 65Testing: -blockdev driver=null-co,read-zeroes=on,node-name=null -device ide-hd,drive=null,id=qdev_id 66QEMU X.Y.Z monitor - type 'help' for more information 67(qemu) info block 68null: json:{"read-zeroes": true, "driver": "null-co"} (null-co) 69 Attached to: qdev_id 70 Cache mode: writeback 71(qemu) quit 72 73Testing: -blockdev driver=null-co,read-zeroes=on,node-name=null -device scsi-hd,drive=null 74QEMU X.Y.Z monitor - type 'help' for more information 75(qemu) info block 76null: json:{"read-zeroes": true, "driver": "null-co"} (null-co) 77 Attached to: PATH 78 Cache mode: writeback 79(qemu) quit 80 81Testing: -blockdev driver=null-co,read-zeroes=on,node-name=null -device scsi-hd,drive=null,id=qdev_id 82QEMU X.Y.Z monitor - type 'help' for more information 83(qemu) info block 84null: json:{"read-zeroes": true, "driver": "null-co"} (null-co) 85 Attached to: qdev_id 86 Cache mode: writeback 87(qemu) quit 88 89Testing: -blockdev driver=null-co,read-zeroes=on,node-name=null -device virtio-blk-pci,drive=null 90QEMU X.Y.Z monitor - type 'help' for more information 91(qemu) info block 92null: json:{"read-zeroes": true, "driver": "null-co"} (null-co) 93 Attached to: PATH 94 Cache mode: writeback 95(qemu) quit 96 97Testing: -blockdev driver=null-co,read-zeroes=on,node-name=null -device virtio-blk-pci,drive=null,id=qdev_id 98QEMU X.Y.Z monitor - type 'help' for more information 99(qemu) info block 100null: json:{"read-zeroes": true, "driver": "null-co"} (null-co) 101 Attached to: PATH 102 Cache mode: writeback 103(qemu) quit 104 105Testing: -blockdev driver=null-co,read-zeroes=on,node-name=null -device floppy,drive=null 106QEMU X.Y.Z monitor - type 'help' for more information 107(qemu) info block 108null: json:{"read-zeroes": true, "driver": "null-co"} (null-co) 109 Attached to: PATH 110 Removable device: not locked, tray closed 111 Cache mode: writeback 112(qemu) quit 113 114Testing: -blockdev driver=null-co,read-zeroes=on,node-name=null -device floppy,drive=null,id=qdev_id 115QEMU X.Y.Z monitor - type 'help' for more information 116(qemu) info block 117null: json:{"read-zeroes": true, "driver": "null-co"} (null-co) 118 Attached to: qdev_id 119 Removable device: not locked, tray closed 120 Cache mode: writeback 121(qemu) quit 122 123Testing: -blockdev driver=null-co,read-zeroes=on,node-name=null -device ide-cd,drive=null 124QEMU X.Y.Z monitor - type 'help' for more information 125(qemu) info block 126null: json:{"read-zeroes": true, "driver": "null-co"} (null-co) 127 Attached to: PATH 128 Removable device: not locked, tray closed 129 Cache mode: writeback 130(qemu) quit 131 132Testing: -blockdev driver=null-co,read-zeroes=on,node-name=null -device ide-cd,drive=null,id=qdev_id 133QEMU X.Y.Z monitor - type 'help' for more information 134(qemu) info block 135null: json:{"read-zeroes": true, "driver": "null-co"} (null-co) 136 Attached to: qdev_id 137 Removable device: not locked, tray closed 138 Cache mode: writeback 139(qemu) quit 140 141Testing: -blockdev driver=null-co,read-zeroes=on,node-name=null -device scsi-cd,drive=null 142QEMU X.Y.Z monitor - type 'help' for more information 143(qemu) info block 144null: json:{"read-zeroes": true, "driver": "null-co"} (null-co) 145 Attached to: PATH 146 Removable device: not locked, tray closed 147 Cache mode: writeback 148(qemu) quit 149 150Testing: -blockdev driver=null-co,read-zeroes=on,node-name=null -device scsi-cd,drive=null,id=qdev_id 151QEMU X.Y.Z monitor - type 'help' for more information 152(qemu) info block 153null: json:{"read-zeroes": true, "driver": "null-co"} (null-co) 154 Attached to: qdev_id 155 Removable device: not locked, tray closed 156 Cache mode: writeback 157(qemu) quit 158 159 160=== -drive if=none/-device=<node-name> === 161 162Testing: -drive if=none,driver=null-co,read-zeroes=on,node-name=null -device ide-hd,drive=null,id=qdev_id 163QEMU X.Y.Z monitor - type 'help' for more information 164(qemu) info block 165none0 (null): json:{"read-zeroes": "on", "driver": "null-co"} (null-co) 166 Removable device: not locked, tray closed 167 Cache mode: writeback 168 169null: json:{"read-zeroes": "on", "driver": "null-co"} (null-co) 170 Attached to: qdev_id 171 Cache mode: writeback 172(qemu) quit 173 174Testing: -drive if=none,driver=null-co,read-zeroes=on,node-name=null -device scsi-hd,drive=null,id=qdev_id 175QEMU X.Y.Z monitor - type 'help' for more information 176(qemu) info block 177none0 (null): json:{"read-zeroes": "on", "driver": "null-co"} (null-co) 178 Removable device: not locked, tray closed 179 Cache mode: writeback 180 181null: json:{"read-zeroes": "on", "driver": "null-co"} (null-co) 182 Attached to: qdev_id 183 Cache mode: writeback 184(qemu) quit 185 186Testing: -drive if=none,driver=null-co,read-zeroes=on,node-name=null -device virtio-blk-pci,drive=null,id=qdev_id 187QEMU X.Y.Z monitor - type 'help' for more information 188(qemu) info block 189none0 (null): json:{"read-zeroes": "on", "driver": "null-co"} (null-co) 190 Removable device: not locked, tray closed 191 Cache mode: writeback 192 193null: json:{"read-zeroes": "on", "driver": "null-co"} (null-co) 194 Attached to: PATH 195 Cache mode: writeback 196(qemu) quit 197 198Testing: -drive if=none,driver=null-co,read-zeroes=on,node-name=null -device floppy,drive=null,id=qdev_id 199QEMU X.Y.Z monitor - type 'help' for more information 200(qemu) info block 201none0 (null): json:{"read-zeroes": "on", "driver": "null-co"} (null-co) 202 Removable device: not locked, tray closed 203 Cache mode: writeback 204 205null: json:{"read-zeroes": "on", "driver": "null-co"} (null-co) 206 Attached to: qdev_id 207 Removable device: not locked, tray closed 208 Cache mode: writeback 209(qemu) quit 210 211Testing: -drive if=none,driver=null-co,read-zeroes=on,node-name=null -device ide-cd,drive=null,id=qdev_id 212QEMU X.Y.Z monitor - type 'help' for more information 213(qemu) info block 214none0 (null): json:{"read-zeroes": "on", "driver": "null-co"} (null-co) 215 Removable device: not locked, tray closed 216 Cache mode: writeback 217 218null: json:{"read-zeroes": "on", "driver": "null-co"} (null-co) 219 Attached to: qdev_id 220 Removable device: not locked, tray closed 221 Cache mode: writeback 222(qemu) quit 223 224Testing: -drive if=none,driver=null-co,read-zeroes=on,node-name=null -device scsi-cd,drive=null,id=qdev_id 225QEMU X.Y.Z monitor - type 'help' for more information 226(qemu) info block 227none0 (null): json:{"read-zeroes": "on", "driver": "null-co"} (null-co) 228 Removable device: not locked, tray closed 229 Cache mode: writeback 230 231null: json:{"read-zeroes": "on", "driver": "null-co"} (null-co) 232 Attached to: qdev_id 233 Removable device: not locked, tray closed 234 Cache mode: writeback 235(qemu) quit 236 237 238=== -drive if=none/-device=<bb-name> (with medium) === 239 240Testing: -drive if=none,driver=null-co,read-zeroes=on,node-name=null -device ide-hd,drive=none0 241QEMU X.Y.Z monitor - type 'help' for more information 242(qemu) info block 243none0 (null): json:{"read-zeroes": "on", "driver": "null-co"} (null-co) 244 Attached to: PATH 245 Cache mode: writeback 246(qemu) quit 247 248Testing: -drive if=none,driver=null-co,read-zeroes=on,node-name=null -device ide-hd,drive=none0,id=qdev_id 249QEMU X.Y.Z monitor - type 'help' for more information 250(qemu) info block 251none0 (null): json:{"read-zeroes": "on", "driver": "null-co"} (null-co) 252 Attached to: qdev_id 253 Cache mode: writeback 254(qemu) quit 255 256Testing: -drive if=none,driver=null-co,read-zeroes=on,node-name=null -device scsi-hd,drive=none0 257QEMU X.Y.Z monitor - type 'help' for more information 258(qemu) info block 259none0 (null): json:{"read-zeroes": "on", "driver": "null-co"} (null-co) 260 Attached to: PATH 261 Cache mode: writeback 262(qemu) quit 263 264Testing: -drive if=none,driver=null-co,read-zeroes=on,node-name=null -device scsi-hd,drive=none0,id=qdev_id 265QEMU X.Y.Z monitor - type 'help' for more information 266(qemu) info block 267none0 (null): json:{"read-zeroes": "on", "driver": "null-co"} (null-co) 268 Attached to: qdev_id 269 Cache mode: writeback 270(qemu) quit 271 272Testing: -drive if=none,driver=null-co,read-zeroes=on,node-name=null -device virtio-blk-pci,drive=none0 273QEMU X.Y.Z monitor - type 'help' for more information 274(qemu) info block 275none0 (null): json:{"read-zeroes": "on", "driver": "null-co"} (null-co) 276 Attached to: PATH 277 Cache mode: writeback 278(qemu) quit 279 280Testing: -drive if=none,driver=null-co,read-zeroes=on,node-name=null -device virtio-blk-pci,drive=none0,id=qdev_id 281QEMU X.Y.Z monitor - type 'help' for more information 282(qemu) info block 283none0 (null): json:{"read-zeroes": "on", "driver": "null-co"} (null-co) 284 Attached to: PATH 285 Cache mode: writeback 286(qemu) quit 287 288Testing: -drive if=none,driver=null-co,read-zeroes=on,node-name=null -device floppy,drive=none0 289QEMU X.Y.Z monitor - type 'help' for more information 290(qemu) info block 291none0 (null): json:{"read-zeroes": "on", "driver": "null-co"} (null-co) 292 Attached to: PATH 293 Removable device: not locked, tray closed 294 Cache mode: writeback 295(qemu) quit 296 297Testing: -drive if=none,driver=null-co,read-zeroes=on,node-name=null -device floppy,drive=none0,id=qdev_id 298QEMU X.Y.Z monitor - type 'help' for more information 299(qemu) info block 300none0 (null): json:{"read-zeroes": "on", "driver": "null-co"} (null-co) 301 Attached to: qdev_id 302 Removable device: not locked, tray closed 303 Cache mode: writeback 304(qemu) quit 305 306Testing: -drive if=none,driver=null-co,read-zeroes=on,node-name=null -device ide-cd,drive=none0 307QEMU X.Y.Z monitor - type 'help' for more information 308(qemu) info block 309none0 (null): json:{"read-zeroes": "on", "driver": "null-co"} (null-co) 310 Attached to: PATH 311 Removable device: not locked, tray closed 312 Cache mode: writeback 313(qemu) quit 314 315Testing: -drive if=none,driver=null-co,read-zeroes=on,node-name=null -device ide-cd,drive=none0,id=qdev_id 316QEMU X.Y.Z monitor - type 'help' for more information 317(qemu) info block 318none0 (null): json:{"read-zeroes": "on", "driver": "null-co"} (null-co) 319 Attached to: qdev_id 320 Removable device: not locked, tray closed 321 Cache mode: writeback 322(qemu) quit 323 324Testing: -drive if=none,driver=null-co,read-zeroes=on,node-name=null -device scsi-cd,drive=none0 325QEMU X.Y.Z monitor - type 'help' for more information 326(qemu) info block 327none0 (null): json:{"read-zeroes": "on", "driver": "null-co"} (null-co) 328 Attached to: PATH 329 Removable device: not locked, tray closed 330 Cache mode: writeback 331(qemu) quit 332 333Testing: -drive if=none,driver=null-co,read-zeroes=on,node-name=null -device scsi-cd,drive=none0,id=qdev_id 334QEMU X.Y.Z monitor - type 'help' for more information 335(qemu) info block 336none0 (null): json:{"read-zeroes": "on", "driver": "null-co"} (null-co) 337 Attached to: qdev_id 338 Removable device: not locked, tray closed 339 Cache mode: writeback 340(qemu) quit 341 342 343=== -drive if=none/-device=<bb-name> (without medium) === 344 345Testing: -drive if=none 346QEMU X.Y.Z monitor - type 'help' for more information 347(qemu) info block 348none0: [not inserted] 349 Removable device: not locked, tray closed 350(qemu) quit 351 352Testing: -drive if=none -device floppy,drive=none0 353QEMU X.Y.Z monitor - type 'help' for more information 354(qemu) info block 355none0: [not inserted] 356 Attached to: PATH 357 Removable device: not locked, tray closed 358(qemu) quit 359 360Testing: -drive if=none -device floppy,drive=none0,id=qdev_id 361QEMU X.Y.Z monitor - type 'help' for more information 362(qemu) info block 363none0: [not inserted] 364 Attached to: qdev_id 365 Removable device: not locked, tray closed 366(qemu) quit 367 368Testing: -drive if=none -device ide-cd,drive=none0 369QEMU X.Y.Z monitor - type 'help' for more information 370(qemu) info block 371none0: [not inserted] 372 Attached to: PATH 373 Removable device: not locked, tray closed 374(qemu) quit 375 376Testing: -drive if=none -device ide-cd,drive=none0,id=qdev_id 377QEMU X.Y.Z monitor - type 'help' for more information 378(qemu) info block 379none0: [not inserted] 380 Attached to: qdev_id 381 Removable device: not locked, tray closed 382(qemu) quit 383 384Testing: -drive if=none -device scsi-cd,drive=none0 385QEMU X.Y.Z monitor - type 'help' for more information 386(qemu) info block 387none0: [not inserted] 388 Attached to: PATH 389 Removable device: not locked, tray closed 390(qemu) quit 391 392Testing: -drive if=none -device scsi-cd,drive=none0,id=qdev_id 393QEMU X.Y.Z monitor - type 'help' for more information 394(qemu) info block 395none0: [not inserted] 396 Attached to: qdev_id 397 Removable device: not locked, tray closed 398(qemu) quit 399 400 401=== -drive if=... === 402 403Testing: -drive if=floppy 404QEMU X.Y.Z monitor - type 'help' for more information 405(qemu) info block 406floppy0: [not inserted] 407 Attached to: PATH 408 Removable device: not locked, tray closed 409(qemu) quit 410 411Testing: -drive if=floppy,driver=null-co,read-zeroes=on 412QEMU X.Y.Z monitor - type 'help' for more information 413(qemu) info block 414floppy0 (NODE_NAME): json:{"read-zeroes": "on", "driver": "null-co"} (null-co) 415 Attached to: PATH 416 Removable device: not locked, tray closed 417 Cache mode: writeback 418(qemu) quit 419 420Testing: -drive if=ide,driver=null-co,read-zeroes=on 421QEMU X.Y.Z monitor - type 'help' for more information 422(qemu) info block 423ide0-hd0 (NODE_NAME): json:{"read-zeroes": "on", "driver": "null-co"} (null-co) 424 Attached to: PATH 425 Cache mode: writeback 426(qemu) quit 427 428Testing: -drive if=ide,media=cdrom 429QEMU X.Y.Z monitor - type 'help' for more information 430(qemu) info block 431ide0-cd0: [not inserted] 432 Attached to: PATH 433 Removable device: not locked, tray closed 434(qemu) quit 435 436Testing: -drive if=ide,driver=null-co,read-zeroes=on,media=cdrom 437QEMU X.Y.Z monitor - type 'help' for more information 438(qemu) info block 439ide0-cd0 (NODE_NAME): json:{"read-zeroes": "on", "driver": "null-co"} (null-co, read-only) 440 Attached to: PATH 441 Removable device: not locked, tray closed 442 Cache mode: writeback 443(qemu) quit 444 445Testing: -drive if=virtio,driver=null-co,read-zeroes=on 446QEMU X.Y.Z monitor - type 'help' for more information 447(qemu) info block 448virtio0 (NODE_NAME): json:{"read-zeroes": "on", "driver": "null-co"} (null-co) 449 Attached to: PATH 450 Cache mode: writeback 451(qemu) quit 452 453Testing: -drive if=pflash,driver=null-co,read-zeroes=on,size=1M 454QEMU X.Y.Z monitor - type 'help' for more information 455(qemu) info block 456pflash0 (NODE_NAME): json:{"read-zeroes": "on", "driver": "null-co", "size": "1M"} (null-co) 457 Attached to: PATH 458 Cache mode: writeback 459(qemu) quit 460 461*** done 462