[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Only introduce domain to the store when we have store channel _and_ mfn.



# HG changeset patch
# User cl349@xxxxxxxxxxxxxxxxxxxx
# Node ID 92dda07a28f8724c39243986ca25666307205b02
# Parent  7d8ed9e538ff53f5345db7f5a870933db493ad12
Only introduce domain to the store when we have store channel _and_ mfn.
Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>

diff -r 7d8ed9e538ff -r 92dda07a28f8 tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py   Tue Aug 16 16:33:12 2005
+++ b/tools/python/xen/xend/XendDomainInfo.py   Tue Aug 16 16:34:04 2005
@@ -583,7 +583,7 @@
         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)

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.