Re: [Qemu-devel] [Qemu-stable] [PATCH] usb-storage: Fix share-rw option parsing

2018-01-12 Thread Gerd Hoffmann
On Wed, Jan 03, 2018 at 10:13:50AM +0800, Fam Zheng wrote: > On Mon, 12/18 22:01, Fam Zheng wrote: > > 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

Re: [Qemu-devel] [Qemu-stable] [PATCH] usb-storage: Fix share-rw option parsing

2018-01-02 Thread Fam Zheng
On Mon, 12/18 22:01, Fam Zheng wrote: > 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.sh