mirror of https://gitee.com/openkylin/qemu.git
qmp-commands: move 'query-name' 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
65ce54f5e2
commit
3aa4c6cd39
|
@ -2607,20 +2607,6 @@ Example:
|
|||
}
|
||||
}
|
||||
|
||||
query-name
|
||||
----------
|
||||
|
||||
Show VM name.
|
||||
|
||||
Return a json-object with the following information:
|
||||
|
||||
- "name": VM's name (json-string, optional)
|
||||
|
||||
Example:
|
||||
|
||||
-> { "execute": "query-name" }
|
||||
<- { "return": { "name": "qemu-name" } }
|
||||
|
||||
query-uuid
|
||||
----------
|
||||
|
||||
|
|
|
@ -120,6 +120,12 @@
|
|||
# Returns: @NameInfo of the guest
|
||||
#
|
||||
# Since: 0.14.0
|
||||
#
|
||||
# Example:
|
||||
#
|
||||
# -> { "execute": "query-name" }
|
||||
# <- { "return": { "name": "qemu-name" } }
|
||||
#
|
||||
##
|
||||
{ 'command': 'query-name', 'returns': 'NameInfo' }
|
||||
|
||||
|
|
Loading…
Reference in New Issue