Re: [libvirt PATCH] udev: consider the device a CDROM when ID_CDROM=1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/06/2014 05:11 AM, Giuseppe Scrivano wrote:
> "Daniel P. Berrange" <berrange@xxxxxxxxxx> writes:
> 
>> On Wed, Apr 23, 2014 at 12:42:01PM +0200, Giuseppe Scrivano wrote:
>>> Some CDROM devices are reported by udev to have an ID_TYPE="generic"
>>> thus it is necessary to check if ID_CDROM is present.
>>>
>>> As a side effect, treating ID_TYPE="generic" as a missing ID_TYPE will
>>> enable checks for ID_DRIVE_FLASH_SD and ID_DRIVE_FLOPPY and the
>>> udevKludgeStorageType heuristic.
>>>
>>> Signed-off-by: Giuseppe Scrivano <gscrivan@xxxxxxxxxx>
>>> ---
>>>  src/node_device/node_device_udev.c | 11 +++++++++--
>>>  1 file changed, 9 insertions(+), 2 deletions(-)
>>
>> ACK
> 
> Thanks.
> 
> Can somebody please push the patch as I've no write access to the repo?

Done.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]