direct-io.hg

changeset 7462:b81723792274

Explicitly delete xc instance, which will hopefully solve the intermittent
failure to start up.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author emellor@leeni.uk.xensource.com
date Fri Oct 21 15:31:51 2005 +0100 (2005-10-21)
parents d8b35f72a587
children c4c0bded343a
files tools/python/xen/xend/server/SrvDaemon.py
line diff
     1.1 --- a/tools/python/xen/xend/server/SrvDaemon.py	Fri Oct 21 13:30:31 2005 +0100
     1.2 +++ b/tools/python/xen/xend/server/SrvDaemon.py	Fri Oct 21 15:31:51 2005 +0100
     1.3 @@ -271,8 +271,10 @@ class Daemon:
     1.4          try:
     1.5              log.info("Xend Daemon started")
     1.6  
     1.7 -            xinfo = xen.lowlevel.xc.new().xeninfo()
     1.8 +            xc = xen.lowlevel.xc.new()
     1.9 +            xinfo = xc.xeninfo()
    1.10              log.info("Xend changeset: %s.", xinfo['xen_changeset'])
    1.11 +            del xc
    1.12  
    1.13              event.listenEvent(self)
    1.14              relocate.listenRelocation()