summary refs log tree commit diff stats
path: root/include/system/hw_accel.h
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2025-06-16 16:09:08 +0200
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2025-07-04 12:08:38 +0200
commit1f8b0b64736e978120753e63c51921573962a54c (patch)
tree59b01b65aedcbc0c9884aaf896005c07ea8856b4 /include/system/hw_accel.h
parent476e7379652d357f1053d340968e7f8d5c5b5281 (diff)
downloadfocaccia-qemu-1f8b0b64736e978120753e63c51921573962a54c.tar.gz
focaccia-qemu-1f8b0b64736e978120753e63c51921573962a54c.zip
accel/system: Document cpu_synchronize_state()
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Message-Id: <20250703173248.44995-23-philmd@linaro.org>
Diffstat (limited to '')
-rw-r--r--include/system/hw_accel.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/include/system/hw_accel.h b/include/system/hw_accel.h
index 380e9e640b..574c973840 100644
--- a/include/system/hw_accel.h
+++ b/include/system/hw_accel.h
@@ -17,9 +17,18 @@
 #include "system/whpx.h"
 #include "system/nvmm.h"
 
+/**
+ * cpu_synchronize_state:
+ * cpu_synchronize_pre_loadvm:
+ * @cpu: The vCPU to synchronize.
+ *
+ * Request to synchronize QEMU vCPU registers from the hardware accelerator
+ * (the hardware accelerator is the reference).
+ */
 void cpu_synchronize_state(CPUState *cpu);
+void cpu_synchronize_pre_loadvm(CPUState *cpu);
+
 void cpu_synchronize_post_reset(CPUState *cpu);
 void cpu_synchronize_post_init(CPUState *cpu);
-void cpu_synchronize_pre_loadvm(CPUState *cpu);
 
 #endif /* QEMU_HW_ACCEL_H */