Re: [libvirt] Xen Migration does not work

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

 



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
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);
 
--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]