- 论坛徽章:
- 0
|
本帖最后由 almeydifer 于 2013-10-17 09:25 编辑
大家好!
我想问下大家,怎么在源码编译make menuconfig时,设置CONFIG_PREEMPT_NOTIFIERS=y ???
我在源码安装KVM时,也就是输入./configure命令时,老是报以下错误:
WARNING: kvm-kmod will emulate missing preemption notifiers.
Do not benchmark this system!
对应的脚本好象是这里:- . "$kerneldir/.config"
- if [ "$CONFIG_PREEMPT_NOTIFIERS" = "" ]; then
- if [ $kernel_subversion -ge 33 ]; then
- echo
- echo "Error: kernel lacks KVM support, keeping preemption notifiers disabled."
- echo "Since kernel 2.6.33, kvm-kmod is no longer able to provide a workaround"
- echo "implementation for this feature. You have to enable KVM as module(!) in your"
- echo "kernel first, rebuild and install it."
- echo
- exit 1
- fi
- echo "WARNING: kvm-kmod will emulate missing preemption notifiers."
- echo "Do not benchmark this system!"
- fi
复制代码 |
|