ia64/xen-unstable

changeset 12596:ca01484e4e8c

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>
author Ewan Mellor <ewan@xensource.com>
date Mon Nov 27 14:47:23 2006 +0000 (2006-11-27)
parents 7c0f72918cec
children 1c09d1d195e7
files tools/python/xen/xend/XendCheckpoint.py
line diff
     1.1 --- a/tools/python/xen/xend/XendCheckpoint.py	Mon Nov 27 14:45:44 2006 +0000
     1.2 +++ b/tools/python/xen/xend/XendCheckpoint.py	Mon Nov 27 14:47:23 2006 +0000
     1.3 @@ -97,6 +97,7 @@ def save(fd, dominfo, network, live, dst
     1.4          forkHelper(cmd, fd, saveInputHandler, False)
     1.5  
     1.6          dominfo.destroyDomain()
     1.7 +        dominfo.setName(domain_name)
     1.8  
     1.9      except Exception, exn:
    1.10          log.exception("Save failed on domain %s (%d).", domain_name,