[libvirt] [PATCH] Fix migration for 3.3 xend

John Levon john.levon at sun.com
Fri Feb 13 14:30:59 UTC 2009


# HG changeset patch
# User John Levon <john.levon at sun.com>
# Date 1234535031 28800
# Node ID 3b0d2047df2c53ff2994d2bff4b1123110626ee2
# Parent  0c02b55855c7a3bfa1135887ffb1763ef29179e5
Fix migration for 3.3 xend

xend grew a couple of new options for the migration method. As they're
ignored on older xend versions, always pass them.

Signed-off-by: John Levon <john.levon at sun.com>

diff --git a/src/xend_internal.c b/src/xend_internal.c
--- a/src/xend_internal.c
+++ b/src/xend_internal.c
@@ -4292,6 +4292,8 @@ xenDaemonDomainMigratePerform (virDomain
                    "destination", hostname,
                    "live", live,
                    "port", port,
+                   "node", "-1",
+                   "ssl", "0",
                    "resource", "0", /* required, xend ignores it */
                    NULL);
     VIR_FREE (hostname);




More information about the libvir-list mailing list