qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v1 9/9] gdbstub: move guest debug support check to ops


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH v1 9/9] gdbstub: move guest debug support check to ops
Date: Thu, 22 Sep 2022 23:51:06 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.13.1

On 22/9/22 16:58, Alex Bennée wrote:
This removes the final hard coding of kvm_enabled() in gdbstub and
moves the check to an AccelOps.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Cc: Mads Ynddal <mads@ynddal.dk>
---
  accel/kvm/kvm-cpus.h       | 1 +
  gdbstub/internals.h        | 1 +
  include/sysemu/accel-ops.h | 1 +
  include/sysemu/kvm.h       | 7 -------
  accel/kvm/kvm-accel-ops.c  | 1 +
  accel/kvm/kvm-all.c        | 6 ++++++
  accel/tcg/tcg-accel-ops.c  | 6 ++++++
  gdbstub/gdbstub.c          | 5 ++---
  gdbstub/softmmu.c          | 9 +++++++++
  gdbstub/user.c             | 6 ++++++
  10 files changed, 33 insertions(+), 10 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>



reply via email to

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