On Thu, Jul 03, 2025 at 07:32:18PM +0200, Philippe Mathieu-Daudé wrote:
> Date: Thu,  3 Jul 2025 19:32:18 +0200
> From: Philippe Mathieu-Daudé <phi...@linaro.org>
> Subject: [PATCH v6 12/39] accel: Move supports_guest_debug() 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.
> 
> In order to have AccelClass methods instrospect their state,
> we need to pass AccelState by argument.
> 
> Restrict kvm_supports_guest_debug() scope.
> 
> Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org>
> Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
> ---
>  accel/kvm/kvm-cpus.h       | 1 -
>  include/qemu/accel.h       | 1 +
>  include/system/accel-ops.h | 1 -
>  include/system/hvf.h       | 2 +-
>  accel/hvf/hvf-accel-ops.c  | 2 +-
>  accel/kvm/kvm-accel-ops.c  | 1 -
>  accel/kvm/kvm-all.c        | 5 ++++-
>  accel/tcg/tcg-accel-ops.c  | 6 ------
>  accel/tcg/tcg-all.c        | 6 ++++++
>  gdbstub/system.c           | 8 +++++---
>  target/arm/hvf/hvf.c       | 2 +-
>  target/i386/hvf/hvf.c      | 2 +-
>  12 files changed, 20 insertions(+), 17 deletions(-)

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


Reply via email to