diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-01-17 16:14:28 +0100 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2024-01-19 11:38:32 +0100 |
commit | fe17522d854aa7da4c01ca80ef194af4c2aaead3 (patch) | |
tree | ff31ee32fa166ade1f65255ba112465ee6c8493d /system/runstate.c | |
parent | 1e7886e9e2068a4d83c1a05011cf21e638090ec5 (diff) |
qapi: Remove deprecated 'singlestep' member of StatusInfo
This member has been deprecated before the 8.1 release, in commit
34c18203d4 ("qmp: Deprecate 'singlestep' member of StatusInfo").
Time to drop it.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20240117151430.29235-2-philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'system/runstate.c')
-rw-r--r-- | system/runstate.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/system/runstate.c b/system/runstate.c index fb07b7b71a..d6ab860eca 100644 --- a/system/runstate.c +++ b/system/runstate.c @@ -242,15 +242,7 @@ bool runstate_needs_reset(void) StatusInfo *qmp_query_status(Error **errp) { StatusInfo *info = g_malloc0(sizeof(*info)); - AccelState *accel = current_accel(); - /* - * We ignore errors, which will happen if the accelerator - * is not TCG. "singlestep" is meaningless for other accelerators, - * so we will set the StatusInfo field to false for those. - */ - info->singlestep = object_property_get_bool(OBJECT(accel), - "one-insn-per-tb", NULL); info->running = runstate_is_running(); info->status = current_run_state; |