qmp-commands: move 'chardev-remove' 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
2212092e11
commit
7cfee8d943
@ -1252,20 +1252,6 @@ Example:
|
|||||||
-> { "execute": "query-tpm-types" }
|
-> { "execute": "query-tpm-types" }
|
||||||
<- { "return": [ "passthrough" ] }
|
<- { "return": [ "passthrough" ] }
|
||||||
|
|
||||||
chardev-remove
|
|
||||||
--------------
|
|
||||||
|
|
||||||
Remove a chardev.
|
|
||||||
|
|
||||||
Arguments:
|
|
||||||
|
|
||||||
- "id": the chardev's ID, must exist and not be in use (json-string)
|
|
||||||
|
|
||||||
Example:
|
|
||||||
|
|
||||||
-> { "execute": "chardev-remove", "arguments": { "id" : "foo" } }
|
|
||||||
<- { "return": {} }
|
|
||||||
|
|
||||||
query-rx-filter
|
query-rx-filter
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
|
@ -4873,6 +4873,12 @@
|
|||||||
# Returns: Nothing on success
|
# Returns: Nothing on success
|
||||||
#
|
#
|
||||||
# Since: 1.4
|
# Since: 1.4
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
#
|
||||||
|
# -> { "execute": "chardev-remove", "arguments": { "id" : "foo" } }
|
||||||
|
# <- { "return": {} }
|
||||||
|
#
|
||||||
##
|
##
|
||||||
{ 'command': 'chardev-remove', 'data': {'id': 'str'} }
|
{ 'command': 'chardev-remove', 'data': {'id': 'str'} }
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user