aboutsummaryrefslogtreecommitdiff
path: root/qapi/event.json
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-06-23 16:36:17 +0200
committerMarkus Armbruster <armbru@redhat.com>2017-01-16 09:19:50 +0100
commit9dcbe9a7e8e3bd40315c00682ff3f42b832dd435 (patch)
treed52ec7bc3249f61203eb98466d9a1c90ca690a1a /qapi/event.json
parent449dbec15a39da4f8c2d7e9178a997c5b486f397 (diff)
qmp-events: move 'QUORUM_FAILURE' doc to schema
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'qapi/event.json')
-rw-r--r--qapi/event.json9
1 files changed, 9 insertions, 0 deletions
diff --git a/qapi/event.json b/qapi/event.json
index c131a4ff20..af69331c94 100644
--- a/qapi/event.json
+++ b/qapi/event.json
@@ -504,7 +504,16 @@
#
# @sectors-count: failed read operation sector count
#
+# Note: This event is rate-limited.
+#
# Since: 2.0
+#
+# Example:
+#
+# <- { "event": "QUORUM_FAILURE",
+# "data": { "reference": "usr1", "sector-num": 345435, "sectors-count": 5 },
+# "timestamp": { "seconds": 1344522075, "microseconds": 745528 } }
+#
##
{ 'event': 'QUORUM_FAILURE',
'data': { 'reference': 'str', 'sector-num': 'int', 'sectors-count': 'int' } }