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:
Marc-André Lureau 2016-06-23 13:35:05 +02:00 committed by Markus Armbruster
parent 6517192b16
commit de0ba66226
2 changed files with 6 additions and 15 deletions

View File

@ -205,21 +205,6 @@ Example:
<- { "return": { "status": "active", "completed": 1024000,
"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
------------

View File

@ -3413,6 +3413,12 @@
# Error if @id is not a valid id for a QOM object
#
# Since: 2.0
#
# Example:
#
# -> { "execute": "object-del", "arguments": { "id": "rng1" } }
# <- { "return": {} }
#
##
{ 'command': 'object-del', 'data': {'id': 'str'} }