From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56193) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dct62-0007CU-HC for qemu-devel@nongnu.org; Wed, 02 Aug 2017 08:49:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dct5w-0001SH-Hi for qemu-devel@nongnu.org; Wed, 02 Aug 2017 08:49:54 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44580) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dct5w-0001Rm-BT for qemu-devel@nongnu.org; Wed, 02 Aug 2017 08:49:48 -0400 Date: Wed, 2 Aug 2017 13:49:44 +0100 From: "Dr. David Alan Gilbert" Message-ID: <20170802124943.GA2380@work-vm> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] Where is the VM live migration code? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Aditya Bhardwaj Cc: qemu-devel@nongnu.org * Aditya Bhardwaj (adityaform@gmail.com) wrote: > My lab setup is: 3 HP Servers each of 4 GB RAM. Server 1 and Server 2: > installed with Virtualization using KVM on Redhat 6.5 System. On top of > this I am using libvirtd for managing virtual machines. NFS server is > installed on Server 3 for shared disk image. VM migration is working > correctly. Now i need to do some changes in "migration.c" but did not find > any source code of KVM-QEMU migration. > > Where I can find the migration source code for KVM-QEMU. All are requested > to help me for this issue. Migration is quite big - so take a step back first and understand how a migration works before diving into the code too far. First I'd suggest going for something newer than 6.5 - it has a very very old QEMU on it; If you can upgrade to a 7.x it'll make your life a lot easier for building and working with current code. The current QEMU has a whole migration/ subdirectory with quite a bit of code, and there's also some kernel code that helps, and code in individual devices. Then there's also the code in libvirt that drives it. A lot of code - so the trick is to figure out what you want to change and then find the right place. Dave > > > > > > *Thank youWith Regards:Aditya Bhardwaj* > *Dept. of CSE * -- Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK