Andrea Arcangeli wrote: > I created a more complete patch below, this will solve all my silent > time-wasting miscompilations (currnently when building kvm.git on a > newer mainline kernels, certain kvm*.h $KERNELDIR headers are included > instead of my modified ones in $LINUX, so the build can crash if > $LINUX and $KERNELDIR don't have the kvm*.h headers in sync) and this > below patch will retain compatibility with older kernels too. If patch > doesn't wipe kernel/include you can follow it with a rm -r > kernel/include. I verified libkvm already gives more priority to > whatever is in kernel/include and only if kernel/include are missing > it uses the kvm.h in /usr/include/linux/kvm.h (I filled all my > /usr/src and /usr/include headers with #error "x" to be sure... along > with running gcc -E and checking the cpp work). > >
Thanks, applied that. I added an include-compat/asm symlink so that it builds. Please turn on git rename detection for better readability with such patches. -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ kvm-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/kvm-devel
