[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH-for-10.1 03/13] target/arm/kvm: Include missing 'cpu-qom.h' heade
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH-for-10.1 03/13] target/arm/kvm: Include missing 'cpu-qom.h' header |
Date: |
Thu, 3 Apr 2025 00:23:23 +0200 |
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>
---
target/arm/kvm_arm.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/target/arm/kvm_arm.h b/target/arm/kvm_arm.h
index 05c3de8cd46..2db2f060e6a 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)
--
2.47.1
- [PATCH-for-10.1 00/13] arm: Spring header cleanups, Philippe Mathieu-Daudé, 2025/04/02
- [PATCH-for-10.1 01/13] target/arm/cpu-features: Include missing 'cpu.h' header, Philippe Mathieu-Daudé, 2025/04/02
- [PATCH-for-10.1 02/13] target/arm/qmp: Include missing 'cpu.h' header, Philippe Mathieu-Daudé, 2025/04/02
- [PATCH-for-10.1 03/13] target/arm/kvm: Include missing 'cpu-qom.h' header,
Philippe Mathieu-Daudé <=
- [PATCH-for-10.1 04/13] target/arm/hvf: Include missing 'cpu-qom.h' header, Philippe Mathieu-Daudé, 2025/04/02
- [PATCH-for-10.1 05/13] hw/arm: Remove unnecessary 'cpu.h' header, Philippe Mathieu-Daudé, 2025/04/02
- [PATCH-for-10.1 06/13] target/arm: Restrict inclusion of 'multiprocessing.h', Philippe Mathieu-Daudé, 2025/04/02
- [PATCH-for-10.1 07/13] target/arm: Move some definitions from 'cpu.h' to 'multiprocessing.h', Philippe Mathieu-Daudé, 2025/04/02
- [PATCH-for-10.1 10/13] target/arm: Extract feature definitions to 'cpu_has_feature.h' header, Philippe Mathieu-Daudé, 2025/04/02
- [PATCH-for-10.1 08/13] hw/arm: Include missing 'target/arm/gtimer.h' header, Philippe Mathieu-Daudé, 2025/04/02
- [PATCH-for-10.1 09/13] target/arm: Extract PSCI definitions to 'psci.h', Philippe Mathieu-Daudé, 2025/04/02
- [PATCH-for-10.1 11/13] target/arm: Add arm_cpu_has_feature() helper, Philippe Mathieu-Daudé, 2025/04/02
- [PATCH-for-10.1 13/13] hw/arm/virt-acpi: Replace arm_feature() -> arm_cpu_has_feature(), Philippe Mathieu-Daudé, 2025/04/02
- [PATCH-for-10.1 12/13] hw/arm/realview: Replace arm_feature() -> arm_cpu_has_feature(), Philippe Mathieu-Daudé, 2025/04/02