Re: [libvirt] [PATCH] Fix thread safety in LXC callback handling

2013-03-22 Thread Michal Privoznik
On 22.03.2013 13:11, Daniel P. Berrange wrote: > From: "Daniel P. Berrange" > > Some of the LXC callbacks did not lock the virDomainObjPtr > instance. This caused transient errors like > > error: Failed to start domain busy-mount > error: cannot rename file '/var/run/libvirt/lxc/busy-mount.xml.n

[libvirt] [PATCH] Fix thread safety in LXC callback handling

2013-03-22 Thread Daniel P. Berrange
From: "Daniel P. Berrange" Some of the LXC callbacks did not lock the virDomainObjPtr instance. This caused transient errors like error: Failed to start domain busy-mount error: cannot rename file '/var/run/libvirt/lxc/busy-mount.xml.new' as '/var/run/libvirt/lxc/busy-mount.xml': No such file o