Commit e5590b5378 for qemu.org
commit e5590b5378fec36f5fa775198d55b23418437f7a
Author: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
Date: Sat Jun 13 16:12:58 2026 +0200
accel/hvf: Reduce hvf_kernel_irqchip_override scope
hvf_kernel_irqchip_override is only used within the
accel/hvf/hvf-all.c file, no need to expose the symbol.
Signed-off-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
Reviewed-by: Mohamed Mediouni <mohamed@unpredictable.fr>
Message-Id: <20260613145356.88410-1-philmd@oss.qualcomm.com>
diff --git a/accel/hvf/hvf-all.c b/accel/hvf/hvf-all.c
index 946dbca59d..21b9b71a6d 100644
--- a/accel/hvf/hvf-all.c
+++ b/accel/hvf/hvf-all.c
@@ -25,7 +25,7 @@
bool hvf_allowed;
bool hvf_kernel_irqchip;
bool hvf_nested_virt;
-bool hvf_kernel_irqchip_override;
+static bool hvf_kernel_irqchip_override;
void hvf_nested_virt_enable(bool nested_virt)
{
diff --git a/include/system/hvf_int.h b/include/system/hvf_int.h
index d5eaf26dda..58fb865eba 100644
--- a/include/system/hvf_int.h
+++ b/include/system/hvf_int.h
@@ -113,5 +113,4 @@ bool hvf_arch_cpu_realize(CPUState *cpu, Error **errp);
uint32_t hvf_arch_get_default_ipa_bit_size(void);
uint32_t hvf_arch_get_max_ipa_bit_size(void);
-extern bool hvf_kernel_irqchip_override;
#endif