qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Regarding: Migration of VM created using qemu source co


From: John Snow
Subject: Re: [Qemu-devel] Regarding: Migration of VM created using qemu source code built
Date: Fri, 2 Nov 2018 13:39:44 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1


On 11/01/2018 03:14 AM, aditya bhardwaj wrote:
> Respected Sir,
> 
> I followed https://wiki.qemu.org/Hosts/Linux to build qemu from source
> code. Its installed successfully with Ubuntu 16.04 VM created using VNC
> server.
> 
> *Now, Could you please suggest me how to migrate VM from one host to
> another?.*
> 

Are you trying to migrate and running into problems, or you don't know
how to attempt it?

The simplest version is that you launch QEMU on the destination with the
same arguments, but you add the `-incoming` flag to tell it to listen
for incoming migration data.

Look at https://qemu.weilnetz.de/doc/qemu-doc.html and search for
"-incoming".

On the source, you use either the HMP or QMP protocol to tell QEMU to
migrate to a URI where the destination can pick it up (tcp, unix socket,
pipe, whatever.)

Take a look at http://www.linux-kvm.org/page/Migration for some basics.

If you can't access the hard drive images/devices from both the source
and dest machine, you'll want to do a block storage migration, too. At
this point you really want to be using libvirt to help you accomplish
that because it can get involved.

--js

> I goggled lot but not getting any solution.
> 




reply via email to

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