hw/core: Deprecate query-kvm

query-accelerators covers all accelerators, and should be used
instead.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20260108131455.2240598-2-armbru@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
[Rebased, missing section title markup fixed]
This commit is contained in:
Markus Armbruster
2026-01-08 14:14:55 +01:00
parent ac0cc20ad2
commit 824141dcf4
2 changed files with 12 additions and 1 deletions

View File

@@ -149,6 +149,11 @@ Use ``job-dismiss`` instead.
Use ``job-finalize`` instead.
``query-kvm`` (since 11.0)
''''''''''''''''''''''''''
Use ``query-accelerators`` instead.
Human Machine Protocol (HMP) commands
-------------------------------------

View File

@@ -29,6 +29,11 @@
#
# Return information about KVM acceleration
#
# Features:
#
# @deprecated: This command is deprecated. Use `query-accelerators`
# instead.
#
# Since: 0.14
#
# .. qmp-example::
@@ -36,7 +41,8 @@
# -> { "execute": "query-kvm" }
# <- { "return": { "enabled": true, "present": true } }
##
{ 'command': 'query-kvm', 'returns': 'KvmInfo' }
{ 'command': 'query-kvm', 'returns': 'KvmInfo',
'features': [ 'deprecated' ] }
##
# @x-accel-stats: