qmp-commands: move 'cpu-add' doc to schema
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
This commit is contained in:
parent
04fcbabc45
commit
a7b83754aa
@ -219,20 +219,6 @@ Example:
|
||||
|
||||
Note: CPUs' indexes are obtained with the 'query-cpus' command.
|
||||
|
||||
cpu-add
|
||||
-------
|
||||
|
||||
Adds virtual cpu
|
||||
|
||||
Arguments:
|
||||
|
||||
- "id": cpu id (json-int)
|
||||
|
||||
Example:
|
||||
|
||||
-> { "execute": "cpu-add", "arguments": { "id": 2 } }
|
||||
<- { "return": {} }
|
||||
|
||||
memsave
|
||||
-------
|
||||
|
||||
|
@ -2203,6 +2203,12 @@
|
||||
# Returns: Nothing on success
|
||||
#
|
||||
# Since: 1.5
|
||||
#
|
||||
# Example:
|
||||
#
|
||||
# -> { "execute": "cpu-add", "arguments": { "id": 2 } }
|
||||
# <- { "return": {} }
|
||||
#
|
||||
##
|
||||
{ 'command': 'cpu-add', 'data': {'id': 'int'} }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user