Skip to contentSkip to conversation

tools/xl: make it explicit that we migrate from stdin

PATCH Applied Tim Deegan 2 participants 2 messages Nov 22, 2010 – Nov 23, 2010

lore
Share & tools
lore

Tim Deegan

author
#0 lore raw

PATCH 1/1 tools/xl: make it explicit that we migrate from stdin

# HG changeset patch
# User Tim Deegan <[email protected]>
# 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.

tools/libxl/xl_cmdimpl.c +1 -0
diff -r a61e0de838bd -r d95918033f24 tools/libxl/xl_cmdimpl.c
@@ -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);
Applied
#1 lore raw

Tim Deegan writes ("[Xen-devel] [PATCH] tools/xl: make it explicit that we migrate from stdin"):

Quoted 2 lines

tools/xl: make it explicit that we migrate from stdin. No semantic changes, just makes things a bit less confusing.

Applied, thanks.

Ian.