From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KdSvz-0001Zv-R5 for qemu-devel@nongnu.org; Wed, 10 Sep 2008 12:52:51 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KdSvw-0001ZC-6K for qemu-devel@nongnu.org; Wed, 10 Sep 2008 12:52:51 -0400 Received: from [199.232.76.173] (port=47306 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KdSvw-0001Z9-1v for qemu-devel@nongnu.org; Wed, 10 Sep 2008 12:52:48 -0400 Received: from e1.ny.us.ibm.com ([32.97.182.141]:59463) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KdSvv-0003YZ-5z for qemu-devel@nongnu.org; Wed, 10 Sep 2008 12:52:47 -0400 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234]) by e1.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id m8AGqUdg014867 for ; Wed, 10 Sep 2008 12:52:30 -0400 Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [9.56.224.217]) by d01relay02.pok.ibm.com (8.13.8/8.13.8/NCO v9.1) with ESMTP id m8AGqOYZ228880 for ; Wed, 10 Sep 2008 12:52:24 -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 m8AGqOta002248 for ; Wed, 10 Sep 2008 12:52:24 -0400 Message-ID: <48C7FB17.6080804@us.ibm.com> Date: Wed, 10 Sep 2008 11:51:35 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 10/10] TCP based live migration References: <1220989802-13706-1-git-send-email-aliguori@us.ibm.com> <1220989802-13706-11-git-send-email-aliguori@us.ibm.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Blue Swirl Cc: Chris Wright , Uri Lublin , qemu-devel@nongnu.org, kvm@vger.kernel.org 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