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>
This commit is contained in:
Philippe Mathieu-Daudé 2025-06-16 16:09:08 +02:00
parent 476e737965
commit 1f8b0b6473
2 changed files with 19 additions and 2 deletions

View file

@ -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_post_reset(CPUState *cpu);
void cpu_synchronize_post_init(CPUState *cpu);
void cpu_synchronize_pre_loadvm(CPUState *cpu);
void cpu_synchronize_post_reset(CPUState *cpu);
void cpu_synchronize_post_init(CPUState *cpu);
#endif /* QEMU_HW_ACCEL_H */