From abf233294bc8a4d2c7d5f428f1408d7bdd0c02e0 Mon Sep 17 00:00:00 2001 From: "Jason J. Herne" Date: Wed, 11 Dec 2013 13:24:14 -0500 Subject: qemu-monitor: HMP cpu-add wrapper Add HMP cpu-add wrapper to allow cpu hot plugging via monitor. Signed-off-by: Jason J. Herne Reviewed-by: Igor Mammedov Signed-off-by: Luiz Capitulino --- hmp-commands.hx | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'hmp-commands.hx') diff --git a/hmp-commands.hx b/hmp-commands.hx index ebe8e78bb9..929550d66b 100644 --- a/hmp-commands.hx +++ b/hmp-commands.hx @@ -1617,6 +1617,19 @@ STEXI Executes a qemu-io command on the given block device. +ETEXI + + { + .name = "cpu-add", + .args_type = "id:i", + .params = "id", + .help = "add cpu", + .mhandler.cmd = hmp_cpu_add, + }, + +STEXI +@item cpu-add @var{id} +Add CPU with id @var{id} ETEXI { -- cgit v1.2.3