diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2011-09-12 15:10:53 -0300 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2011-10-04 11:02:57 -0300 |
commit | 292a26027c8567556795dde771e46d87306bd013 (patch) | |
tree | d74f603eb11c7a9b5c59d7cf7a398b87dea66e75 /qapi-schema.json | |
parent | b9c15f16d702306aeb984f30490cddb8b418a231 (diff) | |
download | hqemu-292a26027c8567556795dde771e46d87306bd013.zip hqemu-292a26027c8567556795dde771e46d87306bd013.tar.gz |
qapi: Convert query-kvm
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'qapi-schema.json')
-rw-r--r-- | qapi-schema.json | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/qapi-schema.json b/qapi-schema.json index 3c0ac4e..641f12d 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -60,3 +60,28 @@ # Since: 0.14.0 ## { 'command': 'query-version', 'returns': 'VersionInfo' } + +## +# @KvmInfo: +# +# Information about support for KVM acceleration +# +# @enabled: true if KVM acceleration is active +# +# @present: true if KVM acceleration is built into this executable +# +# Since: 0.14.0 +## +{ 'type': 'KvmInfo', 'data': {'enabled': 'bool', 'present': 'bool'} } + +## +# @query-kvm: +# +# Returns information about KVM acceleration +# +# Returns: @KvmInfo +# +# Since: 0.14.0 +## +{ 'command': 'query-kvm', 'returns': 'KvmInfo' } + |