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<avi@xxxxxxxxxx> >> > --- >> > 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 <linux/pmu.h>)? it's missing from the patch set. David -- 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