]> Git Repo - qemu.git/commit
hw: Default -drive to if=none instead of scsi when scsi cannot work
authorMarkus Armbruster <[email protected]>
Wed, 15 Feb 2017 10:05:43 +0000 (11:05 +0100)
committerMarkus Armbruster <[email protected]>
Tue, 21 Feb 2017 12:10:53 +0000 (13:10 +0100)
commit7e465513c1c8a384003053eb8f8362039bbb7a2c
treef5a2a02dc78d013d3a9a64fa9bfbf5268fa6587f
parenta27fa28f039771574176a1efe0733b3ba3c7c47c
hw: Default -drive to if=none instead of scsi when scsi cannot work

Block backends defined with -drive if=scsi are meant to be picked up
by machine initialization code: a suitable frontend gets created and
wired up automatically.

if=scsi drives not picked up that way can still be used with -device
as if they had if=none, but that's unclean and best avoided.  Unused
ones produce an "Orphaned drive without device" warning.

A few machine types default to if=scsi, even though they don't
actually have a SCSI HBA.  This makes no sense.  Change their default
to if=none.  Affected machines:

* aarch64/arm: realview-pbx-a9 vexpress-a9 vexpress-a15 xilinx-zynq-a9

Cc: Peter Maydell <[email protected]>
Cc: "Edgar E. Iglesias" <[email protected]>
Cc: Alistair Francis <[email protected]>
Cc: [email protected]
Signed-off-by: Markus Armbruster <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Reviewed-by: Alistair Francis <[email protected]>
Message-Id: <1487153147[email protected]>
hw/arm/realview.c
hw/arm/vexpress.c
hw/arm/xilinx_zynq.c
This page took 0.026544 seconds and 4 git commands to generate.