diff mbox

[12/15] qapi: add QMP put-event command

Message ID 1299884745-521-13-git-send-email-aliguori@us.ibm.com
State New
Headers show

Commit Message

Anthony Liguori March 11, 2011, 11:05 p.m. UTC
This is needed for libqmp to support events.  put-event is used to disconnect
from signals.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
diff mbox

Patch

diff --git a/qmp-schema.json b/qmp-schema.json
index e0789d0..17db1cb 100644
--- a/qmp-schema.json
+++ b/qmp-schema.json
@@ -110,3 +110,18 @@ 
 # Since: 0.14.0
 ##
 { 'command': 'qmp_capabilities' }
+
+##
+# @put_event:
+#
+# Disconnect a signal.  This command is used to disconnect from a signal based
+# on the handle returned by a signal accessor.
+#
+# @tag: the handle returned by a signal accessor.
+#
+# Returns: Nothing on success.
+#          If @tag is not a valid handle, InvalidParameterValue
+#
+# Since: 0.15.0
+##
+{ 'command': 'put-event', 'data': {'tag': 'int'} }