[libvirt] [PATCH] Include sysfs devices lacking a device symlink as node devices

Eric Blake eblake at redhat.com
Tue Mar 9 21:32:30 UTC 2010

On 03/09/2010 02:31 PM, Ed Swierk wrote:
> On Tue, Mar 9, 2010 at 10:55 AM, Eric Blake <eblake at redhat.com> wrote:
>> Where is udev_device_get_syspath declared?  I'm assuming it's generated,
>> since 'git grep' didn't find it.  The only concern I have is whether it
>> sanely reacts to a NULL argument, but since I couldn't find it, I'm not
>> sure.  If it gracefully returns NULL on a NULL argument, then...
> udev_device_get_syspath() comes from libudev:

Aha.  No wonder I didn't find it in libvirt.  Thanks for the clue-bat.

> const char *udev_device_get_syspath(struct udev_device *udev_device)
> {
>         if (udev_device == NULL)
>                 return NULL;

Good - my ACK stands.

Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 323 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100309/25dfa929/attachment-0001.sig>

More information about the libvir-list mailing list