Only introduce domain to the store when we have store channel _and_ mfn.

Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
This commit is contained in:
cl349@firebug.cl.cam.ac.uk committed 2005-08-16 16:34:04 +00:00
1 parent ed95a3d8d7
commit 81eb58aedb
1 file changed
+1 -1
+1 -1
View File
@@ -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)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.