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

Marc-André Lureau posted 3 patches 7 years, 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20180907121319.8607-1-marcandre.lureau@redhat.com
Test docker-clang@ubuntu failed
Test checkpatch passed
include/qemu/osdep.h  |  3 +-
os-posix.c            | 24 --------------
os-win32.c            | 25 ---------------
qga/main.c            | 54 ++++++--------------------------
scsi/qemu-pr-helper.c | 40 +++---------------------
util/oslib-posix.c    | 73 +++++++++++++++++++++++++++++++++++++++++++
util/oslib-win32.c    | 27 ++++++++++++++++
vl.c                  | 18 +++++++++--
8 files changed, 132 insertions(+), 132 deletions(-)
[Qemu-devel] [PATCH v2 0/3] util: add qemu_write_pidfile()
Posted by Marc-André Lureau 7 years, 1 month ago
Hi,

Here are a few PID file related patches extracted from "[PATCH v4
00/29] vhost-user for input & GPU" series, with suggestions from
Daniel Berrangé.

thanks

v2:
- use an exit notifier (instead of atexit handler)
- add an r-b tag

Marc-André Lureau (3):
  util: add qemu_write_pidfile()
  util: use fcntl() for qemu_write_pidfile() locking
  Delete PID file on exit

 include/qemu/osdep.h  |  3 +-
 os-posix.c            | 24 --------------
 os-win32.c            | 25 ---------------
 qga/main.c            | 54 ++++++--------------------------
 scsi/qemu-pr-helper.c | 40 +++---------------------
 util/oslib-posix.c    | 73 +++++++++++++++++++++++++++++++++++++++++++
 util/oslib-win32.c    | 27 ++++++++++++++++
 vl.c                  | 18 +++++++++--
 8 files changed, 132 insertions(+), 132 deletions(-)

-- 
2.19.0.rc1