WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] tools/xl: only use the special "--incoming" name on

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] tools/xl: only use the special "--incoming" name on actual migration
From: Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Date: Mon, 22 Nov 2010 10:17:02 +0000
Delivery-date: Mon, 22 Nov 2010 02:20:25 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mercurial-patchbomb/1.6.4
# HG changeset patch
# User Tim Deegan <Tim.Deegan@xxxxxxxxxx>
# Date 1290188922 0
# Node ID 17d93860b47414fc7fbe9eb0df57baa8240019b5
# Parent  d27297705f907ef709200d788747ba88e45139f3
tools/xl: only use the special "--incoming" name on actual migration
and not on every susequent reboot.

Signed-off-by: Tim Deegan <Tim.Deegan@xxxxxxxxxx>

diff -r d27297705f90 -r 17d93860b474 tools/libxl/xl_cmdimpl.c
--- a/tools/libxl/xl_cmdimpl.c  Fri Nov 19 17:48:42 2010 +0000
+++ b/tools/libxl/xl_cmdimpl.c  Fri Nov 19 17:48:42 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-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>