@samitouri / QOSamiQemu / commits / e5590b5378

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>

Philippe Mathieu-Daudé committed Jun 13, 2026 at 16:12 UTC e5590b5378fec36f5fa775198d55b23418437f7a
2 files changed +1 -2
accel/hvf/hvf-all.c
+1 -1
@@ -25,7 +25,7 @@
25 bool hvf_allowed;
26 bool hvf_kernel_irqchip;
27 bool hvf_nested_virt;
28 -bool hvf_kernel_irqchip_override;
28 +static bool hvf_kernel_irqchip_override;
29
30 void hvf_nested_virt_enable(bool nested_virt)
31 {
include/system/hvf_int.h
-1
@@ -113,5 +113,4 @@ bool hvf_arch_cpu_realize(CPUState *cpu, Error **errp);
113 uint32_t hvf_arch_get_default_ipa_bit_size(void);
114 uint32_t hvf_arch_get_max_ipa_bit_size(void);
115
116 -extern bool hvf_kernel_irqchip_override;
116 #endif