summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorAlberto Garcia2015-05-07 16:58:26 +0200
committerMichael Tokarev2015-05-08 13:11:10 +0200
commit0caef8f6df4a9426bd6333ab843ce51ce005d7d0 (patch)
tree75713cdde579e47b5a6511027e4ca28b67dfdd20 /docs
parentglib-compat.h: change assert to g_assert (diff)
downloadqemu-0caef8f6df4a9426bd6333ab843ce51ce005d7d0.tar.gz
qemu-0caef8f6df4a9426bd6333ab843ce51ce005d7d0.tar.xz
qemu-0caef8f6df4a9426bd6333ab843ce51ce005d7d0.zip
docs: update BLOCK_IMAGE_CORRUPTED documentation
Label the "size" and "offset" fields in BLOCK_IMAGE_CORRUPTED as optional, and clarify that the latter refers to the host's offset into the image. Signed-off-by: Alberto Garcia <berto@igalia.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'docs')
-rw-r--r--docs/qmp/qmp-events.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/qmp/qmp-events.txt b/docs/qmp/qmp-events.txt
index b19e490eb5..64ba46c769 100644
--- a/docs/qmp/qmp-events.txt
+++ b/docs/qmp/qmp-events.txt
@@ -43,9 +43,10 @@ Data:
- "msg": Informative message (e.g., reason for the corruption)
(json-string)
- "offset": If the corruption resulted from an image access, this
- is the access offset into the image (json-int)
+ is the host's access offset into the image
+ (json-int, optional)
- "size": If the corruption resulted from an image access, this
- is the access size (json-int)
+ is the access size (json-int, optional)
Example: