diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-06-23 16:38:12 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2017-01-16 09:19:50 +0100 |
commit | 2ee7fea7ce0306e39fa4bfed122c3fa0acf0bb02 (patch) | |
tree | c11d80eb1d1af76d6f89f59397870ee18b69d9f6 /qapi | |
parent | 9dcbe9a7e8e3bd40315c00682ff3f42b832dd435 (diff) | |
download | qemu-2ee7fea7ce0306e39fa4bfed122c3fa0acf0bb02.zip qemu-2ee7fea7ce0306e39fa4bfed122c3fa0acf0bb02.tar.gz qemu-2ee7fea7ce0306e39fa4bfed122c3fa0acf0bb02.tar.bz2 |
qmp-events: move 'QUORUM_REPORT_BAD' 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')
-rw-r--r-- | qapi/event.json | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/qapi/event.json b/qapi/event.json index af69331..5779d5d 100644 --- a/qapi/event.json +++ b/qapi/event.json @@ -536,7 +536,26 @@ # # @sectors-count: failed read operation sector count # +# Note: This event is rate-limited. +# # Since: 2.0 +# +# Example: +# +# 1. Read operation +# +# { "event": "QUORUM_REPORT_BAD", +# "data": { "node-name": "node0", "sector-num": 345435, "sectors-count": 5, +# "type": "read" }, +# "timestamp": { "seconds": 1344522075, "microseconds": 745528 } } +# +# 2. Flush operation +# +# { "event": "QUORUM_REPORT_BAD", +# "data": { "node-name": "node0", "sector-num": 0, "sectors-count": 2097120, +# "type": "flush", "error": "Broken pipe" }, +# "timestamp": { "seconds": 1456406829, "microseconds": 291763 } } +# ## { 'event': 'QUORUM_REPORT_BAD', 'data': { 'type': 'QuorumOpType', '*error': 'str', 'node-name': 'str', |