mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
Fix setStoreChannel(None) - fixes cleanup on destroy.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
This commit is contained in:
1 parent
cac86eced4
commit
a3dd96110a
1 file changed
+5
-1
@@ -343,7 +343,11 @@ class XendDomainInfo:
|
||||
if self.store_channel and self.store_channel != channel:
|
||||
self.store_channel.close()
|
||||
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
|
||||
|
||||