From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56206) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aIv7D-0001H0-4S for qemu-devel@nongnu.org; Tue, 12 Jan 2016 04:19:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aIv78-0002Ao-T9 for qemu-devel@nongnu.org; Tue, 12 Jan 2016 04:19:47 -0500 Received: from mx1.redhat.com ([209.132.183.28]:44669) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aIv78-0002Ab-Nm for qemu-devel@nongnu.org; Tue, 12 Jan 2016 04:19:42 -0500 Date: Tue, 12 Jan 2016 09:19:38 +0000 From: "Dr. David Alan Gilbert" Message-ID: <20160112091937.GE2455@work-vm> References: <20160111195146.GC3084@work-vm> <4e396059b95b088f1cf3c6b6668160d5@alukardd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4e396059b95b088f1cf3c6b6668160d5@alukardd.org> Subject: Re: [Qemu-devel] live migration between different qemu versions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexey Cc: Qemu devel * Alexey (alukardd@alukardd.org) wrote: > Hi David. > > On 2016-01-11 22:51, Dr. David Alan Gilbert wrote: > >* Alexey (alukardd@alukardd.org) wrote: > >>Hello. > > > >Hi, > > > >>I have two servers between which I need have live migration. > >> > >>First server have QEMU emulator version 2.3.0 > >>Second server have QEMU emulator version 2.5.0 > >> > >>Migration command look like this: > >>/usr/bin/virsh migrate --live DOMAIN_NAME --migrateuri > >>tcp://second.server > >>qemu+ssh://second.server/system --verbose > >> > >>I got next error on console: > >>error: operation failed: migration job: unexpectedly failed > >> > >>And next error in log on second server: > >>2016-01-11T15:07:12.888647Z qemu-system-x86_64: Length too large: > >>/rom@genroms/efi-virtio.rom: 0x32000 > 0x2d000: Invalid argument > >>2016-01-11T15:07:12.888685Z qemu-system-x86_64: error while loading > >>state > >>for instance 0x0 of device 'ram' > >>2016-01-11T15:07:12.889733Z qemu-system-x86_64: load of migration > >>failed: > >>Invalid argument > >> > >>In my libvirt domain I have option . > >> > >>I need to do a live migration in any possible way. How can I do this > >>one? > > >Is the efi-virtio ROM that you're using on the two versions the same > >identical size? > No, I have different efi-virtio.rom files, and I try to find a way which > allows me not to copy the same efi-virtio.rom to all servers. Right, the error does look like it's just complaining about the ROM size: 2016-01-11T15:07:12.888647Z qemu-system-x86_64: Length too large: /rom@genroms/efi-virtio.rom: 0x32000 > 0x2d000: Invalid argument It copes with small variations, but as soon as it flips over a 4K (?) boundary then it has nowhere to put the extra data coming from the larger ROM. > >Also, can you post the commandline that you're using please. > I already done this in my first email: virsh migrate... > >>/usr/bin/virsh migrate --live DOMAIN_NAME --migrateuri > >>tcp://second.server > >>qemu+ssh://second.server/system --verbose I meant for the QEMU itself; but if we've already found the ROMs are different sizes, lets fix that first and see how you go. Dave > > Regards, > Alexey Mochkin. -- Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK