From mboxrd@z Thu Jan 1 00:00:00 1970 From: Izik Eidus Subject: Re: What should I do for kvm development first? Date: Sun, 18 Nov 2007 10:09:28 +0200 Message-ID: <1195373368.3169.0.camel@localhost.localdomain> References: <5d649bdb0711162146x32d4b74bicbf58c0f851b9ede@mail.gmail.com> <20071117152930.GA4968@karma.qumranet.com> <473F0CFC.4000908@qumranet.com> <5d649bdb0711172302y4e3e8292r7ac10c89f0479b13@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel To: Neo Jia Return-path: In-Reply-To: <5d649bdb0711172302y4e3e8292r7ac10c89f0479b13-JsoAwUIsXosN+BqQ9rBEUg@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 On Sat, 2007-11-17 at 23:02 -0800, Neo Jia wrote: > On Nov 17, 2007 7:47 AM, Izik Eidus wrote: > > > > 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... > > Izik and Dan, > > Thank you for your response! Now, I can build modules from kvm.git > instead of build the whole kernel. > > Any comments for the TODO item or bug I need to pick up first? > check out: http://kvm.qumranet.com/kvmwiki/TODO and: http://sourceforge.net/tracker/?group_id=180599&atid=893831 > > ------------------------------------------------------------------------- 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/