QMP: Add cpu-add command
authorIgor Mammedov <imammedo@redhat.com>
Tue, 30 Apr 2013 13:41:25 +0000 (15:41 +0200)
committerAndreas Färber <afaerber@suse.de>
Wed, 1 May 2013 11:06:07 +0000 (13:06 +0200)
commit69ca3ea5e192251f27510554611bcff6f036a00b
tree037f67da32c909818efef1123be357feb44b6168
parentb4fc7b4326112538e0dbdc7fd019652ba8cc3281
QMP: Add cpu-add command

Adds "cpu-add id=xxx" QMP command.

cpu-add's "id" argument is a CPU number in a range [0..max-cpus)

Example QMP command:
 -> { "execute": "cpu-add", "arguments": { "id": 2 } }
 <- { "return": {} }

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Acked-by: Luiz Capitulino <lcapitulino@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
qapi-schema.json
qmp-commands.hx
qmp.c