Commit 0dfddbb5 authored by Satheesh Rajendran's avatar Satheesh Rajendran Committed by Eric Blake

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: 's avatarSatheesh Rajendran <>
Message-Id: <>
Reviewed-by: 's avatarEric Blake <>
Acked-by: 's avatarDr. David Alan Gilbert <>
[eblake: improve commit message]
Reviewed-by: 's avatarCornelia Huck <>
Signed-off-by: 's avatarEric Blake <>
parent fa198ad9
......@@ -381,7 +381,7 @@ void hmp_info_cpus(Monitor *mon, const QDict *qdict)
monitor_printf(mon, "%c CPU #%" PRId64 ":", active,
monitor_printf(mon, " thread-id=%" PRId64 "\n", cpu->value->thread_id);
monitor_printf(mon, " thread_id=%" PRId64 "\n", cpu->value->thread_id);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment