From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: kvm upstream build error.. Date: Wed, 13 Jul 2011 16:18:52 +0300 Message-ID: <4E1D9B3C.6090907@redhat.com> References: <625BA99ED14B2D499DC4E29D8138F1506290C15CB3@shsmsx502.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "Ren, Yongjie" , "kvm@vger.kernel.org" , Glauber Costa To: "Tian, Kevin" Return-path: Received: from mx1.redhat.com ([209.132.183.28]:21313 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753011Ab1GMNS4 (ORCPT ); Wed, 13 Jul 2011 09:18:56 -0400 In-Reply-To: <625BA99ED14B2D499DC4E29D8138F1506290C15CB3@shsmsx502.ccr.corp.intel.com> Sender: kvm-owner@vger.kernel.org List-ID: On 07/13/2011 09:22 AM, Tian, Kevin wrote: > it works in my side, due to config difference. It is caused by recent > steal time feature. > > int kvm_set_msr_common(struct kvm_vcpu *vcpu, u32 msr, u64 data) > case MSR_KVM_STEAL_TIME: > > if (unlikely(!sched_info_on())) > return 1; > > static inline int sched_info_on(void) > { > #ifdef CONFIG_SCHEDSTATS > return 1; > #elif defined(CONFIG_TASK_DELAY_ACCT) > extern int delayacct_on; > return delayacct_on; > #else > return 0; > #endif > } > > I have CONFIG_SCHEDSTATS enabled, while yours has CONFIG_SCHEDSTATS > as 'n' while "CONFIG_TASK_DELAY_ACCT) as 'y'. However delayacct_on is > not an exposed symbol to modules. > I added an export. Thanks. -- error compiling committee.c: too many arguments to function