[Top][All Lists]

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

Re: [Qemu-devel] Migration from older Qemu to Qemu 2.0.0 does not work

From: Paolo Bonzini
Subject: Re: [Qemu-devel] Migration from older Qemu to Qemu 2.0.0 does not work
Date: Wed, 14 May 2014 10:11:16 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]