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/ _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel