Re: [PATCH v1 7/9] gdbstub: move sstep flags probing into AccelClass

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

 



On 22/9/22 16:58, Alex Bennée wrote:
The support of single-stepping is very much dependent on support from
the accelerator we are using. To avoid special casing in gdbstub move
the probing out to an AccelClass function so future accelerators can
put their code there.

Signed-off-by: Alex Bennée <alex.bennee@xxxxxxxxxx>
Cc: Mads Ynddal <mads@xxxxxxxxx>
---
  include/qemu/accel.h | 12 ++++++++++++
  include/sysemu/kvm.h |  8 --------
  accel/accel-common.c | 10 ++++++++++
  accel/kvm/kvm-all.c  | 14 +++++++++++++-
  accel/tcg/tcg-all.c  | 17 +++++++++++++++++
  gdbstub/gdbstub.c    | 22 ++++------------------
  6 files changed, 56 insertions(+), 27 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <f4bug@xxxxxxxxx>



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux