[libvirt] Xen Migration does not work

Richard W.M. Jones rjones at redhat.com
Wed Oct 8 16:02:15 UTC 2008


On Mon, Oct 06, 2008 at 03:29:46AM +0200, Stefan de Konink wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
> 
> I'm try to migrate using libvirt:
> 
> virsh # migrate 0802367323_PIQ002 xen://xen002.local/
> libvir: Xen Daemon error : POST operation failed: xend_post: error from
> xen daemon: (xend.err 'Missing parameter: node')

Looks like the latest version of Xen adds yet another required
migration parameter.

Luckily it seems like older Xen should ignore unneeded parameters.. so
does this work?

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
Read my OCaml programming blog: http://camltastic.blogspot.com/
Fedora now supports 68 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora
-------------- next part --------------
Index: src/xend_internal.c
===================================================================
RCS file: /data/cvs/libvirt/src/xend_internal.c,v
retrieving revision 1.216
diff -u -r1.216 xend_internal.c
--- src/xend_internal.c	6 Oct 2008 19:53:06 -0000	1.216
+++ src/xend_internal.c	8 Oct 2008 16:02:37 -0000
@@ -4267,6 +4267,7 @@
                    "live", live,
                    "port", port,
                    "resource", "0", /* required, xend ignores it */
+		   "node", "0", /* required for Xen >= 3.3 */
                    NULL);
     VIR_FREE (hostname);
 


More information about the libvir-list mailing list