[PATCH v2 07/10] hmp: Add 'one-insn-per-tb' command equivalent to 'singlestep'
Richard Henderson
richard.henderson at linaro.org
Mon Apr 3 19:22:13 UTC 2023
On 4/3/23 07:46, Peter Maydell wrote:
> The 'singlestep' HMP command is confusing, because it doesn't
> actually have anything to do with single-stepping the CPU. What it
> does do is force TCG emulation to put one guest instruction in each
> TB, which can be useful in some situations.
>
> Create a new HMP command 'one-insn-per-tb', so we can document that
> 'singlestep' is just a deprecated synonym for it, and eventually
> perhaps drop it.
>
> We aren't obliged to do deprecate-and-drop for HMP commands,
> but it's easy enough to do so, so we do.
>
> Signed-off-by: Peter Maydell<peter.maydell at linaro.org>
> ---
> docs/about/deprecated.rst | 9 +++++++++
> include/monitor/hmp.h | 2 +-
> softmmu/runstate-hmp-cmds.c | 2 +-
> tests/qtest/test-hmp.c | 1 +
> hmp-commands.hx | 25 +++++++++++++++++++++----
> 5 files changed, 33 insertions(+), 6 deletions(-)
Reviewed-by: Richard Henderson <richard.henderson at linaro.org>
r~
More information about the libvir-list
mailing list