[libvirt] virsh migrate with libvirt-0.5.1: failed to start listening VM

Scott Baker bakers at canbytel.com
Tue Jul 14 17:53:49 UTC 2009


On 07/14/2009 10:11 AM, Jakub Hrozek wrote:
> Hello,
> I was trying to migrate a KVM/QEMU VM running on a Fedora 10 host to
> another F10 host. Both machines have identical architectures (x86_64)
> and are running identical versions of libvirt and KVM
> (libvirt-0.5.1-2.fc10.x86_64, kvm-74-10.fc10.x86_64). However, the
> migration fails:
>
> # virsh migrate jhrozek-f11-minimal
> qemu+ssh://someothersystem.example.com/system
> libvir: QEMU error : operation failed: failed to start listening VM
>
> On the target host, the logfile
> /var/log/libvirt/qemu/jhrozek-f11-minimal.log says:
> qemu: could not open disk image /var/lib/libvirt/images/jhrozek-f11-minimal.img
>
> Which seems rather odd, isn't libvirt supposed to copy the image file?
>
> Is this supposed to work? Is there any way to debug the problem? I
> skimmed through RH Bugzilla and googled a bit but haven't found much
> clue.

You're supposed to have /var/lib/libvirt/images mounted via shared storage 
(nfs/cifs/etc) on both machines.

-- 
Scott Baker - Canby Telcom
System Administrator - RHCE - 503.266.8253




More information about the libvir-list mailing list