On 7/2/23 14:17, Mads Ynddal wrote:
From: Mads Ynddal <m.ynddal@xxxxxxxxxxx> Continuing the refactor of a48e7d9e52 (gdbstub: move guest debug support check to ops) by removing hardcoded kvm_enabled() from generic cpu.c code, and replace it with a property of AccelOpsClass. Signed-off-by: Mads Ynddal <m.ynddal@xxxxxxxxxxx> --- accel/kvm/kvm-accel-ops.c | 5 +++++ cpu.c | 11 ++++++++--- include/sysemu/accel-ops.h | 1 + 3 files changed, 14 insertions(+), 3 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <philmd@xxxxxxxxxx>