cloud-hypervisor/hypervisor
Alyssa Ross 1fc969d37a vmm: only use KVM_ARM_VCPU_PMU_V3 if available
Having PMU in guests isn't critical, and not all hardware supports
it (e.g. Apple Silicon).

CpuManager::init_pmu already has a fallback for if PMU is not
supported by the VCPU, but we weren't getting that far, because we
would always try to initialise the VCPU with KVM_ARM_VCPU_PMU_V3, and
then bail when it returned with EINVAL.

Signed-off-by: Alyssa Ross <hi@alyssa.is>
2023-04-18 16:40:57 -07:00
..
src vmm: only use KVM_ARM_VCPU_PMU_V3 if available 2023-04-18 16:40:57 -07:00
Cargo.toml build: Bump kvm-ioctls from 0.12.0 to 0.13.0 2023-04-18 16:40:57 -07:00