From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51934) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WS8P9-0005uE-OG for qemu-devel@nongnu.org; Mon, 24 Mar 2014 13:11:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WS8P3-0001G6-PV for qemu-devel@nongnu.org; Mon, 24 Mar 2014 13:11:19 -0400 Received: from mx1.redhat.com ([209.132.183.28]:3189) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WS8P3-0001G1-HJ for qemu-devel@nongnu.org; Mon, 24 Mar 2014 13:11:13 -0400 Date: Mon, 24 Mar 2014 16:50:02 +0000 From: "Dr. David Alan Gilbert" Message-ID: <20140324165001.GG3829@work-vm> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] Qemu live migration code List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Bechir Bani Cc: qemu-devel@nongnu.org * Bechir Bani (bechir.bani@gmail.com) wrote: > Hi, > > I want to know the source code of qemu which is responsible for the > migration of virtual machines, more precisely where the part of the code > that describes the stages of memory transfer. is that you can help me? It's split around a few files; memory is mostly in arch_init.c; It's something like: migration.c Overall management savevm.c qemu-file.c File buffering/bytes on the wire vmstate.c Structured saving of individual devices arch_init.c RAM special code, and a few other things What are you trying to do/change? Dave -- Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK