Compile faillure with 2.6.27-rc9-git1
Hi,
I'm trying to compile kvm-76 on a box running 2.6.27-rc9-git1 (yeah ok...rc+git...).
I get this error:
In file included from /usr/local/src/kvm-76/kernel/x86/svm.c:16:/usr/local/src/kvm-76/kernel/include/linux/kvm_host.h:128: error: field ‘mmu_notifier’ has incomplete type
Sorry for the noise if it is a non relevant or a well know issue.
@+
Xavier
Quoted 11 lines · Xavier Gnata
Hi,
I'm trying to compile kvm-76 on a box running 2.6.27-rc9-git1 (yeah ok...rc+git...).
I get this error:
In file included from/usr/local/src/kvm-76/kernel/x86/svm.c:16:/usr/local/src/kvm-76/kernel/include/linux/kvm_host.h:128: error: field ?mmu_notifier? has incomplete typeSorry for the noise if it is a non relevant or a well know issue.
Seems you miss something in .config, probably CONFIG_KVM or CONFIG_VIRTUALIZATION. Did you enable KVM when you build the kernel? You can use "make menuconfig" then search MMU_NOTIFIER to find what config it depends on. In the most condition, simple enable KVM support when you compiling the kernel just OK.
--
regards
Yang, Sheng