WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] Explicitly delete xc instance, which will hopefully solv

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Explicitly delete xc instance, which will hopefully solve the intermittent
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 21 Oct 2005 18:54:33 +0000
Delivery-date: Fri, 21 Oct 2005 18:54:31 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Explicitly delete xc instance, which will hopefully solve the intermittent, Xen patchbot -unstable <=