[PATCH v14 03/19] hvf: hvf-all: stop including hvf_arm.h

Mohamed Mediouni posted 19 patches 1 month, 1 week ago
Maintainers: Cameron Esfahani <dirty@apple.com>, Roman Bolshakov <rbolshakov@ddn.com>, Phil Dennis-Jordan <phil@philjordan.eu>, Peter Maydell <peter.maydell@linaro.org>, Paolo Bonzini <pbonzini@redhat.com>, Alexander Graf <agraf@csgraf.de>
There is a newer version of this series
[PATCH v14 03/19] hvf: hvf-all: stop including hvf_arm.h
Posted by Mohamed Mediouni 1 month, 1 week ago
Signed-off-by: Mohamed Mediouni <mohamed@unpredictable.fr>
---
 accel/hvf/hvf-all.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/accel/hvf/hvf-all.c b/accel/hvf/hvf-all.c
index 033c677b6f..5f357c6d19 100644
--- a/accel/hvf/hvf-all.c
+++ b/accel/hvf/hvf-all.c
@@ -18,7 +18,6 @@
 #include "system/hvf_int.h"
 #include "hw/core/cpu.h"
 #include "hw/core/boards.h"
-#include "target/arm/hvf_arm.h"
 #include "trace.h"
 
 bool hvf_allowed;
-- 
2.50.1 (Apple Git-155)
Re: [PATCH v14 03/19] hvf: hvf-all: stop including hvf_arm.h
Posted by Peter Maydell 1 month, 1 week ago
On Fri, 6 Mar 2026 at 08:31, Mohamed Mediouni <mohamed@unpredictable.fr> wrote:
>
> Signed-off-by: Mohamed Mediouni <mohamed@unpredictable.fr>
> ---
>  accel/hvf/hvf-all.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/accel/hvf/hvf-all.c b/accel/hvf/hvf-all.c
> index 033c677b6f..5f357c6d19 100644
> --- a/accel/hvf/hvf-all.c
> +++ b/accel/hvf/hvf-all.c
> @@ -18,7 +18,6 @@
>  #include "system/hvf_int.h"
>  #include "hw/core/cpu.h"
>  #include "hw/core/boards.h"
> -#include "target/arm/hvf_arm.h"
>  #include "trace.h"

As an unneeded include and especially one pulling in a target
specific header into a generic source file:

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>

thanks
-- PMM