Re: [libvirt] [PATCH] udev: only report a warning if udev_enumerate_scan_devices fails

2019-02-14 Thread Marc Hartmayer
On Wed, Feb 13, 2019 at 03:56 PM +0100, John Ferlan wrote: > On 2/13/19 7:38 AM, Marc Hartmayer wrote: >> Even if an error is reported by `udev_enumerate_scan_devices`, >> e.g. because a driver of a device has an bug, we can still enumerate >> all other devices. Additionally the documentation of

Re: [libvirt] [PATCH] udev: only report a warning if udev_enumerate_scan_devices fails

2019-02-13 Thread John Ferlan
On 2/13/19 7:38 AM, Marc Hartmayer wrote: > Even if an error is reported by `udev_enumerate_scan_devices`, > e.g. because a driver of a device has an bug, we can still enumerate > all other devices. Additionally the documentation of > udev_enumerate_scan_devices says that on success an integer

[libvirt] [PATCH] udev: only report a warning if udev_enumerate_scan_devices fails

2019-02-13 Thread Marc Hartmayer
Even if an error is reported by `udev_enumerate_scan_devices`, e.g. because a driver of a device has an bug, we can still enumerate all other devices. Additionally the documentation of udev_enumerate_scan_devices says that on success an integer >= 0 is returned (see man