'query-accel' QMP command should be used instead.
Signed-off-by: Roman Bolshakov <[email protected]>
---
qapi/machine.json | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/qapi/machine.json b/qapi/machine.json
index 5648d8d24d..130b0dbebc 100644
--- a/qapi/machine.json
+++ b/qapi/machine.json
@@ -579,6 +579,9 @@
#
# Returns information about KVM acceleration
#
+# Features:
+# @deprecated: This command is deprecated, use 'query-accel' instead.
+#
# Returns: @AccelInfo
#
# Since: 0.14.0
@@ -589,7 +592,8 @@
# <- { "return": { "enabled": true, "present": true } }
#
##
-{ 'command': 'query-kvm', 'returns': 'AccelInfo' }
+{ 'command': 'query-kvm', 'returns': 'AccelInfo',
+ 'features': [ 'deprecated' ] }
##
# @query-accel:
--
2.29.2