[libvirt] [PATCH 0/3] Speeding up the wait for session daemon

Martin Kletzander mkletzan at redhat.com
Thu Apr 18 10:30:53 UTC 2013

When the session daemon is spawned and ends with an error before the
spawning process notices, it becomes waiting for Godot (fortunately
with a timeout of about 20 seconds).  With this series, there is
pidfile created for the spawned daemon and the pid is being checked
for to make sure we are not wasting precious time.

Resolves:  https://bugzilla.redhat.com/show_bug.cgi?id=927369

Martin Kletzander (3):
  Add missing error reporting
  Move daemonPidFilePath into virutil.c
  Speed up waiting for the session daemon

 daemon/libvirtd.c        | 43 +++----------------------------------------
 src/libvirt_private.syms |  1 +
 src/rpc/virnetsocket.c   | 41 +++++++++++++++++++++++++++++++++++------
 src/util/virutil.c       | 45 ++++++++++++++++++++++++++++++++++++++++++++-
 src/util/virutil.h       |  4 ++++
 5 files changed, 87 insertions(+), 47 deletions(-)


More information about the libvir-list mailing list