mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
bitkeeper revision 1.1159.14.3 (4118cbcbViBc-_SwC7TL33vEzHCY7Q)
Don't build the domain when restoring.
This commit is contained in:
1 parent
4609d6a6f6
commit
46ef4b6ecd
1 file changed
+1
-1
@@ -718,7 +718,7 @@ class XendDomainInfo:
|
||||
def build_domain(self, ostype, kernel, ramdisk, cmdline, vifs_n):
|
||||
"""Build the domain boot image.
|
||||
"""
|
||||
if self.recreate: return
|
||||
if self.recreate or self.restore: return
|
||||
if len(cmdline) >= 256:
|
||||
log.warning('kernel cmdline too long, domain %d', self.dom)
|
||||
dom = self.dom
|
||||
|
||||