target/arm/kvm.c checked PMU availability but claimed PMU is available even if it is not. In fact, Asahi Linux supports KVM but lacks PMU support. Only advertise PMU availability only when it is really available. Fixes: dc40d45ebd8e ("target/arm/kvm: Move kvm_arm_get_host_cpu_features and unexport") Signed-off-by: Akihiko Odaki <akihiko.odaki@xxxxxxxxxx> --- Akihiko Odaki (3): tests/arm-cpu-features: Do not assume PMU availability target/arm: Always add pmu property target/arm/kvm: Report PMU unavailability target/arm/cpu.c | 3 ++- target/arm/kvm.c | 2 +- tests/qtest/arm-cpu-features.c | 13 ++++++++----- 3 files changed, 11 insertions(+), 7 deletions(-) --- base-commit: 046a64b9801343e2e89eef10c7a48eec8d8c0d4f change-id: 20240629-pmu-ad5f67e2c5d0 Best regards, -- Akihiko Odaki <akihiko.odaki@xxxxxxxxxx>