mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
trace: Remove deprecated 'vcpu' field from QMP trace events
'vcpu' fields are deprecated since commit 5485e52a33
("qapi: make the vcpu parameters deprecated for 8.1"),
time to remove them.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20240530071548.20074-3-philmd@linaro.org>
This commit is contained in:
parent
0f910b8724
commit
7ffc4894a6
5 changed files with 11 additions and 39 deletions
|
@ -40,7 +40,7 @@ void hmp_trace_event(Monitor *mon, const QDict *qdict)
|
|||
Error *local_err = NULL;
|
||||
|
||||
qmp_trace_event_set_state(tp_name, new_state,
|
||||
true, true, false, 0, &local_err);
|
||||
true, true, &local_err);
|
||||
if (local_err) {
|
||||
error_report_err(local_err);
|
||||
}
|
||||
|
@ -82,7 +82,7 @@ void hmp_info_trace_events(Monitor *mon, const QDict *qdict)
|
|||
name = "*";
|
||||
}
|
||||
|
||||
events = qmp_trace_event_get_state(name, false, 0, &local_err);
|
||||
events = qmp_trace_event_get_state(name, &local_err);
|
||||
if (local_err) {
|
||||
error_report_err(local_err);
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue