Re: [PATCH-for-9.0 02/16] target/arm/kvm: Remove unused includes

2023-11-26 Thread Gavin Shan

On 11/24/23 05:35, Philippe Mathieu-Daudé wrote:

Both MemoryRegion and Error types are forward declared
in "qemu/typedefs.h".

Signed-off-by: Philippe Mathieu-Daudé 
---
  target/arm/kvm_arm.h | 2 --
  1 file changed, 2 deletions(-)



Reviewed-by: Gavin Shan 




[PATCH-for-9.0 02/16] target/arm/kvm: Remove unused includes

2023-11-23 Thread Philippe Mathieu-Daudé
Both MemoryRegion and Error types are forward declared
in "qemu/typedefs.h".

Signed-off-by: Philippe Mathieu-Daudé 
---
 target/arm/kvm_arm.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/target/arm/kvm_arm.h b/target/arm/kvm_arm.h
index 2037b2d7ea..50967f4ae9 100644
--- a/target/arm/kvm_arm.h
+++ b/target/arm/kvm_arm.h
@@ -12,8 +12,6 @@
 #define QEMU_KVM_ARM_H
 
 #include "sysemu/kvm.h"
-#include "exec/memory.h"
-#include "qemu/error-report.h"
 
 #define KVM_ARM_VGIC_V2   (1 << 0)
 #define KVM_ARM_VGIC_V3   (1 << 1)
-- 
2.41.0