From mboxrd@z Thu Jan 1 00:00:00 1970 From: Izik Eidus Subject: Re: What should I do for kvm development first? Date: Sat, 17 Nov 2007 17:47:08 +0200 Message-ID: <473F0CFC.4000908@qumranet.com> References: <5d649bdb0711162146x32d4b74bicbf58c0f851b9ede@mail.gmail.com> <20071117152930.GA4968@karma.qumranet.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel To: Dan Kenigsberg Return-path: In-Reply-To: <20071117152930.GA4968-iWbx9bcAnq+Hk9JtIoIkgNBPR1lH4CV8@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Dan Kenigsberg wrote: > On Fri, Nov 16, 2007 at 09:46:03PM -0800, Neo Jia wrote: > >> I synced with kvm.git and kvm-userspace.git. Do I have to rebuild and >> install the entire kernel every time? >> >> > > Luckily, not. By default, when you ./configure in kvm-userspace.git, make > is told to build the kvm kernel module against the currently-running > kernel. > > The source code of the kernel module comes from the kvm.git tree. What I > suggest is to > make -C kernel LINUX=path/to/kvm.git sync > (when in kvm-userspace.git) in order to copy that source code to > kvm-userspace.git. > > >> I really appreciate if you can share me your development/debugging >> methods for KVM. >> > > I hope you get more clues from other more experienced folks here. Good > luck, > > Dan. > development methods: 1)reading the kvm code / reading 2)intel/amd system programming specs 3)ask questions in the list debugging is very very hard in this area, most of time is just printing the values all over kvm and biesecting. sometimes you might want to write a test program, but... ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/