aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk>2005-08-16 16:34:04 +0000
committercl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk>2005-08-16 16:34:04 +0000
commit81eb58aedbaa090f3ffbbad047ad42e8c6647c3a (patch)
tree3ebe44a3de869e8b604051490ce78718a81c5b7d
parented95a3d8d74959f3d115fad3cf7c43477aa6f983 (diff)
downloadxen-81eb58aedbaa090f3ffbbad047ad42e8c6647c3a.tar.gz
xen-81eb58aedbaa090f3ffbbad047ad42e8c6647c3a.tar.bz2
xen-81eb58aedbaa090f3ffbbad047ad42e8c6647c3a.zip
Only introduce domain to the store when we have store channel _and_ mfn.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
-rw-r--r--tools/python/xen/xend/XendDomainInfo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/python/xen/xend/XendDomainInfo.py b/tools/python/xen/xend/XendDomainInfo.py
index f11c622981..7e0c07ab53 100644
--- a/tools/python/xen/xend/XendDomainInfo.py
+++ b/tools/python/xen/xend/XendDomainInfo.py
@@ -583,7 +583,7 @@ class XendDomainInfo:
self.create_channel()
self.image.createImage()
self.exportToDB()
- if self.store_channel:
+ if self.store_channel and self.store_mfn >= 0:
self.db.introduceDomain(self.id,
self.store_mfn,
self.store_channel)