diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-06-23 15:52:10 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2017-01-16 09:19:48 +0100 |
commit | 07c9f583d50ba68bd19dc2a66236d43c638f1f03 (patch) | |
tree | 5083bd1a96dfec15a58c9b4cd624e7756e6c95ff /qapi | |
parent | 370d4eba7de41e23d84ed617371b45f2db92d68d (diff) | |
download | qemu-07c9f583d50ba68bd19dc2a66236d43c638f1f03.zip qemu-07c9f583d50ba68bd19dc2a66236d43c638f1f03.tar.gz qemu-07c9f583d50ba68bd19dc2a66236d43c638f1f03.tar.bz2 |
qmp-events: move 'BLOCK_IO_ERROR' 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/block-core.json | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/qapi/block-core.json b/qapi/block-core.json index cfae11f..89af577 100644 --- a/qapi/block-core.json +++ b/qapi/block-core.json @@ -3218,6 +3218,9 @@ # event and must be repaired (Since 2.2; before, every # BLOCK_IMAGE_CORRUPTED event was fatal) # +# Note: If action is "stop", a STOP event will eventually follow the +# BLOCK_IO_ERROR event. +# # Example: # # <- { "event": "BLOCK_IMAGE_CORRUPTED", @@ -3266,6 +3269,16 @@ # BLOCK_IO_ERROR event # # Since: 0.13.0 +# +# Example: +# +# <- { "event": "BLOCK_IO_ERROR", +# "data": { "device": "ide0-hd1", +# "node-name": "#block212", +# "operation": "write", +# "action": "stop" }, +# "timestamp": { "seconds": 1265044230, "microseconds": 450486 } } +# ## { 'event': 'BLOCK_IO_ERROR', 'data': { 'device': 'str', 'node-name': 'str', 'operation': 'IoOperationType', |