qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/4] cleanup -daemonize and pidfile creation a bit
@ 2014-10-30 15:07 Michael Tokarev
  2014-10-30 15:07 ` [Qemu-devel] [PATCH 1/4] os-posix: use global daemon_pipe instead of cryptic fds[1] Michael Tokarev
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: Michael Tokarev @ 2014-10-30 15:07 UTC (permalink / raw)
  To: qemu-trivial; +Cc: Gonglei, Michael Tokarev, qemu-devel, Markus Armbruster

The $subject theme is quite messy, with many things done in a cryptic
and twisty way without any need for that.  This trivial patch series
tries to clean up and improve it.  In particular, it aims to make
pidfile errors visible with -daemonize -- something which Gonglei
tried to fix in e5048d15ce6a and which we're revering because that
fix turned out to be incomplete and wrong.

The patches are simple but I split them into several to easy review.

Michael Tokarev (4):
  os-posix: use global daemon_pipe instead of cryptic fds[1]
  os-posix: replace goto again with a proper loop
  pidfile: stop making pidfile error a special case
  os-posix: reorder parent notification for -daemonize

 include/qemu-common.h |    1 -
 os-posix.c            |   62 ++++++++++++++++++-------------------------------
 os-win32.c            |    5 ----
 vl.c                  |    2 +-
 4 files changed, 23 insertions(+), 47 deletions(-)

-- 
1.7.10.4

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2014-10-31 15:45 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-30 15:07 [Qemu-devel] [PATCH 0/4] cleanup -daemonize and pidfile creation a bit Michael Tokarev
2014-10-30 15:07 ` [Qemu-devel] [PATCH 1/4] os-posix: use global daemon_pipe instead of cryptic fds[1] Michael Tokarev
2014-10-31  4:57   ` Gonglei
2014-10-30 15:07 ` [Qemu-devel] [PATCH 2/4] os-posix: replace goto again with a proper loop Michael Tokarev
2014-10-31  4:58   ` Gonglei
2014-10-30 15:07 ` [Qemu-devel] [PATCH 3/4] pidfile: stop making pidfile error a special case Michael Tokarev
2014-10-31  5:00   ` Gonglei
2014-10-31  7:16     ` Michael Tokarev
2014-10-31  7:33       ` Gonglei
2014-10-31  7:41         ` Michael Tokarev
2014-10-31  7:58           ` Gonglei
2014-10-31  8:02             ` Michael Tokarev
2014-10-31  8:10               ` Gonglei
2014-10-30 15:07 ` [Qemu-devel] [PATCH 4/4] os-posix: reorder parent notification for -daemonize Michael Tokarev
2014-10-31  5:02   ` Gonglei

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).