Merge tag 'kvm-x86-pmu-6.9' of https://github.com/kvm-x86/linux into HEAD
[linux-2.6-microblaze.git] / arch / x86 / kvm / vmx / nested.c
index 0cd977f..d05ddf7 100644 (file)
@@ -3606,7 +3606,7 @@ static int nested_vmx_run(struct kvm_vcpu *vcpu, bool launch)
                return 1;
        }
 
-       kvm_pmu_trigger_event(vcpu, PERF_COUNT_HW_BRANCH_INSTRUCTIONS);
+       kvm_pmu_trigger_event(vcpu, kvm_pmu_eventsel.BRANCH_INSTRUCTIONS_RETIRED);
 
        if (CC(evmptrld_status == EVMPTRLD_VMFAIL))
                return nested_vmx_failInvalid(vcpu);