summaryrefslogtreecommitdiffstats
path: root/hmp-commands-info.hx
diff options
context:
space:
mode:
authorBharata B Rao2016-06-10 02:59:07 +0200
committerDavid Gibson2016-06-17 08:33:49 +0200
commitd2d8d46ff7f3edb21e09ebace775474d356bb6b7 (patch)
tree51d12d87e10c2e42481f14fc014903f05ff63af0 /hmp-commands-info.hx
parentQMP: Add query-hotpluggable-cpus (diff)
downloadqemu-d2d8d46ff7f3edb21e09ebace775474d356bb6b7.tar.gz
qemu-d2d8d46ff7f3edb21e09ebace775474d356bb6b7.tar.xz
qemu-d2d8d46ff7f3edb21e09ebace775474d356bb6b7.zip
hmp: Add 'info hotpluggable-cpus' HMP command
This is the HMP equivalent for QMP query-hotpluggable-cpus. Signed-off-by: Bharata B Rao <bharata@linux.vnet.ibm.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> [dwg: Fixed problem with printf formats on 32-bit host] Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hmp-commands-info.hx')
-rw-r--r--hmp-commands-info.hx14
1 files changed, 14 insertions, 0 deletions
diff --git a/hmp-commands-info.hx b/hmp-commands-info.hx
index 52539c3109..7da9e6cb91 100644
--- a/hmp-commands-info.hx
+++ b/hmp-commands-info.hx
@@ -800,6 +800,20 @@ STEXI
Display the latest dump status.
ETEXI
+ {
+ .name = "hotpluggable-cpus",
+ .args_type = "",
+ .params = "",
+ .help = "Show information about hotpluggable CPUs",
+ .mhandler.cmd = hmp_hotpluggable_cpus,
+ },
+
+STEXI
+@item info hotpluggable-cpus
+@findex hotpluggable-cpus
+Show information about hotpluggable CPUs
+ETEXI
+
STEXI
@end table
ETEXI