> This removes the final hard coding of kvm_enabled() in gdbstub and > moves the check to an AccelOps. > > Reviewed-by: Philippe Mathieu-Daudé <[email protected]> > Signed-off-by: Alex Bennée <[email protected]> > Cc: Mads Ynddal <[email protected]> > --- > 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: Mads Ynddal <[email protected]>
