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

[Xen-changelog] [xen-unstable] xl: correct migration_domname_r



# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxx>
# Date 1286966222 -3600
# Node ID 5eee6789914049a82de4edc1f7ddc1e20b554fff
# Parent  6e8dd34122e765eb069701092726fc2a8a3c19cc
xl: correct migration_domname_r

22154:ed8019e672c6 causes migration_domname_r to be initialised as
d_config.c_info.name + "--incoming" immediately after setting
d_config.c_info.name. The intention appears to have been to set it to
common_domname + "--incoming" so do so.

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
committer: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
---
 tools/libxl/xl_cmdimpl.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 6e8dd34122e7 -r 5eee67899140 tools/libxl/xl_cmdimpl.c
--- a/tools/libxl/xl_cmdimpl.c  Tue Oct 12 10:27:56 2010 +0100
+++ b/tools/libxl/xl_cmdimpl.c  Wed Oct 13 11:37:02 2010 +0100
@@ -1551,7 +1551,7 @@ static int create_domain(struct domain_c
             d_config.c_info.name = 0; /* steals allocation from config */
 
             if (asprintf(&d_config.c_info.name,
-                         "%s--incoming", d_config.c_info.name) < 0) {
+                         "%s--incoming", common_domname) < 0) {
                 fprintf(stderr, "Failed to allocate memory in asprintf\n");
                 exit(1);
             }

_______________________________________________
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®.