From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44773) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X8NYE-0002ek-5j for qemu-devel@nongnu.org; Sat, 19 Jul 2014 01:51:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X8NY0-0007vw-Jc for qemu-devel@nongnu.org; Sat, 19 Jul 2014 01:51:18 -0400 Received: from mail-wg0-x22f.google.com ([2a00:1450:400c:c00::22f]:33792) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X8NY0-0007vZ-DN for qemu-devel@nongnu.org; Sat, 19 Jul 2014 01:51:04 -0400 Received: by mail-wg0-f47.google.com with SMTP id b13so4194204wgh.18 for ; Fri, 18 Jul 2014 22:51:03 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <53CA0744.1070800@redhat.com> Date: Sat, 19 Jul 2014 07:51:00 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <60DF1D8F-DF62-472B-AC2A-D6CC4761AE91@alex.org.uk> In-Reply-To: <60DF1D8F-DF62-472B-AC2A-D6CC4761AE91@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 , qemu-devel@nongnu.org Il 19/07/2014 01:33, Alex Bligh ha scritto: > I'm trying to migrate between a pc-1.0 machine on qemu 1.0 and a pc-1.0 machine on qemu-2.0. This appears not to work. > > It looks to me as if at some point along the line the definition of pc-1.0 has changed (eek). > > The machine was booted with the command line [1] below, then migrated (for the sake of ease including a full block device dump) to a file. I'm happy to provide this (it's a blank cirros image but on a 20GB disk so quite large). > > Restoring the machine with the command line [2] (merely adding -machine pc-1.0 which is not the default for qemu-2.0) produces the error: > Length mismatch: vga.vram: 1000000 in != 800000 > qemu: warning: error while loading state for instance 0x0 of device 'ram' > load of migration failed This is unfortunately a known difference between qemu-kvm and qemu. > This can be fixed using command line [3] (adding an additional -global cirrus-vga.vgamem_mb=10) in which case it gets a little further. > Length mismatch: 0000:00:03.0/virtio-net-pci.rom: 10000 in != 20000 > qemu: warning: error while loading state for instance 0x0 of device 'ram' > load of migration failed Looks like your source and destination machines have different iPXE ROMs. This could be a packaging problem in your distro. Paolo