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(-)

--
1.8.1.5

--
libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to