summaryrefslogtreecommitdiff
path: root/qapi
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-06-23 15:54:20 +0200
committerMarkus Armbruster <armbru@redhat.com>2017-01-16 09:19:48 +0100
commitaf0e09106c57e732234eaf9bea5973437b3711d5 (patch)
treedec23862f88fa4157e736c8d1f0c828e8e9e497c /qapi
parente161df3939fd725b67d660e793e1538860c156fe (diff)
downloadqemu-af0e09106c57e732234eaf9bea5973437b3711d5.tar.gz
qmp-events: move 'BLOCK_JOB_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.json9
1 files changed, 9 insertions, 0 deletions
diff --git a/qapi/block-core.json b/qapi/block-core.json
index 989334ed0c..7af44c8d4a 100644
--- a/qapi/block-core.json
+++ b/qapi/block-core.json
@@ -3374,6 +3374,15 @@
# @action: action that has been taken
#
# Since: 1.3
+#
+# Example:
+#
+# <- { "event": "BLOCK_JOB_ERROR",
+# "data": { "device": "ide0-hd1",
+# "operation": "write",
+# "action": "stop" },
+# "timestamp": { "seconds": 1265044230, "microseconds": 450486 } }
+#
##
{ 'event': 'BLOCK_JOB_ERROR',
'data': { 'device' : 'str',