diff options
| author | Igor Mammedov | 2013-04-30 15:41:25 +0200 |
|---|---|---|
| committer | Andreas Färber | 2013-05-01 13:06:07 +0200 |
| commit | 69ca3ea5e192251f27510554611bcff6f036a00b (patch) | |
| tree | 037f67da32c909818efef1123be357feb44b6168 /include | |
| parent | Add hot_add_cpu hook to QEMUMachine (diff) | |
| download | qemu-69ca3ea5e192251f27510554611bcff6f036a00b.tar.gz qemu-69ca3ea5e192251f27510554611bcff6f036a00b.tar.xz qemu-69ca3ea5e192251f27510554611bcff6f036a00b.zip | |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
