Skip to content
  • Markus Armbruster's avatar
    7e465513
    hw: Default -drive to if=none instead of scsi when scsi cannot work · 7e465513
    Markus Armbruster authored
    
    
    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 <peter.maydell@linaro.org>
    Cc: "Edgar E. Iglesias" <edgar.iglesias@gmail.com>
    Cc: Alistair Francis <alistair.francis@xilinx.com>
    Cc: qemu-arm@nongnu.org
    Signed-off-by: default avatarMarkus Armbruster <armbru@redhat.com>
    Reviewed-by: default avatarThomas Huth <thuth@redhat.com>
    Reviewed-by: default avatarAlistair Francis <alistair.francis@xilinx.com>
    Message-Id: <1487153147-11530-5-git-send-email-armbru@redhat.com>
    7e465513
    hw: Default -drive to if=none instead of scsi when scsi cannot work
    Markus Armbruster authored
    
    
    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 <peter.maydell@linaro.org>
    Cc: "Edgar E. Iglesias" <edgar.iglesias@gmail.com>
    Cc: Alistair Francis <alistair.francis@xilinx.com>
    Cc: qemu-arm@nongnu.org
    Signed-off-by: default avatarMarkus Armbruster <armbru@redhat.com>
    Reviewed-by: default avatarThomas Huth <thuth@redhat.com>
    Reviewed-by: default avatarAlistair Francis <alistair.francis@xilinx.com>
    Message-Id: <1487153147-11530-5-git-send-email-armbru@redhat.com>
Loading