mirror of https://github.com/proxmox/mirror_qemu
qmp-commands: move 'query-kvm' doc to schema
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>master
parent
3aa4c6cd39
commit
b4f65cd27a
|
@ -2405,21 +2405,6 @@ Example:
|
||||||
|
|
||||||
Note: This example has been shortened as the real response is too long.
|
Note: This example has been shortened as the real response is too long.
|
||||||
|
|
||||||
query-kvm
|
|
||||||
---------
|
|
||||||
|
|
||||||
Show KVM information.
|
|
||||||
|
|
||||||
Return a json-object with the following information:
|
|
||||||
|
|
||||||
- "enabled": true if KVM support is enabled, false otherwise (json-bool)
|
|
||||||
- "present": true if QEMU has KVM support, false otherwise (json-bool)
|
|
||||||
|
|
||||||
Example:
|
|
||||||
|
|
||||||
-> { "execute": "query-kvm" }
|
|
||||||
<- { "return": { "enabled": true, "present": true } }
|
|
||||||
|
|
||||||
query-status
|
query-status
|
||||||
------------
|
------------
|
||||||
|
|
||||||
|
|
|
@ -150,6 +150,12 @@
|
||||||
# Returns: @KvmInfo
|
# Returns: @KvmInfo
|
||||||
#
|
#
|
||||||
# Since: 0.14.0
|
# Since: 0.14.0
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
#
|
||||||
|
# -> { "execute": "query-kvm" }
|
||||||
|
# <- { "return": { "enabled": true, "present": true } }
|
||||||
|
#
|
||||||
##
|
##
|
||||||
{ 'command': 'query-kvm', 'returns': 'KvmInfo' }
|
{ 'command': 'query-kvm', 'returns': 'KvmInfo' }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue