docs: update BLOCK_IMAGE_CORRUPTED documentation
PATCH 1/1 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 <[email protected]>
--- docs/qmp/qmp-events.txt | 5 +++-- qapi/block-core.json | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-)
docs/qmp/qmp-events.txt +3 -2
@@ -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:
qapi/block-core.json +1 -1
@@ -1847,7 +1847,7 @@ # not guaranteed to be stable # # @offset: #optional, if the corruption resulted from an image access, this is -# the access offset into the image +# the host's access offset into the image # # @size: #optional, if the corruption resulted from an image access, this is # the access size
Signature · 1 line
2.1.4
Quoted 9 lines · Alberto Garcia
Label the "size" and "offset" fields in
BLOCK_IMAGE_CORRUPTEDas optional, and clarify that the latter refers to the host's offset into the image.Signed-off-by Alberto Garcia <[email protected]>--- docs/qmp/qmp-events.txt | 5 +++-- qapi/block-core.json | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-)
Reviewed-by Eric Blake <[email protected]>
Signature · 2 lines
Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Michael Tokarev
AppliedApplied to -trivial, thank you!
/mjt