Mani Devarajan
2014-Jun-29 02:24 UTC
[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
Sven Schwedas
2014-Jun-30 13:48 UTC
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?> 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
Andrew Cathrow
2014-Jun-30 13:51 UTC
Re: [libvirt-users] Unable to migrate vm from redhat to ubuntu using virsh migrate
----- 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
Martin Kletzander
2014-Jun-30 13:54 UTC
Re: [libvirt-users] Unable to migrate vm from redhat to ubuntu using virsh migrate
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
Daniel P. Berrange
2014-Jun-30 14:01 UTC
Re: [libvirt-users] Unable to migrate vm from redhat to ubuntu using virsh migrate
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 :|