summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorVictor Toso <victortoso@redhat.com>2022-03-28 16:05:54 +0200
committerMarkus Armbruster <armbru@redhat.com>2022-03-31 12:34:51 +0200
commit2c29d9b04b5cc430b73f4aedf561752a31dbe856 (patch)
tree5dc781421b67d589fb9b83c87476559a84fa19ab
parent39e8bb223e4e186b9002f35d1632133f51062fcb (diff)
downloadfocaccia-qemu-2c29d9b04b5cc430b73f4aedf561752a31dbe856.tar.gz
focaccia-qemu-2c29d9b04b5cc430b73f4aedf561752a31dbe856.zip
qapi: fix example of BLOCK_JOB_PENDING event
Example output has the wrong event's name in it. Fix it.

Example output shows incorrect member @device. Fix it.

Signed-off-by: Victor Toso <victortoso@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20220328140604.41484-5-victortoso@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
-rw-r--r--qapi/block-core.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/qapi/block-core.json b/qapi/block-core.json
index 46580ac551..4a7a6940a3 100644
--- a/qapi/block-core.json
+++ b/qapi/block-core.json
@@ -5225,8 +5225,8 @@
 #
 # Example:
 #
-# <- { "event": "BLOCK_JOB_WAITING",
-#      "data": { "device": "drive0", "type": "mirror" },
+# <- { "event": "BLOCK_JOB_PENDING",
+#      "data": { "type": "mirror", "id": "backup_1" },
 #      "timestamp": { "seconds": 1265044230, "microseconds": 450486 } }
 #
 ##