On 6/20/25 10:13, Philippe Mathieu-Daudé wrote:
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>
---
  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: Richard Henderson <richard.hender...@linaro.org>

r~

Reply via email to