With kvm-88, a configure line such as (see output below) # ./configure --prefix=/path/to/intall/dir --target-list=x86_64-softmmu --kerneldir=/lib/modules/2.6.30/build yields the below build failure of the kvm kernel sources (I think that in earlier version there was a configure directive to disable build the kvm sources and let me use what's in the kernel, it seems to be gone now, why?) on the same system kvm-88 builds fine against 2.6.29.1, the same problem happens also with kvm-86 and 87 Or. [kvm-88]# make for d in pc-bios/optionrom; do \ make -C $d || exit 1 ; \ done make[1]: Entering directory `/home/ogerlitz/kvm/src/kvm-88/pc-bios/optionrom' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/ogerlitz/kvm/src/kvm-88/pc-bios/optionrom' make -C /lib/modules/2.6.30/build M=`pwd` \ LINUXINCLUDE="-I`pwd`/include -Iinclude \ -Iarch/x86/include -I`pwd`/include-compat \ -include include/linux/autoconf.h \ -include `pwd`/x86/external-module-compat.h " \ "$@" CC [M] /home/ogerlitz/kvm/src/kvm-88/kvm/kernel/x86/svm.o In file included from include/linux/gfp.h:4, from include/linux/kmod.h:22, from include/linux/module.h:13, from include/linux/sysdev.h:25, from include/linux/cpu.h:22, from /home/ogerlitz/kvm/src/kvm-88/kvm/kernel/x86/../external-module-compat-comm.h:15, from /home/ogerlitz/kvm/src/kvm-88/kvm/kernel/x86/external-module-compat.h:16, from <command line>:1: include/linux/mmzone.h:18:26: error: linux/bounds.h: No such file or directory include/linux/mmzone.h:256:5: warning: "MAX_NR_ZONES" is not defined In file included from include/linux/gfp.h:4, from include/linux/kmod.h:22, from include/linux/module.h:13, from include/linux/sysdev.h:25, from include/linux/cpu.h:22, from /home/ogerlitz/kvm/src/kvm-88/kvm/kernel/x86/../external-module-compat-comm.h:15, from /home/ogerlitz/kvm/src/kvm-88/kvm/kernel/x86/external-module-compat.h:16, from <command line>:1: include/linux/mmzone.h:290: error: â??MAX_NR_ZONESâ?? undeclared here (not in a function) In file included from /home/ogerlitz/kvm/src/kvm-88/kvm/kernel/x86/../external-module-compat-comm.h:312, from /home/ogerlitz/kvm/src/kvm-88/kvm/kernel/x86/external-module-compat.h:16, from <command line>:1: include/linux/mm.h:446:63: warning: "NR_PAGEFLAGS" is not defined include/linux/mm.h:494:62: warning: "NR_PAGEFLAGS" is not defined make[4]: *** [/home/ogerlitz/kvm/src/kvm-88/kvm/kernel/x86/svm.o] Error 1 make[3]: *** [/home/ogerlitz/kvm/src/kvm-88/kvm/kernel/x86] Error 2 make[2]: *** [_module_/home/ogerlitz/kvm/src/kvm-88/kvm/kernel] Error 2 make[1]: *** [all] Error 2 make: *** [kvm-kmod] Error 2 # ./configure --prefix=/path/to/intall/dir --target-list=x86_64-softmmu --kerneldir=/lib/modules/2.6.30/build Install prefix /home/ogerlitz/kvm/install/kvm-88 BIOS directory /home/ogerlitz/kvm/install/kvm-88/share/qemu binary directory /home/ogerlitz/kvm/install/kvm-88/bin Manual directory /home/ogerlitz/kvm/install/kvm-88/share/man ELF interp prefix /usr/gnemul/qemu-%M Source path /home/ogerlitz/kvm/src/kvm-88 C compiler gcc Host C compiler gcc ARCH_CFLAGS -m64 make make install install host CPU x86_64 host big endian no target list x86_64-softmmu tcg debug enabled no gprof enabled no sparse enabled no strip binaries yes profiler no static build no -Werror enabled no SDL support yes SDL static link yes curses support yes curl support yes mingw32 support no Audio drivers oss Extra audio cards ac97 es1370 sb16 Mixer emulation no VNC TLS support yes TLS CFLAGS TLS LIBS -lgnutls VNC SASL support yes SASL CFLAGS SASL LIBS -lsasl2 kqemu support no xen support no CPU emulation yes brlapi support no Documentation yes NPTL support no vde support no AIO support yes IO thread no Install blobs yes KVM support yes KVM trace support no fdt support no preadv support no