Re: [Qemu-devel] [PATCH] scsi-generic: Add share-rw option

2017-12-22 Thread Paolo Bonzini
On 22/12/2017 02:54, Fam Zheng wrote: > On Wed, 12/20 11:06, Paolo Bonzini wrote: >> On 20/12/2017 10:51, Fam Zheng wrote: >>> On Tue, 12/05 23:15, Fam Zheng wrote: Add the property to the device model, then parse it by calling blkconf_apply_backend_options(). In addition to blk

Re: [Qemu-devel] [PATCH] scsi-generic: Add share-rw option

2017-12-21 Thread Fam Zheng
On Wed, 12/20 11:06, Paolo Bonzini wrote: > On 20/12/2017 10:51, Fam Zheng wrote: > > On Tue, 12/05 23:15, Fam Zheng wrote: > >> 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 han

Re: [Qemu-devel] [PATCH] scsi-generic: Add share-rw option

2017-12-20 Thread Paolo Bonzini
On 20/12/2017 10:51, Fam Zheng wrote: > On Tue, 12/05 23:15, Fam Zheng wrote: >> 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

Re: [Qemu-devel] [PATCH] scsi-generic: Add share-rw option

2017-12-20 Thread Fam Zheng
On Tue, 12/05 23:15, Fam Zheng wrote: > 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 a

[Qemu-devel] [PATCH] scsi-generic: Add share-rw option

2017-12-05 Thread Fam Zheng
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 s