From 25ad0dbb741d8cd03230ca5f85de80d190096993 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Fri, 28 Aug 2026 16:04:00 +0400 Subject: [PATCH] hmp: remove 'vcpu' argument from trace-event help MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes: 89aafcf2a793 ("trace: remove code that depends on setting vcpu") Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Daniel P. Berrangé Signed-off-by: Marc-André Lureau Message-ID: <20260828-qemu-no-hmp-v5-3-9227de146347@redhat.com> --- hmp-commands-info.hx | 6 +++--- hmp-commands.hx | 7 +++---- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/hmp-commands-info.hx b/hmp-commands-info.hx index 82134eb6c2..2695ff04ff 100644 --- a/hmp-commands-info.hx +++ b/hmp-commands-info.hx @@ -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, }, diff --git a/hmp-commands.hx b/hmp-commands.hx index 43ff220b5f..ea4a1db78f 100644 --- a/hmp-commands.hx +++ b/hmp-commands.hx @@ -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, },