diff options
author | Jason J. Herne <jjherne@us.ibm.com> | 2013-12-11 13:24:14 -0500 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2014-01-06 13:45:39 -0500 |
commit | abf233294bc8a4d2c7d5f428f1408d7bdd0c02e0 (patch) | |
tree | 76a4ecdf2bca399a6cc6b8827d86621d5815f074 /hmp-commands.hx | |
parent | eca01d3a93be4041ac5858ef7676e60352e9c2ed (diff) | |
download | qemu-abf233294bc8a4d2c7d5f428f1408d7bdd0c02e0.zip qemu-abf233294bc8a4d2c7d5f428f1408d7bdd0c02e0.tar.gz qemu-abf233294bc8a4d2c7d5f428f1408d7bdd0c02e0.tar.bz2 |
qemu-monitor: HMP cpu-add wrapper
Add HMP cpu-add wrapper to allow cpu hot plugging via monitor.
Signed-off-by: Jason J. Herne <jjherne@us.ibm.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'hmp-commands.hx')
-rw-r--r-- | hmp-commands.hx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/hmp-commands.hx b/hmp-commands.hx index ebe8e78..929550d 100644 --- a/hmp-commands.hx +++ b/hmp-commands.hx @@ -1620,6 +1620,19 @@ 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 + + { .name = "info", .args_type = "item:s?", .params = "[subcommand]", |