mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
Reset the domain name after the save completes. This is necessary, now that
we have persistent domains. Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
1 parent
b05e41a16b
commit
b12b62c2fd
1 file changed
+1
@@ -97,6 +97,7 @@ def save(fd, dominfo, network, live, dst):
|
||||
forkHelper(cmd, fd, saveInputHandler, False)
|
||||
|
||||
dominfo.destroyDomain()
|
||||
dominfo.setName(domain_name)
|
||||
|
||||
except Exception, exn:
|
||||
log.exception("Save failed on domain %s (%d).", domain_name,
|
||||
|
||||