[libvirt] [PATCH v2 07/10] qemu: Basic management functions for scsi hostdev

Han Cheng hanc.fnst at cn.fujitsu.com
Fri Apr 5 05:26:31 UTC 2013



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




More information about the libvir-list mailing list