diff options
author | Fam Zheng <famz@redhat.com> | 2018-01-17 08:52:22 +0800 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2018-01-26 07:58:34 +0100 |
commit | 395b95395934785ca86baafd314d0c31b307d16d (patch) | |
tree | 3ca5f18622bbb84cd5d6323f29f3a5e26a6397e5 /tests/vmxnet3-test.c | |
parent | 99761176eeaf852537030124c846ddec1981d24f (diff) | |
download | qemu-395b95395934785ca86baafd314d0c31b307d16d.zip qemu-395b95395934785ca86baafd314d0c31b307d16d.tar.gz qemu-395b95395934785ca86baafd314d0c31b307d16d.tar.bz2 |
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>
Diffstat (limited to 'tests/vmxnet3-test.c')
0 files changed, 0 insertions, 0 deletions