Il 27/04/2013 03:49, Osier Yang ha scritto:
On 27/04/13 06:04, Paolo Bonzini wrote:
> Il 26/04/2013 22:15, Osier Yang ha scritto:
>> From: Han Cheng <hanc.fnst(a)cn.fujitsu.com>
>>
>> Although virtio-scsi supports SCSI PR, the device on host may do not
>> support it. To avoid losing data, we only allow one scsi hostdev to
>> be passthroughed to one live guest, Just like what we do for PCI
>> and USB devices.
>>
>> Signed-off-by: Han Cheng <hanc.fnst(a)cn.fujitsu.com>
>>
>> ---
>> v2.5 - v3:
>> * Small changes, mainly on errors & coding style
> I think this restriction should be limited to devices that do not have a
> <shareable/> element, similar to disks. I created BZ957292 for this.
Right, I should use PATCH 0/n in the cover letter to indicate there
are still patches left.. They are in hand, but not good tested. Will
send them later & took the bug.
By the way, is there other -drive property which is nice to have for
scsi-generic? Except the readonly.. (discard, serial, werror/rerror,
and cache, I don't see other useful properties for scsi-generic)?
discard/serial/cache are not supported. rerror and werror are but they
will be.
Paolo