[Libvirt-cim] [PATCH] Fix migration with libvirt-0.4.0

Dan Smith danms at us.ibm.com
Wed Jan 30 19:16:57 UTC 2008


# HG changeset patch
# User Dan Smith <danms at us.ibm.com>
# Date 1201719178 28800
# Node ID 2920e184226248f7885dd87a28e30eb1a90005c9
# Parent  b8d69e734306e618b4efb53e23c17ffdd8bab128
Fix migration with libvirt-0.4.0

Signed-off-by: Dan Smith <danms at us.ibm.com>

diff -r b8d69e734306 -r 2920e1842262 src/Virt_VSMigrationService.c
--- a/src/Virt_VSMigrationService.c	Wed Jan 30 09:27:27 2008 -0800
+++ b/src/Virt_VSMigrationService.c	Wed Jan 30 10:52:58 2008 -0800
@@ -80,7 +80,7 @@ static char *dest_uri(const char *cn,
                 return NULL;
         }
 
-        if (asprintf(&uri, "%s://%s/", tport, dest) == -1)
+        if (asprintf(&uri, "%s://%s/system", tport, dest) == -1)
                 uri = NULL;
 
         return uri;




More information about the Libvirt-cim mailing list