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: make it explicit that we migrate from stdi

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] tools/xl: make it explicit that we migrate from stdin
From: Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Date: Mon, 22 Nov 2010 10:16:52 +0000
Delivery-date: Mon, 22 Nov 2010 02:18:06 -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 d95918033f24ce89b1f3b2f15031c247bc8e4161
# Parent  a61e0de838bd61cf2efdd67f33b8cf739dd01919
tools/xl: make it explicit that we migrate from stdin.
No semantic changes, just makes things a bit less confusing.

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

diff -r a61e0de838bd -r d95918033f24 tools/libxl/xl_cmdimpl.c
--- a/tools/libxl/xl_cmdimpl.c  Fri Nov 19 13:49:54 2010 +0000
+++ b/tools/libxl/xl_cmdimpl.c  Fri Nov 19 17:48:42 2010 +0000
@@ -2903,6 +2903,7 @@ static void migrate_receive(int debug, i
     dom_info.daemonize = daemonize;
     dom_info.paused = 1;
     dom_info.restore_file = "incoming migration stream";
+    dom_info.migrate_fd = 0; /* stdin */
     dom_info.migration_domname_r = &migration_domname;
 
     rc = create_domain(&dom_info);

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

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