On 07/09/2018 16:03, Eric Blake wrote: > On 09/07/2018 07:13 AM, Marc-André Lureau wrote: >> There are variants of qemu_create_pidfile() in qemu-pr-helper and >> qemu-ga. Let's have a common implementation in libqemuutil. >> > > Unrelated to this patch, but a question that this raises: should > 'qemu-nbd' also have a mode for creating a pid file, since it has --fork > for daemonizing the server process?
Yes, it's probably a good idea. --fork mode is used mostly with -c/-d, but why not. Paolo