qemu-discuss
[Top][All Lists]
Advanced

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

[Qemu-discuss] A issue about qemu VM block migration


From: 刘基
Subject: [Qemu-discuss] A issue about qemu VM block migration
Date: Sun, 13 Jan 2013 21:00:37 +0800

Hello everyone,

I have a issue about the qemu-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
   address@hidden'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
   address@hidden'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).

But, when I use libvirt(1.0.1) + qemu-kvm (1.0.1), there is no problem. I can test block migration successfully

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

reply via email to

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