From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zhang Yanfei Subject: Re: KVM-INTEL: Add new module vmcsinfo-intel to fill VMCSINFO Date: Fri, 03 Aug 2012 09:21:24 +0800 Message-ID: <501B2794.1000600@cn.fujitsu.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: "kvm@vger.kernel.org" To: Krishna J Return-path: Received: from cn.fujitsu.com ([222.73.24.84]:8327 "EHLO song.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1750949Ab2HCBWI convert rfc822-to-8bit (ORCPT ); Thu, 2 Aug 2012 21:22:08 -0400 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: =E4=BA=8E 2012=E5=B9=B408=E6=9C=8802=E6=97=A5 22:30, Krishna J =E5=86=99= =E9=81=93: > I applied the v5_1/3, v5_2/3 and v5_3/3 "KVM-INTEL: Add new module vm= csinfo-intel to fill VMCSINFO" patch to the 3.2.14-rt24+ kernel. I am g= etting some missing deceleration error. Do i need to apply any other pa= tch before using the VMCSINFO patch.=20 >=20 > /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 fu= nction \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 funct= ion it appears in > /root/development/test_kernel/linux-rt/arch/x86/kvm/vmcsinfo.c: In fu= nction \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 =20 X86_FEATURE_MATCH and cpu_subsys are undeclared in the 3.2.14-rt24+ ker= nel.=20 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