Re: VM terminates when doing a live migration

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

 



Hi, Michael.

On Saturday, 21 May 2011 23:39:27 -0400,
Michael Stroucken wrote:

>> I'm doing some testing with KVM Live Migration. SS01 (VMHost) has
>> Debian GNU/Linux 6.0.1 and Defiant (VMHost) has Debian GNU/Linux
>> 5.0.8. Defiant has Linux 2.6.32-15~bpo50+1 and 0.12.5+dfsg-3~bpo50+2,
>> and SS01 has Linux 2.6.32-31 and 0.12.5+dfsg-5+squeeze1. Both
>> instalation are 32-bit, but the kernel in SS01 is amd64 and the
>> kernel in Defiant is 686.
>>
>> Migration from Defiant to SS01 is completed successfully, but when
>> trying to migrate a VM from SS01 to Defiant, the VM terminates
>> (segfault?). This is due to the difference in the kernel of each
>> VMHost?

> Can you try saving the vms state to a file on ss01 and restoring it on  
> defiant?

I tried following your suggestion but same thing happens:

ss01:~# kvm -m 256 -boot d -net nic,vlan=0,macaddr=52:54:67:92:9d:63 \
 -net tap -daemonize -vnc :15 -k es -localtime -cdrom \
 /mnt/systemrescuecd-x86-2.0.1.iso -monitor telnet:localhost:4055,server,nowait

ss01:~# telnet localhost 4055
Trying ::1...
Connected to localhost.
Escape character is '^]'.
QEMU 0.12.5 monitor - type 'help' for more information
(qemu) stop
(qemu) migrate_set_speed 4095m
(qemu) migrate "exec:gzip -c > STATEFILE.gz"
Connection closed by foreign host.

ss01:~# ps ax|grep systemrescuecd
26564 pts/0    S+     0:00 grep systemrescuecd


It appears that the 'migrate' command causes termination of the virtual
machine to these parameters as well.

> Do migrations between ss01 and another amd64 box work?

I have not tried a migration where both source and destination have the
same characteristics (i386 installation and amd64 kernel).


Thanks for your reply.

Regards,
Daniel
-- 
Fingerprint: BFB3 08D6 B4D1 31B2 72B9  29CE 6696 BF1B 14E6 1D37
Powered by Debian GNU/Linux Lenny - Linux user #188.598

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux