From: Satheesh Rajendran Date: Tue, 27 Mar 2018 12:38:00 +0000 (+0530) Subject: hmp.c: Revert hmp_info_cpus output format change X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=0dfddbb537fcb0fbd045e1c890bc0e95f2ea5177;p=qemu.git hmp.c: Revert hmp_info_cpus output format change Commit 137b5cb6 refactored 'info cpus' output, changing 'thread_id' to 'thread-id'. While HMP is not a stable interface, it is trivial to keep the spelling consistent for test frameworks that have not yet updated to using QMP. This patch just reverts back output format to 'thread_id'. CC: Viktor Mihajlovski Signed-off-by: Satheesh Rajendran Message-Id: <20180327123800.28851-1-sathnaga@linux.vnet.ibm.com> Reviewed-by: Eric Blake Acked-by: Dr. David Alan Gilbert [eblake: improve commit message] Reviewed-by: Cornelia Huck Signed-off-by: Eric Blake --- diff --git a/hmp.c b/hmp.c index 679467d85a..a25c7bd9a8 100644 --- a/hmp.c +++ b/hmp.c @@ -381,7 +381,7 @@ void hmp_info_cpus(Monitor *mon, const QDict *qdict) monitor_printf(mon, "%c CPU #%" PRId64 ":", active, cpu->value->cpu_index); - monitor_printf(mon, " thread-id=%" PRId64 "\n", cpu->value->thread_id); + monitor_printf(mon, " thread_id=%" PRId64 "\n", cpu->value->thread_id); } qapi_free_CpuInfoFastList(cpu_list);