Re: [Qemu-devel] [PATCH 1/3] util: add qemu_write_pidfile()

2018-09-03 Thread Daniel P . Berrangé
On Fri, Aug 31, 2018 at 04:53:12PM +0200, 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. > > The code is initially based from pr-helper write_pidfile(), with > various improvements and sugge

[Qemu-devel] [PATCH 1/3] util: add qemu_write_pidfile()

2018-08-31 Thread Marc-André Lureau
There are variants of qemu_create_pidfile() in qemu-pr-helper and qemu-ga. Let's have a common implementation in libqemuutil. The code is initially based from pr-helper write_pidfile(), with various improvements and suggestions from Daniel Berrangé: QEMU will leave the pidfile existing on disk