# HG changeset patch
# User Ewan Mellor <ewan@xxxxxxxxxxxxx>
# Node ID ca01484e4e8c921f7016d9ffbf3ea39156759f20
# Parent 7c0f72918cec739cae66bfbf25f08c86d34dcf61
Reset the domain name after the save completes. This is necessary, now that
we have persistent domains.
Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>
---
tools/python/xen/xend/XendCheckpoint.py | 1 +
1 files changed, 1 insertion(+)
diff -r 7c0f72918cec -r ca01484e4e8c tools/python/xen/xend/XendCheckpoint.py
--- a/tools/python/xen/xend/XendCheckpoint.py Mon Nov 27 14:45:44 2006 +0000
+++ b/tools/python/xen/xend/XendCheckpoint.py Mon Nov 27 14:47:23 2006 +0000
@@ -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,
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|