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

Re: [libvirt] PATCH: Fix thread safety with HAL driver restart



On Fri, May 29, 2009 at 02:36:40PM +0100, Daniel P. Berrange wrote:
> The restart method of the HAL implementation of node device is not 
> currently threadsafe, because it destroys and creates the entire
> driver, including its mutexes. This patch changes it to simply throw
> away all existing devices, and re-load them from dbus.

  Hum, there is a awful lot more initializations in
halDeviceMonitorStartup than in the replacement routine,
but they all seems to be about initializing HAL library itself.

 ACK,

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel veillard com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/


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