diff options
-rw-r--r-- | docs/qmp-commands.txt | 14 | ||||
-rw-r--r-- | qapi-schema.json | 6 |
2 files changed, 6 insertions, 14 deletions
diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt index a259428..ceee41f 100644 --- a/docs/qmp-commands.txt +++ b/docs/qmp-commands.txt @@ -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 ---------- diff --git a/qapi-schema.json b/qapi-schema.json index a24e179..e6d7063 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -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' } |