diff options
| author | Daniel P. Berrangé | 2021-02-22 14:35:15 +0100 |
|---|---|---|
| committer | Daniel P. Berrangé | 2021-03-18 10:22:55 +0100 |
| commit | 8becb36063fb14df1e3ae4916215667e2cb65fa2 (patch) | |
| tree | cc559201030e1b9e287fec1d20b06c89a3cc258a /qapi | |
| parent | monitor: raise error when 'pretty' option is used with HMP (diff) | |
| download | qemu-8becb36063fb14df1e3ae4916215667e2cb65fa2.tar.gz qemu-8becb36063fb14df1e3ae4916215667e2cb65fa2.tar.xz qemu-8becb36063fb14df1e3ae4916215667e2cb65fa2.zip | |
monitor: remove 'query-events' QMP command
The code comment suggests removing QAPIEvent_(str|lookup) symbols too,
however, these are both auto-generated as standard for any enum in
QAPI. As such it they'll exist whether we use them or not.
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'qapi')
| -rw-r--r-- | qapi/control.json | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/qapi/control.json b/qapi/control.json index 2615d5170b..71a838d49e 100644 --- a/qapi/control.json +++ b/qapi/control.json @@ -160,51 +160,6 @@ '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: # # This command will cause the QEMU process to exit gracefully. While every |
