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

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



On Wed, Aug 10, 2011 at 16:37:28 +0100, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange redhat com>
> 
> 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


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