[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 08/10] hmp: Report 'one-insn-per-tb', not 'single step mode',
From: |
Peter Maydell |
Subject: |
[PATCH v2 08/10] hmp: Report 'one-insn-per-tb', not 'single step mode', in 'info status' output |
Date: |
Mon, 3 Apr 2023 15:46:35 +0100 |
The HMP 'info status' output includes "(single step mode)" when we are
running with TCG one-insn-per-tb enabled. Change this text to
"(one insn per TB)" to match the new command line option names.
We don't need to have a deprecation/transition plan for this, because
we make no guarantees about stability of HMP output.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
softmmu/runstate-hmp-cmds.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/softmmu/runstate-hmp-cmds.c b/softmmu/runstate-hmp-cmds.c
index 76d1399ed85..20facb055f0 100644
--- a/softmmu/runstate-hmp-cmds.c
+++ b/softmmu/runstate-hmp-cmds.c
@@ -30,7 +30,7 @@ void hmp_info_status(Monitor *mon, const QDict *qdict)
monitor_printf(mon, "VM status: %s%s",
info->running ? "running" : "paused",
- info->singlestep ? " (single step mode)" : "");
+ info->singlestep ? " (one insn per TB)" : "");
if (!info->running && info->status != RUN_STATE_PAUSED) {
monitor_printf(mon, " (%s)", RunState_str(info->status));
--
2.34.1
- [PATCH v2 00/10] Deprecate/rename singlestep command line option, monitor interfaces, Peter Maydell, 2023/04/03
- [PATCH v2 01/10] make one-insn-per-tb an accel option, Peter Maydell, 2023/04/03
- [PATCH v2 05/10] bsd-user: Add '-one-insn-per-tb' option equivalent to '-singlestep', Peter Maydell, 2023/04/03
- [PATCH v2 02/10] softmmu: Don't use 'singlestep' global in QMP and HMP commands, Peter Maydell, 2023/04/03
- [PATCH v2 06/10] Document that -singlestep command line option is deprecated, Peter Maydell, 2023/04/03
- [PATCH v2 08/10] hmp: Report 'one-insn-per-tb', not 'single step mode', in 'info status' output,
Peter Maydell <=
- [PATCH v2 03/10] tcg: Use one-insn-per-tb accelerator property in curr_cflags(), Peter Maydell, 2023/04/03
- [PATCH v2 09/10] qapi/run-state.json: Fix missing newline at end of file, Peter Maydell, 2023/04/03
- [PATCH v2 10/10] hmp: Deprecate 'singlestep' member of StatusInfo, Peter Maydell, 2023/04/03