]> xenbits.xensource.com Git - qemu-upstream-4.3-testing.git/commit
QMP: Add cpu-add command
authorIgor Mammedov <imammedo@redhat.com>
Tue, 30 Apr 2013 13:41:25 +0000 (15:41 +0200)
committerAnthony PERARD <anthony.perard@citrix.com>
Mon, 17 Jun 2013 11:31:11 +0000 (12:31 +0100)
commit647e2f8c9c34947130c50e593a51fa50e9904145
tree361c99ccd2ebcba44d7ea7b190001a0d6749ded9
parent4b8e1c9837aef6297a2899fb2115c0b179250732
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>
(cherry picked from QEMU commit 69ca3ea5e192251f27510554611bcff6f036a00b)
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
qapi-schema.json
qmp-commands.hx
qmp.c