diff options
author | Peter Maydell | 2020-09-04 17:41:56 +0200 |
---|---|---|
committer | Peter Maydell | 2020-09-14 15:23:19 +0200 |
commit | e9b2bfaa64139f959fb8fe0b653ddff3b1b93601 (patch) | |
tree | e2fbd75e17f3baa2741160f28d8a9cc6445d4e8a /target/arm/kvm_arm.h | |
parent | target/arm: Remove KVM support for 32-bit Arm hosts (diff) | |
download | qemu-e9b2bfaa64139f959fb8fe0b653ddff3b1b93601.tar.gz qemu-e9b2bfaa64139f959fb8fe0b653ddff3b1b93601.tar.xz qemu-e9b2bfaa64139f959fb8fe0b653ddff3b1b93601.zip |
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 <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20200904154156.31943-3-peter.maydell@linaro.org
Diffstat (limited to 'target/arm/kvm_arm.h')
-rw-r--r-- | target/arm/kvm_arm.h | 6 |
1 files changed, 0 insertions, 6 deletions
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"); |