On Tue, Nov 25, 2025 at 04:21:01PM +0200, andrey.drobyshev@virtuozzo.com wrote:
> From: Andrey Drobyshev <andrey.drobyshev@virtuozzo.com>
>
> Commands 'qemu mtree' and 'qemu timers' are currently not working.
> Luckily, fixing them requires minimal effort.
>
> The most interesting part is adding '--detailed' option into 'qemu bt'
> and 'qemu coroutine' commands. That is based on the previous downstream
> work by Vladimir. As this approach is much heavier than the current
> stack unwinding, we add it as non-default behaviour.
>
> Andrey Drobyshev (4):
> scripts/qemugdb: mtree: Fix OverflowError in mtree with 128-bit
> addresses
> scripts/qemugdb: timers: Fix KeyError in 'qemu timers' command
> scripts/qemugdb: timers: Improve 'qemu timers' command readability
> scripts/qemugdb: coroutine: Add option for obtaining detailed trace in
> coredump
>
> scripts/qemugdb/coroutine.py | 126 ++++++++++++++++++++++++++++++++---
> scripts/qemugdb/mtree.py | 2 +-
> scripts/qemugdb/timers.py | 54 ++++++++++++---
> 3 files changed, 162 insertions(+), 20 deletions(-)
>
> --
> 2.43.5
>
Aside from the question about script(1):
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>