diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-06-23 13:35:05 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2017-01-16 09:15:29 +0100 |
commit | de0ba66226ebdf1747759c53ac9ab0de7b9ebf58 (patch) | |
tree | 20bad4d5d44900215169dfa00ed7bc35e9c4df7b | |
parent | 6517192b160363f9f24c7f05a0f7f88c5a1be114 (diff) | |
download | qemu-de0ba66226ebdf1747759c53ac9ab0de7b9ebf58.zip qemu-de0ba66226ebdf1747759c53ac9ab0de7b9ebf58.tar.gz qemu-de0ba66226ebdf1747759c53ac9ab0de7b9ebf58.tar.bz2 |
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>
-rw-r--r-- | docs/qmp-commands.txt | 15 | ||||
-rw-r--r-- | qapi-schema.json | 6 |
2 files changed, 6 insertions, 15 deletions
diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt index 397b3d6..2555eef 100644 --- a/docs/qmp-commands.txt +++ b/docs/qmp-commands.txt @@ -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 ------------ diff --git a/qapi-schema.json b/qapi-schema.json index 2982e31..f408463 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -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'} } |