hmp: remove 'vcpu' argument from trace-event help

Fixes: 89aafcf2a7 ("trace: remove code that depends on setting vcpu")
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-ID: <20260828-qemu-no-hmp-v5-3-9227de146347@redhat.com>
This commit is contained in:
Marc-André Lureau committed 2026-08-29 12:07:43 +04:00
1 parent 451bdd977f
commit 25ad0dbb74
2 files changed
+6 -7

No files matched your search

+3 -3
View File
@@ -587,10 +587,10 @@ ERST
{
.name = "trace-events",
.args_type = "name:s?,vcpu:i?",
.params = "[name] [vcpu]",
.args_type = "name:s?",
.params = "[name]",
.help = "show available trace-events & their state "
"(name: event name pattern; vcpu: vCPU to query, default is any)",
"(name: event name pattern)",
.cmd = hmp_info_trace_events,
.command_completion = info_trace_events_completion,
},
+3 -4
View File
@@ -299,10 +299,9 @@ ERST
{
.name = "trace-event",
.args_type = "name:s,option:b,vcpu:i?",
.params = "name on|off [vcpu]",
.help = "changes status of a specific trace event "
"(vcpu: vCPU to set, default is all)",
.args_type = "name:s,option:b",
.params = "name on|off",
.help = "changes status of a specific trace event",
.cmd = hmp_trace_event,
.command_completion = trace_event_completion,
},