On Thu, 10 Aug 2023 at 02:28, Richard Henderson <richard.hender...@linaro.org> wrote: > > On 8/9/23 16:07, Helge Deller wrote: > > + /* did qemu source code crashed? */ > > + if (unlikely(!h2g_valid(host_addr))) { > > + qemu_show_backtrace(info); > > + } > > This won't do anything at all when reserved_va == 0, > i.e. 64-bit guest on 64-bit host, or any 32-bit host. > > The idea of having a backtrace is nice, I suppose, we just need > a better detector.
I think Dan also had a look at one point at doing backtraces for crashes in system emulation mode? Certainly this would be useful for test crashes in CI. thanks -- PMM