@samitouri / QOSamiQemu / commits / 5283e38fd1

target/arm: Remove aarch64 test for kvm

We no longer support kvm for aarch32, therefore the aarch64 test is trivially true. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 20260216034432.23912-3-richard.henderson@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

Richard Henderson committed Feb 26, 2026 at 11:27 UTC 5283e38fd1f318a49a986f6d5edd7f3089a7e461
1 file changed +1 -3
target/arm/cpu64.c
+1 -3
@@ -799,9 +799,7 @@ static void aarch64_host_initfn(Object *obj)
799 ARMCPU *cpu = ARM_CPU(obj);
800 #if defined(CONFIG_KVM)
801 kvm_arm_set_cpu_features_from_host(cpu);
802 - if (arm_feature(&cpu->env, ARM_FEATURE_AARCH64)) {
803 - aarch64_add_sve_properties(obj);
804 - }
802 + aarch64_add_sve_properties(obj);
803 #elif defined(CONFIG_HVF)
804 hvf_arm_set_cpu_features_from_host(cpu);
805 #elif defined(CONFIG_WHPX)