qemu-block
[Top][All Lists]
Advanced

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

Re: [PATCH v2] qemu-storage-daemon: add --pidfile option


From: Kevin Wolf
Subject: Re: [PATCH v2] qemu-storage-daemon: add --pidfile option
Date: Tue, 2 Mar 2021 14:57:47 +0100

Am 02.03.2021 um 10:29 hat Stefan Hajnoczi geschrieben:
> Daemons often have a --pidfile option where the pid is written to a file
> so that scripts can stop the daemon by sending a signal.
> 
> The pid file also acts as a lock to prevent multiple instances of the
> daemon from launching for a given pid file.
> 
> QEMU, qemu-nbd, qemu-ga, virtiofsd, and qemu-pr-helper all support the
> --pidfile option. Add it to qemu-storage-daemon too.
> 
> Reported-by: Richard W.M. Jones <rjones@redhat.com>
> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>

I think we should also mention --pidfile in the --help output.

Kevin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]