Avi Kivity wrote: > Zhang, Xiantao wrote: >> Avi Kivity wrote: >> >>> Zhang, Xiantao wrote: >>> >>>> Hi Avi, >>>> smp_call_function_mask is introduced in latest commits, but not >>>> defined in UP configuration. So, it will run into compile fail when >>>> kernel is configured without smp support. Please check and do the >>>> fix :) >>>> >>>> >>> I see it in my include/linux/smp.h: >>> >>> >>>> #define smp_call_function_mask(mask, func, info, wait) \ >>>> (up_smp_call_function(func, info)) >>>> >>>> #endif /* !SMP */ >>>> >>> It's fairly new. Are you sure you are using the latest code? >>> >> >> Hi Avi, >> Still there is problematic issues here. If user's kernel is >> UP(old kernel, 2.6.23 or older), and he wants to build KVM modules in >> kernel-userspace, I think he would meet prolems, because this >> function is not defined in those versions. >> >> > > kernel/external-module-compat.h defines replacements for older > kernels. If something doesn't work for you, please post the error > message. I see now. Don't know this mechanism before :) >> BTW, Seems current KVM source doesn't support UP kernel without kvm >> built-in, once we build kvm modules through kvm-userspace.git. >> > > Should work, though I never tested it. Are you seeing an error?
Just have a test. Seems it can't compile pass. The error info as following: ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel