scsi-block: Add share-rw option
commit07488549f884a658689370b9ef878dc50eced83e
authorFam Zheng <famz@redhat.com>
Tue, 5 Dec 2017 07:19:28 +0000 (5 15:19 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 21 Dec 2017 08:22:44 +0000 (21 09:22 +0100)
tree81223a8cdf30a8b92c9f68408b160c23007a3423
parent2ba60ec1751844fe75d32dd80ebb3d72480b4b17
scsi-block: Add share-rw option

Scsi-block doesn't use the DEFINE_BLOCK_PROPERTIES() macro so it didn't
gain the share-rw back when it was added to all other storage devices.
This option is meaningful here, and need to be used when attaching a
shared storage to guest.

Signed-off-by: Fam Zheng <famz@redhat.com>
Message-Id: <20171205071928.30242-1-famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/scsi/scsi-disk.c