mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 02:30:03 +01:00
bitkeeper revision 1.1159.127.2 (41780e5c-RsPtK5gKwQvWEW2Vv26oQ)
Use a default name if we don't know the name of a domain anymore.
This commit is contained in:
1 parent
ff9da5b2e5
commit
03aec42dae
1 file changed
+1
-1
@@ -236,7 +236,7 @@ def vm_recreate(savedinfo, info):
|
||||
if config:
|
||||
d = vm.construct(config)
|
||||
else:
|
||||
vm.name = sxp.child_value(savedinfo, 'name')
|
||||
vm.name = sxp.child_value(savedinfo, 'name', "Domain-%d" % info['dom'])
|
||||
d = defer.succeed(vm)
|
||||
vm.recreate = 0
|
||||
return d
|
||||
|
||||