qemu-patch-raspberry4/hw/mips
Thomas Huth 148b2ba114 hw/mips/jazz: Fix implicit creation of "-drive if=scsi" devices
The global hack for creating SCSI devices has recently been removed,
but this apparently broke SCSI devices on some boards that were not
ready for this change yet. For the pica61 machine you now get:

$ mips64-softmmu/qemu-system-mips64 -M pica61 -cdrom x.iso
qemu-system-mips64: -cdrom x.iso: machine type does not support if=scsi,bus=0,unit=2

Fix it by calling scsi_bus_legacy_handle_cmdline() after creating the
corresponding SCSI controller.

Fixes: 1454509726
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <1520414644-11535-1-git-send-email-thuth@redhat.com>
Reviewed-by: Hervé Poussineau <hpoussin@reactos.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2018-03-12 16:12:47 +01:00
..
addr.c mips: Add KVM T&E segment support for TCG 2017-08-02 22:18:06 +01:00
boston.c hw/mips/boston: Remove workaround for writes to ROM aborting 2017-12-21 09:30:32 +01:00
cps.c mips: malta/boston: replace cpu_model with cpu_type 2017-10-27 16:04:28 +02:00
gt64xxx_pci.c Replace all occurances of __FUNCTION__ with __func__ 2018-01-22 09:46:18 +01:00
Makefile.objs mips: move hw/mips/cputimer.c to target/mips/ 2017-09-21 13:24:34 +01:00
mips_fulong2e.c hw: Do not include "sysemu/block-backend.h" if it is not necessary 2018-03-12 16:12:46 +01:00
mips_int.c mips: use MIPSCPU instead of CPUMIPSState 2016-05-19 16:42:27 +02:00
mips_jazz.c hw/mips/jazz: Fix implicit creation of "-drive if=scsi" devices 2018-03-12 16:12:47 +01:00
mips_malta.c Include qapi/error.h exactly where needed 2018-02-09 13:50:17 +01:00
mips_mipssim.c hw/mips: Replace fprintf(stderr, "*\n" with error_report() 2018-02-06 18:29:26 +01:00
mips_r4k.c hw/mips: Replace fprintf(stderr, "*\n" with error_report() 2018-02-06 18:29:26 +01:00