[PATCH v4 5/5] system: Reduce 'arch_init.h' scope

Philippe Mathieu-Daudé posted 5 patches 1 month, 3 weeks ago
Maintainers: Paolo Bonzini <pbonzini@redhat.com>, Fam Zheng <fam@euphon.net>, Pierrick Bouvier <pierrick.bouvier@linaro.org>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, "Marc-André Lureau" <marcandre.lureau@redhat.com>, "Daniel P. Berrangé" <berrange@redhat.com>
[PATCH v4 5/5] system: Reduce 'arch_init.h' scope
Posted by Philippe Mathieu-Daudé 1 month, 3 weeks ago
Better to restrict qemu_arch_available() scope so it is only
used by generic system/ code to parse command line options.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
 {include/system => system}/arch_init.h | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename {include/system => system}/arch_init.h (100%)

diff --git a/include/system/arch_init.h b/system/arch_init.h
similarity index 100%
rename from include/system/arch_init.h
rename to system/arch_init.h
-- 
2.52.0


Re: [PATCH v4 5/5] system: Reduce 'arch_init.h' scope
Posted by Pierrick Bouvier 1 month, 3 weeks ago
On 2/13/26 9:50 AM, Philippe Mathieu-Daudé wrote:
> Better to restrict qemu_arch_available() scope so it is only
> used by generic system/ code to parse command line options.
> 
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> ---
>   {include/system => system}/arch_init.h | 0
>   1 file changed, 0 insertions(+), 0 deletions(-)
>   rename {include/system => system}/arch_init.h (100%)
> 

Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>