|
@@ -159,51 +159,6 @@
|
|
{ 'command': 'query-commands', 'returns': ['CommandInfo'],
|
|
{ 'command': 'query-commands', 'returns': ['CommandInfo'],
|
|
'allow-preconfig': true }
|
|
'allow-preconfig': true }
|
|
|
|
|
|
-##
|
|
|
|
-# @EventInfo:
|
|
|
|
-#
|
|
|
|
-# Information about a QMP event
|
|
|
|
-#
|
|
|
|
-# @name: The event name
|
|
|
|
-#
|
|
|
|
-# Since: 1.2
|
|
|
|
-##
|
|
|
|
-{ 'struct': 'EventInfo', 'data': {'name': 'str'} }
|
|
|
|
-
|
|
|
|
-##
|
|
|
|
-# @query-events:
|
|
|
|
-#
|
|
|
|
-# Return information on QMP events.
|
|
|
|
-#
|
|
|
|
-# Features:
|
|
|
|
-# @deprecated: This command is deprecated, because its output doesn't
|
|
|
|
-# reflect compile-time configuration. Use 'query-qmp-schema'
|
|
|
|
-# instead.
|
|
|
|
-#
|
|
|
|
-# Returns: A list of @EventInfo.
|
|
|
|
-#
|
|
|
|
-# Since: 1.2
|
|
|
|
-#
|
|
|
|
-# Example:
|
|
|
|
-#
|
|
|
|
-# -> { "execute": "query-events" }
|
|
|
|
-# <- {
|
|
|
|
-# "return": [
|
|
|
|
-# {
|
|
|
|
-# "name":"SHUTDOWN"
|
|
|
|
-# },
|
|
|
|
-# {
|
|
|
|
-# "name":"RESET"
|
|
|
|
-# }
|
|
|
|
-# ]
|
|
|
|
-# }
|
|
|
|
-#
|
|
|
|
-# Note: This example has been shortened as the real response is too long.
|
|
|
|
-#
|
|
|
|
-##
|
|
|
|
-{ 'command': 'query-events', 'returns': ['EventInfo'],
|
|
|
|
- 'features': [ 'deprecated' ] }
|
|
|
|
-
|
|
|
|
##
|
|
##
|
|
# @quit:
|
|
# @quit:
|
|
#
|
|
#
|