Re: [PATCH 5/5] Convert libvirtd to use crash-safe pidfile APIs

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

 



On Wed, Aug 10, 2011 at 16:37:28 +0100, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
> 
> Remove the current libvirtd pidfile handling code, in favour of
> calling out to the new APIs. This ensures libvirtd's pidfile
> handling is crashsafe
> 
> This also means that the non-root libvirtd instances (for handling
> qemu:///session URIs) can now safely use pidfiles without racing
> 
> * daemon/libvirtd.c: Switch to use virPidFileAcquire and
>   virPidFileRelease
> ---
>  daemon/libvirtd.c |   60 +++++++++-------------------------------------------
>  1 files changed, 11 insertions(+), 49 deletions(-)

ACK

Jirka

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