On Mon, 20 Oct 2014 09:27:49 +0100
"Daniel P. Berrange" <berrange(a)redhat.com> wrote:
.....
You want CAP_SCSI for the actual devices.
Ok. But i have new question:
XML-description into docs contains:
...
<devices>
<hostdev mode='subsystem' type='scsi' sgio='filtered'
rawio='yes'>
<source>
<adapter name='scsi_host0'/>
<address type='scsi' bus='0' target='0'
unit='0'/>
</source>
....
</devices>
...
It contain the address of device with three attributes (bus,
target and unit). But SCSI addressing contain four attributes
(host, bus, target, lun) and in XML-description from
virNodeDeviceGetXMLDesc device capabilities contain this
parameters too. Same:
...
<capability type='scsi'>
<host>4</host>
<bus>0</bus>
<target>0</target>
<lun>0</lun>
<type>cdrom</type>
</capability>
...
How i can use this four parameters into XML-description of
SCSI HostDev for set device? Why in first case it have 3
attributes, but in second case it have 4 attributes?
--
Fl@sh