qmp-commands: move 'object-del' 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
6517192b16
commit
de0ba66226
@ -205,21 +205,6 @@ Example:
|
|||||||
<- { "return": { "status": "active", "completed": 1024000,
|
<- { "return": { "status": "active", "completed": 1024000,
|
||||||
"total": 2048000 } }
|
"total": 2048000 } }
|
||||||
|
|
||||||
object-del
|
|
||||||
----------
|
|
||||||
|
|
||||||
Remove QOM object.
|
|
||||||
|
|
||||||
Arguments:
|
|
||||||
|
|
||||||
- "id": the object's ID (json-string)
|
|
||||||
|
|
||||||
Example:
|
|
||||||
|
|
||||||
-> { "execute": "object-del", "arguments": { "id": "rng1" } }
|
|
||||||
<- { "return": {} }
|
|
||||||
|
|
||||||
|
|
||||||
block_resize
|
block_resize
|
||||||
------------
|
------------
|
||||||
|
|
||||||
|
@ -3413,6 +3413,12 @@
|
|||||||
# Error if @id is not a valid id for a QOM object
|
# Error if @id is not a valid id for a QOM object
|
||||||
#
|
#
|
||||||
# Since: 2.0
|
# Since: 2.0
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
#
|
||||||
|
# -> { "execute": "object-del", "arguments": { "id": "rng1" } }
|
||||||
|
# <- { "return": {} }
|
||||||
|
#
|
||||||
##
|
##
|
||||||
{ 'command': 'object-del', 'data': {'id': 'str'} }
|
{ 'command': 'object-del', 'data': {'id': 'str'} }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user