]> git.proxmox.com Git - qemu.git/blobdiff - qapi-schema.json
Add 'query-events' command to QMP to query async events
[qemu.git] / qapi-schema.json
index bb1f80653247b7ff4545fab4eb7df2cfdff2a738..3b6e3468b440b4b681f321c9525a3d83bea2137a 100644 (file)
 ##
 { 'command': 'query-commands', 'returns': ['CommandInfo'] }
 
+##
+# @EventInfo:
+#
+# Information about a QMP event
+#
+# @name: The event name
+#
+# Since: 1.2.0
+##
+{ 'type': 'EventInfo', 'data': {'name': 'str'} }
+
+##
+# @query-events:
+#
+# Return a list of supported QMP events by this server
+#
+# Returns: A list of @EventInfo for all supported events
+#
+# Since: 1.2.0
+##
+{ 'command': 'query-events', 'returns': ['EventInfo'] }
+
 ##
 # @MigrationStats
 #