Re: [libvirt] [PATCH 2/2]: Call udevsettle in the appropriate places

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

 



Chris Lalancette wrote:
> Daniel P. Berrange wrote:
>> This seems rather overkill when you could just do
>>
>> #if defined(UDEVADM) || defined(UDEVSETTLE)
>> void virStorageBackendWaitForDevices(virConnectPtr conn)
>> {
>> #ifdef UDEVADM
>>     const char *const settleprog[] = { UDEVADM, "settle", NULL };
>> #else
>>     const char *const settleprog[] = { UDEVSETTLE, NULL };
>> #endif
>>     int exitstatus;
> 
> OK, updated patch attached that basically does the above, and adds the
> configure.in test.

Committed this after talking to DanB about it on IRC.

-- 
Chris Lalancette

--
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]