On 15/9/23 21:00, Philippe Mathieu-Daudé wrote:
Prepare the stub for parity with accel_cpu_realize().
Signed-off-by: Philippe Mathieu-Daudé <philmd@xxxxxxxxxx>
---
include/qemu/accel.h | 6 ++++++
accel/accel-common.c | 4 ++++
cpu.c | 3 ++-
3 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/include/qemu/accel.h b/include/qemu/accel.h
index cb64a07b84..23254c6c9c 100644
--- a/include/qemu/accel.h
+++ b/include/qemu/accel.h
@@ -96,6 +96,12 @@ void accel_cpu_instance_init(CPUState *cpu);
*/
bool accel_cpu_realize(CPUState *cpu, Error **errp);
+/**
+ * accel_cpu_unrealizefn:
"accel_cpu_unrealize"
+ * @cpu: The CPU that needs to call accel-specific cpu unrealization.
+ */
+void accel_cpu_unrealize(CPUState *cpu);