Re: [libvirt] Xen Migration does not work

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Richard W.M. Jones schreef:
> 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?

I didn't test it but from what I read in the new code, is the form
function checks if specific parameters are available. Not if others are
explicitly unavailable ;)

So I'm a happy user now by patching libvirt. (If you could comment on my
other question of this week about the actual implementation of using
virMigrate, would be appreciated)


Stefan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREKAAYFAkjs2wQACgkQYH1+F2Rqwn07xQCfYqmOCdL6NWmNO3c/cHAg8ul9
rtUAniGJzTvznUenAzBdYDTM5nlu1G4w
=3YQ7
-----END PGP SIGNATURE-----
--- src/xend_internal.c.old	2008-09-22 15:12:12.000000000 +0200
+++ src/xend_internal.c	2008-10-06 16:33:42.825335891 +0200
@@ -4268,6 +4268,8 @@
                    "live", live,
                    "port", port,
                    "resource", "0", /* required, xend ignores it */
+		   "node", "-1",    /* required, don't know what it is */
+		   "ssl", "0",      /* required, should we support it? */
                    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]