From 07c9f583d50ba68bd19dc2a66236d43c638f1f03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Thu, 23 Jun 2016 15:52:10 +0200 Subject: qmp-events: move 'BLOCK_IO_ERROR' doc to schema MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marc-André Lureau Signed-off-by: Markus Armbruster --- qapi/block-core.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'qapi') 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', -- cgit v1.1