On Thu, Jul 03, 2025 at 07:32:19PM +0200, Philippe Mathieu-Daudé wrote:
> Date: Thu,  3 Jul 2025 19:32:19 +0200
> From: Philippe Mathieu-Daudé <phi...@linaro.org>
> Subject: [PATCH v6 13/39] accel: Move cpus_are_resettable() declaration to
>  AccelClass
> X-Mailer: git-send-email 2.49.0
> 
> AccelOpsClass is for methods dealing with vCPUs.
> When only dealing with AccelState, AccelClass is sufficient.
> 
> Move cpus_are_resettable() declaration to accel/accel-system.c.
> 
> In order to have AccelClass methods instrospect their state,
> we need to pass AccelState by argument.
> 
> Adapt KVM handler.
> 
> Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org>
> Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
> ---
>  include/qemu/accel.h       |  1 +
>  include/system/accel-ops.h |  1 -
>  accel/accel-system.c       | 10 ++++++++++
>  accel/kvm/kvm-accel-ops.c  |  6 ------
>  accel/kvm/kvm-all.c        |  6 ++++++
>  system/cpus.c              |  8 --------
>  6 files changed, 17 insertions(+), 15 deletions(-)

Reviewed-by: Zhao Liu <zhao1....@intel.com>


Reply via email to