diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt index 397b3d6397..2555eef09a 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 2982e3168b..f4084638d5 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'} }