ia64/xen-unstable

changeset 2161:4af7ef741f16

bitkeeper revision 1.1159.14.3 (4118cbcbViBc-_SwC7TL33vEzHCY7Q)

Don't build the domain when restoring.
author mjw@wray-m-3.hpl.hp.com
date Tue Aug 10 13:21:15 2004 +0000 (2004-08-10)
parents ba6f62459745
children 920e29e2986d 92bb28b18ae7
files tools/python/xen/xend/XendDomainInfo.py
line diff
     1.1 --- a/tools/python/xen/xend/XendDomainInfo.py	Tue Aug 10 13:17:54 2004 +0000
     1.2 +++ b/tools/python/xen/xend/XendDomainInfo.py	Tue Aug 10 13:21:15 2004 +0000
     1.3 @@ -718,7 +718,7 @@ class XendDomainInfo:
     1.4      def build_domain(self, ostype, kernel, ramdisk, cmdline, vifs_n):
     1.5          """Build the domain boot image.
     1.6          """
     1.7 -        if self.recreate: return
     1.8 +        if self.recreate or self.restore: return
     1.9          if len(cmdline) >= 256:
    1.10              log.warning('kernel cmdline too long, domain %d', self.dom)
    1.11          dom = self.dom