qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] live migration between different qemu versions


From: Dr. David Alan Gilbert
Subject: Re: [Qemu-devel] live migration between different qemu versions
Date: Tue, 12 Jan 2016 09:19:38 +0000
User-agent: Mutt/1.5.24 (2015-08-30)

* Alexey (address@hidden) wrote:
> Hi David.
> 
> On 2016-01-11 22:51, Dr. David Alan Gilbert wrote:
> >* Alexey (address@hidden) 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:
> >>/address@hidden/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 <rom bar="off"/>.
> >>
> >>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:
  /address@hidden/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 / address@hidden / Manchester, UK



reply via email to

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