summary refs log tree commit diff stats
path: root/scsi/utils.c
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2017-12-05 23:15:53 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2018-01-12 09:54:12 +0100
commitd9bcd6f7f23a13ea627d8edb85c0706525da0b75 (patch)
tree12873c9d5ad25c4e48f5e71bde8a37dfc7b974cc /scsi/utils.c
parent997eba28a3ed5400a80f754bf3a1c8044b75b9ff (diff)
downloadfocaccia-qemu-d9bcd6f7f23a13ea627d8edb85c0706525da0b75.tar.gz
focaccia-qemu-d9bcd6f7f23a13ea627d8edb85c0706525da0b75.zip
scsi-generic: Add share-rw option
Add the property to the device model, then parse it by calling
blkconf_apply_backend_options().

In addition to blk_set_perm(), the called function also handles error
options and wce. For error options we've already checked that the
default values are used, for wce we don't have the option either so it
is always the default (true). In other words there is no change of
behavior in these regards.

Signed-off-by: Fam Zheng <famz@redhat.com>
Message-Id: <20171205151553.7834-1-famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scsi/utils.c')
0 files changed, 0 insertions, 0 deletions