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

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

 



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@xxxxxxxxxxxx  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/

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