[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] tools/xl: only use the special "--incoming" name on actual migration



# HG changeset patch
# User Tim Deegan <Tim.Deegan@xxxxxxxxxx>
# Date 1290540810 0
# Node ID 6557d6f2c1316157af7ea91f4615ac97307f9504
# Parent  7c58428f117cbde54cbac5e1916e2683b212c750
tools/xl: only use the special "--incoming" name on actual migration

Only use the special "--incoming" name on actual migration
and not on every susequent reboot.

Signed-off-by: Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
 tools/libxl/xl_cmdimpl.c |    4 ++++
 1 files changed, 4 insertions(+)

diff -r 7c58428f117c -r 6557d6f2c131 tools/libxl/xl_cmdimpl.c
--- a/tools/libxl/xl_cmdimpl.c  Tue Nov 23 19:31:29 2010 +0000
+++ b/tools/libxl/xl_cmdimpl.c  Tue Nov 23 19:33:30 2010 +0000
@@ -1824,6 +1824,10 @@ start:
 
                         /* Some settings only make sense on first boot. */
                         paused = 0;
+                        if (common_domname 
+                            && strcmp(d_config.c_info.name, common_domname)) {
+                            d_config.c_info.name = strdup(common_domname);
+                        }
 
                         /*
                          * XXX FIXME: If this sleep is not there then domain

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.