[libvirt] [PATCH 4/6] nodedev_hal: Enumerate scsi generic device

Osier Yang jyang at redhat.com
Fri Jun 7 03:01:24 UTC 2013


On 07/06/13 04:38, John Ferlan wrote:
> On 06/03/2013 06:05 AM, Osier Yang wrote:
>> The xml outputed by HAL backend for scsi generic device:
>>
>> <device>
>>    <name>pci_8086_2922_scsi_host_scsi_device_lun0_scsi_generic</name>
>>    <path>/sys/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/scsi_generic/sg0</path>
>>    <parent>pci_8086_2922_scsi_host_scsi_device_lun0</parent>
>>    <capability type='scsi_generic'>
>>      <char>/dev/sg0</char>
>>    </capability>
>> </device>
>> ---
>>   src/node_device/node_device_hal.c | 9 +++++++++
>>   1 file changed, 9 insertions(+)
>>
> ACK,
>
> Although I must say I'm not familiar with whether adding new entries to
> the caps_tbl_entry requires anything more than what you did. Seems correct.
>
It's fine, I tested on old systems which have libhal, instead of the 
replacement
project udisks...

Osier




More information about the libvir-list mailing list