On Mon, 1 Jul 2019 at 20:50, Philippe Mathieu-Daudé <phi...@redhat.com> wrote: > > Per Peter Maydell: > > Semihosting hooks either SVC or HLT instructions, and inside KVM > both of those go to EL1, ie to the guest, and can't be trapped to > KVM. > > Let check_for_semihosting() return False when not running on TCG. > > Signed-off-by: Philippe Mathieu-Daudé <phi...@redhat.com> > --- > v3: inline call to g_assert_not_reached if !TCG > v4: fixed some ifdef that had moved in the next patch (Peter) > --- > target/arm/Makefile.objs | 2 +- > target/arm/cpu.h | 7 +++++++ > target/arm/helper.c | 8 +++++++- > 3 files changed, 15 insertions(+), 2 deletions(-) Reviewed-by: Peter Maydell <peter.mayd...@linaro.org>
thanks -- PMM