qemu-e2k/hw/scsi
Fam Zheng 395b953959 usb-storage: Fix share-rw option parsing
Because usb-storage creates an internal scsi device, we should propagate
options. We already do so for bootindex etc, but failed to take care of
share-rw. Fix it in an apparent way: add a new parameter to
scsi_bus_legacy_add_drive and pass in s->conf.share_rw.

Cc: qemu-stable@nongnu.org
Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Darren Kenny <darren.kenny@oracle.com>
Message-id: 20180117005222.4781-1-famz@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2018-01-26 07:58:34 +01:00
..
esp-pci.c
esp.c
lsi53c895a.c
Makefile.objs
megasas.c
mfi.h
mpi.h
mptconfig.c
mptendian.c
mptsas.c
mptsas.h
scsi-bus.c usb-storage: Fix share-rw option parsing 2018-01-26 07:58:34 +01:00
scsi-disk.c
scsi-generic.c
spapr_vscsi.c
srp.h
trace-events
vhost-scsi-common.c
vhost-scsi.c
vhost-user-scsi.c
viosrp.h
virtio-scsi-dataplane.c
virtio-scsi.c
vmw_pvscsi.c
vmw_pvscsi.h