From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42887) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkUI1-0000Zn-Ub for qemu-devel@nongnu.org; Wed, 14 May 2014 04:11:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WkUHs-0001lH-VE for qemu-devel@nongnu.org; Wed, 14 May 2014 04:11:49 -0400 Sender: Paolo Bonzini Message-ID: <53732524.3080101@redhat.com> Date: Wed, 14 May 2014 10:11:16 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <536CD48B.2020907@profihost.ag> <536D0ACB.50206@redhat.com> <53731883.4090502@profihost.ag> In-Reply-To: <53731883.4090502@profihost.ag> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Migration from older Qemu to Qemu 2.0.0 does not work List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Priebe - Profihost AG , qemu-stable@nongnu.org, qemu-devel Il 14/05/2014 09:17, Stefan Priebe - Profihost AG ha scritto: > i now was able to catch the error. > > It is: > Length mismatch: 0000:00:12.0/virtio-net-pci.rom: 40000 in != 10000 > qemu: warning: error while loading state for instance 0x0 of device 'ram' > load of migration failed This is a bug of your distribution. The file sizes for ROMs should never change. In particular, if you round the sizes up to the next power of 2 you should always have: 128k for bios.bin 256k for bios-256k.bin 64k for pxe-*.rom 256k for efi-*.rom 64k for vgabios-* Unfortunately, most distribution get pxe-*.rom sizes wrong, because at some point iPXE grew more features and didn't fit in 64k anymore with the default configuration. I know at least Fedora does. The solution is to copy the binaries from the QEMU git repository (directory pc-bios/) to /usr/share/qemu. Paolo