Received: from eggs.gnu.org ([2001:4830:134:3::10]:47540) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UoYzf-0005gG-KT for qemu-devel@nongnu.org; Mon, 17 Jun 2013 08:57:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UoYzd-0004E9-GZ for qemu-devel@nongnu.org; Mon, 17 Jun 2013 08:57:11 -0400 Received: from mail-wi0-x229.google.com ([2a00:1450:400c:c05::229]:48847) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UoYzd-0004E0-9q for qemu-devel@nongnu.org; Mon, 17 Jun 2013 08:57:09 -0400 Received: by mail-wi0-f169.google.com with SMTP id c10so3999836wiw.2 for ; Mon, 17 Jun 2013 05:57:08 -0700 (PDT) Date: Mon, 17 Jun 2013 14:57:05 +0200 From: Stefan Hajnoczi Message-ID: <20130617125705.GG30145@stefanha-thinkpad.redhat.com> References: <1371397053-4503-1-git-send-email-lilei@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1371397053-4503-1-git-send-email-lilei@linux.vnet.ibm.com> Subject: Re: [Qemu-devel] [PATCH 0/7 RFC] Localhost live migration List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Lei Li Cc: lagarcia@br.ibm.com, aliguori@us.ibm.com, qemu-devel@nongnu.org, quintela@redhat.com 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. Stefan