From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Ahern Subject: Re: [PATCH v2 08/11] KVM: VMX: Intercept RDPMC Date: Mon, 13 Jun 2011 10:59:35 -0600 Message-ID: <4DF641F7.3010603@cisco.com> References: <1307972106-2468-1-git-send-email-avi@redhat.com> <1307972106-2468-9-git-send-email-avi@redhat.com> <4DF637FE.1070006@cisco.com> <4DF63AD2.5000403@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Marcelo Tosatti , kvm@vger.kernel.org, Ingo Molnar , Peter Zijlstra , Arnaldo Carvalho de Melo To: Avi Kivity Return-path: Received: from sj-iport-3.cisco.com ([171.71.176.72]:54103 "EHLO sj-iport-3.cisco.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753974Ab1FMQ7h (ORCPT ); Mon, 13 Jun 2011 12:59:37 -0400 In-Reply-To: <4DF63AD2.5000403@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On 06/13/2011 10:29 AM, Avi Kivity wrote: > 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). > I should have known that. Is there some git magic I can use to avoid cloning yet another tree (I already have Ingo's tree for perf-core and perf-urgent along with Linus' tree)? I hand applied 8-11 to Linus' tree. Patch 5 adds a pmu.c and references pmu.h. Is that a new file as well (versus )? it's missing from the patch set. David