On Thu, 26 Nov 2020 14:49:16 +0000, Alexandru Elisei wrote: > When enabling the PMU in kvm_arm_pmu_v3_enable(), KVM returns early if the > PMU flag created is false and skips any other checks. Because PMU emulation > is gated only on the VCPU feature being set, this makes it possible for > userspace to get away with setting the VCPU feature but not doing any > initialization for the PMU. Fix it by returning an error when trying to run > the VCPU if the PMU hasn't been initialized correctly. > > [...] Applied to kvm-arm64/pmu-undef, thanks! [1/1] KVM: arm64: Refuse to run VCPU if PMU is not initialized commit: 9bbfa4b565379eeb2fb8fdbcc9979549ae0e48d9 Cheers, M. -- Without deviation from the norm, progress is not possible. _______________________________________________ kvmarm mailing list kvmarm@xxxxxxxxxxxxxxxxxxxxx https://lists.cs.columbia.edu/mailman/listinfo/kvmarm