From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Bareiro Subject: Re: VM terminates when doing a live migration Date: Sun, 22 May 2011 03:41:15 -0300 Message-ID: <20110522064115.GC2699@defiant.freesoftware> References: <20110522012103.GB2699@defiant.freesoftware> Reply-To: dbareiro@gmx.net Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5QAgd0e35j3NYeGe" To: KVM General Return-path: Received: from mailout-de.gmx.net ([213.165.64.22]:58087 "HELO mailout-de.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751387Ab1EVGlV (ORCPT ); Sun, 22 May 2011 02:41:21 -0400 Received: from defiant (defiant.freesoftware [10.1.0.65]) by hermes.freesoftware (Postfix) with ESMTP id DA8CC442 for ; Sun, 22 May 2011 03:41:14 -0300 (ART) Content-Disposition: inline In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: --5QAgd0e35j3NYeGe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, Michael. On Saturday, 21 May 2011 23:39:27 -0400, Michael Stroucken wrote: >> I'm doing some testing with KVM Live Migration. SS01 (VMHost) has >> Debian GNU/Linux 6.0.1 and Defiant (VMHost) has Debian GNU/Linux >> 5.0.8. Defiant has Linux 2.6.32-15~bpo50+1 and 0.12.5+dfsg-3~bpo50+2, >> and SS01 has Linux 2.6.32-31 and 0.12.5+dfsg-5+squeeze1. Both >> instalation are 32-bit, but the kernel in SS01 is amd64 and the >> kernel in Defiant is 686. >> >> Migration from Defiant to SS01 is completed successfully, but when >> trying to migrate a VM from SS01 to Defiant, the VM terminates >> (segfault?). This is due to the difference in the kernel of each >> VMHost? > Can you try saving the vms state to a file on ss01 and restoring it on = =20 > defiant? I tried following your suggestion but same thing happens: ss01:~# kvm -m 256 -boot d -net nic,vlan=3D0,macaddr=3D52:54:67:92:9d:63 \ -net tap -daemonize -vnc :15 -k es -localtime -cdrom \ /mnt/systemrescuecd-x86-2.0.1.iso -monitor telnet:localhost:4055,server,no= wait ss01:~# telnet localhost 4055 Trying ::1... Connected to localhost. Escape character is '^]'. QEMU 0.12.5 monitor - type 'help' for more information (qemu) stop (qemu) migrate_set_speed 4095m (qemu) migrate "exec:gzip -c > STATEFILE.gz" Connection closed by foreign host. ss01:~# ps ax|grep systemrescuecd 26564 pts/0 S+ 0:00 grep systemrescuecd It appears that the 'migrate' command causes termination of the virtual machine to these parameters as well. > Do migrations between ss01 and another amd64 box work? I have not tried a migration where both source and destination have the same characteristics (i386 installation and amd64 kernel). Thanks for your reply. Regards, Daniel --=20 Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Lenny - Linux user #188.598 --5QAgd0e35j3NYeGe Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAk3YsAsACgkQZpa/GxTmHTfUvgCgh3Kzu6LSq3Y+cEpsMjn4ZrC3 /FQAnj246OKBF03FwYsdO+WLigd7rGEz =0zhI -----END PGP SIGNATURE----- --5QAgd0e35j3NYeGe--