A issue about KVM block migration

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

 



Hello everyone,

I have a issue about the KVM block migration. Please give me some help.

1)  I use the "virsh create" command to start a KVM VM in source machine.
2) And then, I use "virsh migrate" cammand to start a block migration:
   # virsh migrate --live --copy-storage-all --verbose win7 qemu+ssh://186.100.8.136/system
   root@186.100.8.136's password:
   Migration : [ 93% ]

   I execute "virsh list" command in source machine, and the result is:
   #virsh list
     Id             Name               State
   -----------------------------------------------------------
    1              win7                 running

   I can find the corresponding qemu-kvm process in the result of "ps -ef | grep qemu-kvm" in source machine.

  And I execute "virsh list" command in destination machine, and the result is:
   #virsh list
     Id             Name               State
   -----------------------------------------------------------
    1              win7                 paused

3) But after a few minutes,there have a error:
   # virsh migrate --live --copy-storage-all --verbose win7 qemu+ssh://186.100.8.136/system
   root@186.100.8.136's password:
   Migration : [ 97% ]
   error: Unable to read from monitor : Connection reset by peer.

  
I execute "virsh list" command in source machine again, and the result is NULL.

   I cannot  find the corresponding qemu-kvm process in the result of "ps -ef | grep qemu-kvm" in source machine.

  And I execute "virsh list" command in destination machine again, and the result is NULL.


But, when I only use qemu-kvm command not use libvirt, I can test block migration successfully (use qemu-kvm to create a VM, and exec "migrate -b -d xxx" command in qemu-kvm monitor to migrate).

The version of libvirt is 1.0.1 and the version of qemu-kvm is 1.2.0 ( 1.2.2 is also have this issue).

Please give me some help. How to solve the issue. Thanks a lot.

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux