[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [libvirt] [PATCH 2/2]: Call udevsettle in the appropriate places
- From: Chris Lalancette <clalance redhat com>
- To: "Daniel P. Berrange" <berrange redhat com>
- Cc: libvir-list redhat com
- Subject: Re: [libvirt] [PATCH 2/2]: Call udevsettle in the appropriate places
- Date: Tue, 02 Dec 2008 13:42:07 +0100
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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]