[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Explicitly delete xc instance, which will hopefully solve the intermittent



# HG changeset patch
# User emellor@xxxxxxxxxxxxxxxxxxxxxx
# Node ID b817237922740a15c3f4a70fe6b5644f752aad2a
# Parent  d8b35f72a587a99f554632fe4022261c509e038e
Explicitly delete xc instance, which will hopefully solve the intermittent
failure to start up.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>

diff -r d8b35f72a587 -r b81723792274 tools/python/xen/xend/server/SrvDaemon.py
--- a/tools/python/xen/xend/server/SrvDaemon.py Fri Oct 21 12:30:31 2005
+++ b/tools/python/xen/xend/server/SrvDaemon.py Fri Oct 21 14:31:51 2005
@@ -271,8 +271,10 @@
         try:
             log.info("Xend Daemon started")
 
-            xinfo = xen.lowlevel.xc.new().xeninfo()
+            xc = xen.lowlevel.xc.new()
+            xinfo = xc.xeninfo()
             log.info("Xend changeset: %s.", xinfo['xen_changeset'])
+            del xc
 
             event.listenEvent(self)
             relocate.listenRelocation()

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.