
5 Apr
2013
5 Apr
'13
5:26 a.m.
On 04/03/2013 05:43 PM, Osier Yang wrote:
On 01/04/13 20:00, Han Cheng wrote:
Although virtio-scsi support SCSI PR, the device in host may do not support this. To avoid losing data, we only allow one scsi hostdev be passthrough to one guest.
How about one specify (managed='no|yes') for scsi hostdev?
"managed" is related to nodeDeviceDettach/nodeDeviceReAttach. For SCSI device, we can't do this. If we do this, the /dev/sg* is no more visible. As docs in 3/10: "user is responsible to make sure the device is not used by host". "managed" is ignored by us. Cheng