summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2025-05-29 17:45:12 +0100
committerPeter Maydell <peter.maydell@linaro.org>2025-05-29 17:45:12 +0100
commit3d28b2ce00e8b5e74e1f5cbba13cf306b8360762 (patch)
tree2fce9747e8efa1cf3fe7392bcb30dbdd95b961e6
parente0f224ec077d90c10288a4f73d01a264b0364e46 (diff)
downloadfocaccia-qemu-3d28b2ce00e8b5e74e1f5cbba13cf306b8360762.tar.gz
focaccia-qemu-3d28b2ce00e8b5e74e1f5cbba13cf306b8360762.zip
target/arm/kvm: Include missing 'cpu-qom.h' header
ARMCPU typedef is declared in "cpu-qom.h". Include it in
order to avoid when refactoring unrelated headers:

  target/arm/kvm_arm.h:54:29: error: unknown type name 'ARMCPU'
     54 | bool write_list_to_kvmstate(ARMCPU *cpu, int level);
        |                             ^

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-id: 20250513173928.77376-9-philmd@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to '')
-rw-r--r--target/arm/kvm_arm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/arm/kvm_arm.h b/target/arm/kvm_arm.h
index c4178d1327..7dc83caed5 100644
--- a/target/arm/kvm_arm.h
+++ b/target/arm/kvm_arm.h
@@ -12,6 +12,7 @@
 #define QEMU_KVM_ARM_H
 
 #include "system/kvm.h"
+#include "target/arm/cpu-qom.h"
 
 #define KVM_ARM_VGIC_V2   (1 << 0)
 #define KVM_ARM_VGIC_V3   (1 << 1)