[libvirt-users] Unable to migrate vm from redhat to ubuntu using virsh migrate

Hello All, I am working on migrating the vm from redhat to ubuntu. the emulator value is as below. Ubuntu: <emulator>/usr/bin/qemu-system-x86_64</emulator> redhat: <emulator>/usr/libexec/qemu-kvm</emulator> When i try to migrate from redhat, i get the following error. It would be great help if you can suggest how to workaround the issue. virsh migrate --live --verbose --persistent vm1 qemu+ssh://host-3/system error: Cannot check QEMU binary /usr/libexec/qemu-kvm: No such file or directory Thanks in advance, Mani

On 2014-06-29 04:24, Mani Devarajan wrote:
Hello All, I am working on migrating the vm from redhat to ubuntu. the emulator value is as below. Ubuntu: <emulator>/usr/bin/qemu-system-x86_64</emulator> redhat: <emulator>/usr/libexec/qemu-kvm</emulator>
Create a symlink?
When i try to migrate from redhat, i get the following error. It would be great help if you can suggest how to workaround the issue.
virsh migrate --live --verbose --persistent vm1 qemu+ssh://host-3/system error: Cannot check QEMU binary /usr/libexec/qemu-kvm: No such file or directory
Thanks in advance, Mani
_______________________________________________ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users
-- Mit freundlichen Grüßen, / Best Regards, Sven Schwedas Systemadministrator TAO Beratungs- und Management GmbH | Lendplatz 45 | A - 8020 Graz Mail/XMPP: sven.schwedas@tao.at | +43 (0)680 301 7167 http://software.tao.at

----- Original Message -----
From: "Sven Schwedas" <sven.schwedas@tao.at> To: libvirt-users@redhat.com Sent: Monday, June 30, 2014 9:48:41 AM Subject: Re: [libvirt-users] Unable to migrate vm from redhat to ubuntu using virsh migrate
On 2014-06-29 04:24, Mani Devarajan wrote:
Hello All, I am working on migrating the vm from redhat to ubuntu. the emulator value is as below. Ubuntu: <emulator>/usr/bin/qemu-system-x86_64</emulator> redhat: <emulator>/usr/libexec/qemu-kvm</emulator>
Create a symlink?
It's going to need much more than that. Different versions of QEMU, with different settings, features etc.
When i try to migrate from redhat, i get the following error. It would be great help if you can suggest how to workaround the issue.
virsh migrate --live --verbose --persistent vm1 qemu+ssh://host-3/system error: Cannot check QEMU binary /usr/libexec/qemu-kvm: No such file or directory
Thanks in advance, Mani
_______________________________________________ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users
-- Mit freundlichen Grüßen, / Best Regards, Sven Schwedas Systemadministrator TAO Beratungs- und Management GmbH | Lendplatz 45 | A - 8020 Graz Mail/XMPP: sven.schwedas@tao.at | +43 (0)680 301 7167 http://software.tao.at
_______________________________________________ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users

On Sat, Jun 28, 2014 at 07:24:51PM -0700, Mani Devarajan wrote:
Hello All, I am working on migrating the vm from redhat to ubuntu. the emulator value is as below. Ubuntu: <emulator>/usr/bin/qemu-system-x86_64</emulator> redhat: <emulator>/usr/libexec/qemu-kvm</emulator>
When i try to migrate from redhat, i get the following error. It would be great help if you can suggest how to workaround the issue.
virsh migrate --live --verbose --persistent vm1 qemu+ssh://host-3/system error: Cannot check QEMU binary /usr/libexec/qemu-kvm: No such file or directory
That API provides you with the possibility of changing the destination xml, see 'man virsh', the parameter --xml should do what you want. If you want to automate this change between such hosts, you can do that with hooks [1]. Martin [1] http://libvirt.org/hooks.html
Thanks in advance, Mani
_______________________________________________ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users

On Sat, Jun 28, 2014 at 07:24:51PM -0700, Mani Devarajan wrote:
Hello All, I am working on migrating the vm from redhat to ubuntu.
I'd really recommend you to to try to do this, it'll give you no end of pain & suffering. The different file path is the least of your worries. Much more critical is having compatible guest ABI machine types for both distros. Neither distro claims & attempts to maintain such ABI compat. This will likely cause live migration to crash & burn. Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
participants (5)
-
Andrew Cathrow
-
Daniel P. Berrange
-
Mani Devarajan
-
Martin Kletzander
-
Sven Schwedas