From e9b2bfaa64139f959fb8fe0b653ddff3b1b93601 Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Fri, 4 Sep 2020 16:41:56 +0100 Subject: target/arm: Remove no-longer-reachable 32-bit KVM code Now that 32-bit KVM host support is gone, KVM can never be enabled unless CONFIG_AARCH64 is true, and some code paths are no longer reachable and can be deleted. Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé Message-id: 20200904154156.31943-3-peter.maydell@linaro.org --- target/arm/kvm_arm.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'target/arm/kvm_arm.h') diff --git a/target/arm/kvm_arm.h b/target/arm/kvm_arm.h index adb38514bf..bc178eeb84 100644 --- a/target/arm/kvm_arm.h +++ b/target/arm/kvm_arm.h @@ -406,13 +406,7 @@ static inline const char *gic_class_name(void) static inline const char *gicv3_class_name(void) { if (kvm_irqchip_in_kernel()) { -#ifdef TARGET_AARCH64 return "kvm-arm-gicv3"; -#else - error_report("KVM GICv3 acceleration is not supported on this " - "platform"); - exit(1); -#endif } else { if (kvm_enabled()) { error_report("Userspace GICv3 is not supported with KVM"); -- cgit v1.2.3-55-g7522