hw/core: Deprecate query-kvm
cover hw/core: Deprecate query-kvm
Based-on: <[email protected]>
Markus Armbruster (1):
hw/core: Deprecate query-kvm
docs/about/deprecated.rst | 4 ++++ qapi/accelerator.json | 8 +++++++- 2 files changed, 11 insertions(+), 1 deletion(-)
Signature · 1 line
2.52.0
PATCH 1/1 hw/core: Deprecate query-kvm
query-accelerators covers all accelerators, and should be used instead.
Signed-off-by Markus Armbruster <[email protected]>
--- docs/about/deprecated.rst | 4 ++++ qapi/accelerator.json | 8 +++++++- 2 files changed, 11 insertions(+), 1 deletion(-)
docs/about/deprecated.rst +4 -0
@@ -142,6 +142,10 @@ Use ``job-dismiss`` instead. Use ``job-finalize`` instead. +``query-kvm`` (since 11.0) + +Use ``query-accelerators`` instead. + Human Machine Protocol (HMP) commands -------------------------------------
qapi/accelerator.json +7 -1
@@ -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:
Signature · 1 line
2.52.0
Quoted 8 lines · Markus Armbruster
query-accelerators covers all accelerators, and should be used instead.
Signed-off-by Markus Armbruster <[email protected]>--- docs/about/deprecated.rst | 4 ++++ qapi/accelerator.json | 8 +++++++- 2 files changed, 11 insertions(+), 1 deletion(-)
Reviewed-by Daniel P. Berrangé <[email protected]>
With regards,
Daniel
Signature · 3 lines
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
Quoted 8 lines · Markus Armbruster
query-accelerators covers all accelerators, and should be used instead.
Signed-off-by Markus Armbruster <[email protected]>--- docs/about/deprecated.rst | 4 ++++ qapi/accelerator.json | 8 +++++++- 2 files changed, 11 insertions(+), 1 deletion(-)
Reviewed-by Philippe Mathieu-Daudé <[email protected]>
Long due, thanks!