ia64/xen-unstable

changeset 6210:92dda07a28f8

Only introduce domain to the store when we have store channel _and_ mfn.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
author cl349@firebug.cl.cam.ac.uk
date Tue Aug 16 16:34:04 2005 +0000 (2005-08-16)
parents 7d8ed9e538ff
children 24e881f81cea
files tools/python/xen/xend/XendDomainInfo.py
line diff
     1.1 --- a/tools/python/xen/xend/XendDomainInfo.py	Tue Aug 16 16:33:12 2005 +0000
     1.2 +++ b/tools/python/xen/xend/XendDomainInfo.py	Tue Aug 16 16:34:04 2005 +0000
     1.3 @@ -583,7 +583,7 @@ class XendDomainInfo:
     1.4          self.create_channel()
     1.5          self.image.createImage()
     1.6          self.exportToDB()
     1.7 -        if self.store_channel:
     1.8 +        if self.store_channel and self.store_mfn >= 0:
     1.9              self.db.introduceDomain(self.id,
    1.10                                      self.store_mfn,
    1.11                                      self.store_channel)