From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH v2 08/11] KVM: VMX: Intercept RDPMC Date: Mon, 13 Jun 2011 19:29:06 +0300 Message-ID: <4DF63AD2.5000403@redhat.com> References: <1307972106-2468-1-git-send-email-avi@redhat.com> <1307972106-2468-9-git-send-email-avi@redhat.com> <4DF637FE.1070006@cisco.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Marcelo Tosatti , kvm@vger.kernel.org, Ingo Molnar , Peter Zijlstra , Arnaldo Carvalho de Melo To: David Ahern Return-path: Received: from mx1.redhat.com ([209.132.183.28]:7216 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751926Ab1FMQ3U (ORCPT ); Mon, 13 Jun 2011 12:29:20 -0400 In-Reply-To: <4DF637FE.1070006@cisco.com> Sender: kvm-owner@vger.kernel.org List-ID: On 06/13/2011 07:17 PM, David Ahern wrote: > > On 06/13/2011 07:35 AM, Avi Kivity wrote: > > Intercept RDPMC and forward it to the PMU emulation code. > > > > Signed-off-by: Avi Kivity > > --- > > arch/x86/kvm/vmx.c | 15 ++++++++++++++- > > 1 files changed, 14 insertions(+), 1 deletions(-) > > > > diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c > > index f5b49c7..6ac3d54 100644 > > --- a/arch/x86/kvm/vmx.c > > +++ b/arch/x86/kvm/vmx.c > > @@ -1882,6 +1882,7 @@ static __init void nested_vmx_setup_ctls_msrs(void) > > #endif > > CPU_BASED_MOV_DR_EXITING | CPU_BASED_UNCOND_IO_EXITING | > > CPU_BASED_USE_IO_BITMAPS | CPU_BASED_MONITOR_EXITING | > > + CPU_BASED_RDPMC_EXITING | > > CPU_BASED_ACTIVATE_SECONDARY_CONTROLS; > > /* > > * We can allow some features even when not supported by the > > What tree is this based on? This patch fails here when to applying to > latest kernel tree. > kvm.git next (like all my patches). -- error compiling committee.c: too many arguments to function