ia64/xen-unstable

changeset 4072:ee7313088070

bitkeeper revision 1.1159.258.38 (4230628bX3yukmWYtNDh925BckMoHQ)

Merge ssh://xenbk@gandalf.hpl.hp.com//var/bk/xen-2.0-testing.bk
into tetris.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
author iap10@tetris.cl.cam.ac.uk
date Thu Mar 10 15:06:51 2005 +0000 (2005-03-10)
parents 030bbae1c84f 8a0070a6f1b6
children 013c95ccecee
files tools/python/xen/xend/server/SrvDaemon.py
line diff
     1.1 --- a/tools/python/xen/xend/server/SrvDaemon.py	Thu Mar 10 14:53:08 2005 +0000
     1.2 +++ b/tools/python/xen/xend/server/SrvDaemon.py	Thu Mar 10 15:06:51 2005 +0000
     1.3 @@ -15,6 +15,7 @@ import pwd
     1.4  import re
     1.5  import StringIO
     1.6  import traceback
     1.7 +import time
     1.8  
     1.9  from twisted.internet import pollreactor
    1.10  pollreactor.install()
    1.11 @@ -516,8 +517,8 @@ class Daemon:
    1.12          self.install_child_reaper()
    1.13  
    1.14          if self.fork_pid(XEND_PID_FILE):
    1.15 -            #Parent
    1.16 -            pass
    1.17 +            #Parent. Sleep to give child time to start.
    1.18 +            time.sleep(1)
    1.19          else:
    1.20              # Child
    1.21              self.tracing(trace)