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

2022-09-26 Thread Richard Henderson
On 9/22/22 14: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 Cc: Mads Ynddal --- accel/kvm/kvm-cpus.h | 1 + gdbstub/internals.h| 1 + include/sysemu/accel-ops.h | 1 + includ

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

2022-09-22 Thread Philippe Mathieu-Daudé via
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 Cc: Mads Ynddal --- accel/kvm/kvm-cpus.h | 1 + gdbstub/internals.h| 1 + include/sysemu/accel-ops.h | 1 + incl

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

2022-09-22 Thread Alex Bennée
This removes the final hard coding of kvm_enabled() in gdbstub and moves the check to an AccelOps. Signed-off-by: Alex Bennée Cc: Mads Ynddal --- accel/kvm/kvm-cpus.h | 1 + gdbstub/internals.h| 1 + include/sysemu/accel-ops.h | 1 + include/sysemu/kvm.h | 7 --- accel/k