• D
    Fix thread safety in LXC callback handling · d50cb2b1
    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 or directory
    
    as 2 threads tried to update the status file concurrently
    Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
    d50cb2b1
lxc_process.c 45.1 KB