]> git.proxmox.com Git - mirror_qemu.git/commit
softmmu: Don't use 'singlestep' global in QMP and HMP commands
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 17 Apr 2023 16:40:33 +0000 (17:40 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 2 May 2023 14:47:40 +0000 (15:47 +0100)
commit93cbd6c91db6bb4e44580118865862f716338f14
treea740138a4d33fa920aa842295290d0fbde3de0b4
parent3cfb0456c352288d5104a89cceb25f7dcda5d4c0
softmmu: Don't use 'singlestep' global in QMP and HMP commands

The HMP 'singlestep' command, the QMP 'query-status' command and the
HMP 'info status' command (which is just wrapping the QMP command
implementation) look at the 'singlestep' global variable. Make them
access the new TCG accelerator 'one-insn-per-tb' property instead.

This leaves the HMP and QMP command/field names and output strings
unchanged; we will clean that up later.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-id: 20230417164041.684562-3-peter.maydell@linaro.org
softmmu/runstate-hmp-cmds.c
softmmu/runstate.c