qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 2/5] accel: Introduce accel_cpu_unrealize() stub


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH 2/5] accel: Introduce accel_cpu_unrealize() stub
Date: Fri, 15 Sep 2023 21:48:14 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.15.1

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@linaro.org>
---
  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);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]