于 2012年08月02日 22:30, Krishna J 写道: > I applied the v5_1/3, v5_2/3 and v5_3/3 "KVM-INTEL: Add new module vmcsinfo-intel to fill VMCSINFO" patch to the 3.2.14-rt24+ kernel. I am getting some missing deceleration error. Do i need to apply any other patch before using the VMCSINFO patch. > > /root/development/test_kernel/linux-rt/arch/x86/kvm/vmcsinfo.c:28:32: error: array type has incomplete element type > /root/development/test_kernel/linux-rt/arch/x86/kvm/vmcsinfo.c:29:2: error: implicit declaration of function \u2018X86_FEATURE_MATCH\u2019 > /root/development/test_kernel/linux-rt/arch/x86/kvm/vmcsinfo.c: In function \u2018alloc_vmcsinfo_init\u2019: > /root/development/test_kernel/linux-rt/arch/x86/kvm/vmcsinfo.c:697:26: error: \u2018cpu_subsys\u2019 undeclared (first use in this function) > /root/development/test_kernel/linux-rt/arch/x86/kvm/vmcsinfo.c:697:26: note: each undeclared identifier is reported only once for each function it appears in > /root/development/test_kernel/linux-rt/arch/x86/kvm/vmcsinfo.c: In function \u2018alloc_vmcsinfo_exit\u2019: > /root/development/test_kernel/linux-rt/arch/x86/kvm/vmcsinfo.c:710:22: error: \u2018cpu_subsys\u2019 undeclared (first use in this function) > make[3]: *** [arch/x86/kvm/vmcsinfo.o] Error 1 > make[2]: *** [arch/x86/kvm] Error 2 X86_FEATURE_MATCH and cpu_subsys are undeclared in the 3.2.14-rt24+ kernel. Please use the newest kvm kernel code through the git tree below: git://git.kernel.org/pub/scm/virt/kvm/kvm.git Thanks Zhang Yanfei -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html