From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33924) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uop0I-0006nF-Vh for qemu-devel@nongnu.org; Tue, 18 Jun 2013 02:02:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uop0H-00027x-Ra for qemu-devel@nongnu.org; Tue, 18 Jun 2013 02:02:54 -0400 Received: from e23smtp06.au.ibm.com ([202.81.31.148]:58025) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uop0G-000270-EV for qemu-devel@nongnu.org; Tue, 18 Jun 2013 02:02:53 -0400 Received: from /spool/local by e23smtp06.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 18 Jun 2013 15:55:39 +1000 Received: from d23relay04.au.ibm.com (d23relay04.au.ibm.com [9.190.234.120]) by d23dlp03.au.ibm.com (Postfix) with ESMTP id 2F19A3578051 for ; Tue, 18 Jun 2013 16:02:42 +1000 (EST) Received: from d23av03.au.ibm.com (d23av03.au.ibm.com [9.190.234.97]) by d23relay04.au.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r5I5m0ip30736638 for ; Tue, 18 Jun 2013 15:48:01 +1000 Received: from d23av03.au.ibm.com (loopback [127.0.0.1]) by d23av03.au.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id r5I62eNF020855 for ; Tue, 18 Jun 2013 16:02:41 +1000 Message-ID: <51BFF7C7.7050505@linux.vnet.ibm.com> Date: Tue, 18 Jun 2013 14:01:43 +0800 From: Lei Li MIME-Version: 1.0 References: <1371397053-4503-1-git-send-email-lilei@linux.vnet.ibm.com> <20130617125705.GG30145@stefanha-thinkpad.redhat.com> In-Reply-To: <20130617125705.GG30145@stefanha-thinkpad.redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 0/7 RFC] Localhost live migration List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: lagarcia@br.ibm.com, aliguori@us.ibm.com, qemu-devel@nongnu.org, quintela@redhat.com On 06/17/2013 08:57 PM, Stefan Hajnoczi wrote: > On Sun, Jun 16, 2013 at 11:37:26PM +0800, Lei Li wrote: >> 2) Use different mechanism than current live migration. >> >> The very basic work flow like: >> >> qemu on the source (the source and destination are both on localhost) >> | >> V >> Stop VM >> | >> V >> Create threads >> | >> V >> Page flipping through vmspice >> | >> V >> MADV_DONTNEED the ram pages which are already flipped >> | >> V >> Migration completes >> >> As stopping VM first, we expect/resume the page flipping through vmspice >> is fast enough to meet *live migration (low downtime). > Nice idea, that would allow low downtime QEMU upgrades. Well, the idea is from Anthony Liguori and Michael Roth :) > > Stefan > -- Lei