From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56427) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X8P6V-000198-3p for qemu-devel@nongnu.org; Sat, 19 Jul 2014 03:30:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X8P6I-00018p-2y for qemu-devel@nongnu.org; Sat, 19 Jul 2014 03:30:47 -0400 Received: from mail-wi0-x231.google.com ([2a00:1450:400c:c05::231]:33506) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X8P6H-00018X-Rs for qemu-devel@nongnu.org; Sat, 19 Jul 2014 03:30:34 -0400 Received: by mail-wi0-f177.google.com with SMTP id ho1so1794678wib.16 for ; Sat, 19 Jul 2014 00:30:32 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <53CA1E95.3030006@redhat.com> Date: Sat, 19 Jul 2014 09:30:29 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <60DF1D8F-DF62-472B-AC2A-D6CC4761AE91@alex.org.uk> <53CA0744.1070800@redhat.com> <3AFC9677-55B1-4A93-BFCE-3A90FA872D2F@alex.org.uk> In-Reply-To: <3AFC9677-55B1-4A93-BFCE-3A90FA872D2F@alex.org.uk> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Live migrate, inconsistent machine types - new machine type to fix? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alex Bligh Cc: "qemu-devel@nongnu.org" Il 19/07/2014 09:10, Alex Bligh ha scritto: >>> Looks like your source and destination machines have different >>> iPXE ROMs. This could be a packaging problem in your distro. > > This is Ubuntu 12.04 to Ubuntu 14.04. I think the 14.04 one is > correct, and don't want to run with a non-standard qemu there. No, the old one is _always_ the correct one. The pxe-* ROMs must be 128k, the efi-* ROMs must be 256k. If distros do not do that, they have a bug (and as you noticed it's not one that they can easily work around, since now you have different releases with different ROM sizes for the same machine types). > Can I use a different ROM (e.g. the old one) with a command line > option just for the migrated machines? Obviously when they reboot, > they'l get a hardware change (which is fine). Yes, "-global foo.romfile" on the destination QEMU. You can just pass an empty 128k file to the destination since ROM contents are migrated properly, and hardware will only change when QEMU restarts. Migration is extremely complex because you have to strike the right balance between compatibility and maintainability. Whether it works, it depends on a lot of factors that vary per distro, and the only thing that can keep it working is a lot of testing. I don't know of any distro that actively tests migration except RHEL, SLES. I'm not sure about Debian. Since there is no free-beer SLES, you'd better switch to CentOS 7 than keeping Ubuntu 14.04. Paolo