mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
qmp: Deprecate query-events in favor of query-qmp-schema
query-events doesn't reflect compile-time configuration. Instead of fixing that, deprecate the command in favor of query-qmp-schema. Libvirt prefers query-qmp-schema as of commit 22d7222ec0 "qemu: caps: Don't call 'query-events' when we probe events from QMP schema". It'll be in the next release. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20190214152251.2073-18-armbru@redhat.com>
This commit is contained in:
parent
093e367951
commit
9d7b70864a
3 changed files with 15 additions and 2 deletions
|
@ -318,12 +318,15 @@
|
|||
##
|
||||
# @query-events:
|
||||
#
|
||||
# Return a list of supported QMP events by this server
|
||||
# Return information on QMP events.
|
||||
#
|
||||
# Returns: A list of @EventInfo for all supported events
|
||||
# Returns: A list of @EventInfo.
|
||||
#
|
||||
# Since: 1.2.0
|
||||
#
|
||||
# Note: This command is deprecated, because its output doesn't reflect
|
||||
# compile-time configuration. Use query-qmp-schema instead.
|
||||
#
|
||||
# Example:
|
||||
#
|
||||
# -> { "execute": "query-events" }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue