Xu, Jiajun wrote: > Hi, > Against latest kvm commit, 9644a6d164e3d6d0532ddb064393293134f31ab2. KVM > compile meet error on 2.6.26.2. > > [EMAIL PROTECTED] kernel]# make > rm -f include/asm > ln -sf asm-x86 include/asm > ln -sf asm-x86 include-compat/asm > make -C /lib/modules/2.6.26.2/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" > make[1]: Entering directory `/usr/src/redhat/BUILD/kernel-2.6.26.2' > CC [M] /home/build/gitrepo/test/kvm-userspace/kernel/x86/kvm_main.o > /home/build/gitrepo/test/kvm-userspace/kernel/x86/kvm_main.c: In > function 'gfn_to_pfn': > /home/build/gitrepo/test/kvm-userspace/kernel/x86/kvm_main.c:742: error: > implicit declaration of function 'get_user_pages_fast' > make[3]: *** > [/home/build/gitrepo/test/kvm-userspace/kernel/x86/kvm_main.o] Error 1 > make[2]: *** [/home/build/gitrepo/test/kvm-userspace/kernel/x86] Error 2 > make[1]: *** [_module_/home/build/gitrepo/test/kvm-userspace/kernel] > Error 2 > make[1]: Leaving directory `/usr/src/redhat/BUILD/kernel-2.6.26.2' >
I can confirm this bug. Looks like Marcelo's get_user_pages_fast patches lack corresponding compat wrapping (in kvm-userspace)... Jan -- Siemens AG, Corporate Technology, CT SE 2 Corporate Competence Center Embedded Linux -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html