ping?

On 4/4/25 01:58, Philippe Mathieu-Daudé wrote:
"system/hvf.h" doesn't need to include a full "cpu.h",
only "exec/vaddr.h" and "qemu/queue.h" are required.

Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org>
---
  include/system/hvf.h     | 3 ++-
  include/system/hvf_int.h | 2 ++
  2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/include/system/hvf.h b/include/system/hvf.h
index 730f927f034..d50049e1a1a 100644
--- a/include/system/hvf.h
+++ b/include/system/hvf.h
@@ -14,10 +14,11 @@
  #define HVF_H
#include "qemu/accel.h"
+#include "qemu/queue.h"
+#include "exec/vaddr.h"
  #include "qom/object.h"
#ifdef COMPILING_PER_TARGET
-#include "cpu.h"
#ifdef CONFIG_HVF
  extern bool hvf_allowed;
diff --git a/include/system/hvf_int.h b/include/system/hvf_int.h
index 42ae18433f0..8c8b84012d9 100644
--- a/include/system/hvf_int.h
+++ b/include/system/hvf_int.h
@@ -11,6 +11,8 @@
  #ifndef HVF_INT_H
  #define HVF_INT_H
+#include "qemu/queue.h"
+
  #ifdef __aarch64__
  #include <Hypervisor/Hypervisor.h>
  typedef hv_vcpu_t hvf_vcpuid;


Reply via email to