Re: [Qemu-devel] [PATCH 10/10] TCP based live migration

Anthony Liguori
2008-09-10T16:52:33Z

Blue Swirl wrote:
> On 9/9/08, Anthony Liguori <aliguori@us.ibm.com> wrote:
>
>> This patch introduces a tcp protocol for live migration. It can be used as
>> follows:
>>
>> qemu-system-x86_64 -hda ~/images/linux-test.img -monitor stdio
>> <vm runs for a while>
>> (qemu) migrate tcp:localhost:1025
>>
>> On the same system:
>>
>> qemu-system-x86_64 -hda ~/images/linux-test.img -incoming tcp:localhost:1025
>>
>> The monitor can be interacted with while waiting for an incoming live migration.
>>
>
> With command line switches, you have to know when starting the VM that
> it is going to accept an incoming migration. Would it be possible to
> change this so that the incoming migration could be triggered from
> monitor? For example to migrate back to original host?
>

Yup. The main reason for an -incoming flag is it makes the ssh:
protocol easier to implement (not included here).

I'll add a monitor command too.

Regards,

Anthony Liguori