Re: [libvirt] [PATCH 3/6] nodedev_udev: Enumerate scsi generic device

2013-06-18 Thread Osier Yang
On 07/06/13 04:38, John Ferlan wrote: On 06/03/2013 06:05 AM, Osier Yang wrote: Since scsi generic device doesn't have DEVTYPE property set, the only way to we have to get it's a scsi generic device is from the SUBSYSTEM property. I think you meant possessive case not the conjunction of it is,

Re: [libvirt] [PATCH 3/6] nodedev_udev: Enumerate scsi generic device

2013-06-06 Thread John Ferlan
On 06/03/2013 06:05 AM, Osier Yang wrote: Since scsi generic device doesn't have DEVTYPE property set, the only way to we have to get it's a scsi generic device is from the SUBSYSTEM property. I think you meant possessive case not the conjunction of it is, e.g. s/it's a/its/ and perhaps

[libvirt] [PATCH 3/6] nodedev_udev: Enumerate scsi generic device

2013-06-03 Thread Osier Yang
Since scsi generic device doesn't have DEVTYPE property set, the only way to we have to get it's a scsi generic device is from the SUBSYSTEM property. The XML of the scsi generic device will be like: device namescsi_generic_sg0/name