qemu-e2k/hw/scsi
Markus Armbruster fb8b660e17 hw/scsi: Concentrate -drive if=scsi auto-create in one place
The logic to create frontends for -drive if=scsi is in SCSI HBAs.  For
all other interface types, it's in machine initialization code.

A few machine types create the SCSI HBAs necessary for that.  That's
also not done for other interface types.

I'm going to deprecate these SCSI eccentricities.  In preparation for
that, create the frontends in main() instead of the SCSI HBAs, by
calling new function scsi_legacy_handle_cmdline() there.

Note that not all SCSI HBAs create frontends.  Take care not to change
that.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <1487161136-9018-2-git-send-email-armbru@redhat.com>
Acked-By: Paolo Bonzini <pbonzini@redhat.com>
2017-02-21 13:17:45 +01:00
..
Makefile.objs hw: Add support for LSI SAS1068 (mptsas) device 2016-02-09 15:45:26 +01:00
esp-pci.c hw/scsi: Concentrate -drive if=scsi auto-create in one place 2017-02-21 13:17:45 +01:00
esp.c hw/scsi: Concentrate -drive if=scsi auto-create in one place 2017-02-21 13:17:45 +01:00
lsi53c895a.c hw/scsi: Concentrate -drive if=scsi auto-create in one place 2017-02-21 13:17:45 +01:00
megasas.c hw/scsi: Concentrate -drive if=scsi auto-create in one place 2017-02-21 13:17:45 +01:00
mfi.h Clean up header guards that don't match their file name 2016-07-12 16:19:16 +02:00
mpi.h hw: Add support for LSI SAS1068 (mptsas) device 2016-02-09 15:45:26 +01:00
mptconfig.c scsi: mptconfig: fix misuse of MPTSAS_CONFIG_PACK 2016-09-13 19:08:46 +02:00
mptendian.c hw: Add support for LSI SAS1068 (mptsas) device 2016-02-09 15:45:26 +01:00
mptsas.c hw/scsi: Concentrate -drive if=scsi auto-create in one place 2017-02-21 13:17:45 +01:00
mptsas.h mptsas: really fix migration compatibility 2016-08-03 18:44:56 +02:00
scsi-bus.c hw/scsi: Concentrate -drive if=scsi auto-create in one place 2017-02-21 13:17:45 +01:00
scsi-disk.c scsi-disk: add 'fall through' comment to switch VERIFY cases 2017-01-24 23:26:53 +03:00
scsi-generic.c hw/scsi: Fix debug message of cdb structure in scsi-generic 2017-01-27 18:07:31 +01:00
spapr_vscsi.c hw/scsi: Concentrate -drive if=scsi auto-create in one place 2017-02-21 13:17:45 +01:00
srp.h spapr-vscsi: add task management 2013-09-12 08:46:21 +02:00
trace-events spapr_vscsi: fix build error introduced by f19661c8 2016-10-05 11:05:28 +11:00
vhost-scsi.c migration: disallow migrate_add_blocker during migration 2017-01-24 18:00:30 +00:00
viosrp.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
virtio-scsi-dataplane.c virtio: Report real progress in VQ aio poll handler 2017-02-17 21:52:30 +02:00
virtio-scsi.c hw/scsi: Concentrate -drive if=scsi auto-create in one place 2017-02-21 13:17:45 +01:00
vmw_pvscsi.c PCI/migration merge vmstate_pci_device and vmstate_pcie_device 2017-01-24 18:00:31 +00:00
vmw_pvscsi.h scsi: VMWare PVSCSI paravirtual device implementation 2013-04-19 10:44:17 +02:00