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/
Home Products Support Community News


[Xen-changelog] Fix setStoreChannel(None) - fixes cleanup on destroy.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Fix setStoreChannel(None) - fixes cleanup on destroy.
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 16 Sep 2005 19:00:11 +0000
Delivery-date: Fri, 16 Sep 2005 18:58:41 +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 cl349@xxxxxxxxxxxxxxxxxxxx
# Node ID aa8943e9b705907ce22dbd9679774bd04257eb8f
# Parent  0f851f965df9a3037949b3eeb60a01a4069ab624
Fix setStoreChannel(None) - fixes cleanup on destroy.
Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>

diff -r 0f851f965df9 -r aa8943e9b705 tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py   Fri Sep 16 09:16:24 2005
+++ b/tools/python/xen/xend/XendDomainInfo.py   Fri Sep 16 18:05:03 2005
@@ -343,7 +343,11 @@
         if self.store_channel and self.store_channel != channel:
         self.store_channel = channel
-        self.storeDom("store/port", channel.port1)
+        if channel:
+            port = channel.port1
+        else:
+            port = None
+        self.storeDom("store/port", None)
     def setConsoleRef(self, ref):
         self.console_mfn = ref

Xen-changelog mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Fix setStoreChannel(None) - fixes cleanup on destroy., Xen patchbot -unstable <=