From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: [Qemu-devel] [PATCH 10/10] TCP based live migration Date: Wed, 10 Sep 2008 11:51:35 -0500 Message-ID: <48C7FB17.6080804@us.ibm.com> References: <1220989802-13706-1-git-send-email-aliguori@us.ibm.com> <1220989802-13706-11-git-send-email-aliguori@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: qemu-devel@nongnu.org, Chris Wright , Uri Lublin , kvm@vger.kernel.org To: Blue Swirl Return-path: Received: from e1.ny.us.ibm.com ([32.97.182.141]:59444 "EHLO e1.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751819AbYIJQwd (ORCPT ); Wed, 10 Sep 2008 12:52:33 -0400 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236]) by e1.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id m8AGqUwm014866 for ; Wed, 10 Sep 2008 12:52:30 -0400 Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [9.56.224.217]) by d01relay04.pok.ibm.com (8.13.8/8.13.8/NCO v9.1) with ESMTP id m8AGqP4D241384 for ; Wed, 10 Sep 2008 12:52:30 -0400 Received: from d01av03.pok.ibm.com (loopback [127.0.0.1]) by d01av03.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id m8AGqOtg002248 for ; Wed, 10 Sep 2008 12:52:25 -0400 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: Blue Swirl wrote: > On 9/9/08, Anthony Liguori 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 >> >> (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