[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-trivial] [PULL 5/5] docs: update BLOCK_IMAGE_CORRUPTED documentati
From: |
Michael Tokarev |
Subject: |
[Qemu-trivial] [PULL 5/5] docs: update BLOCK_IMAGE_CORRUPTED documentation |
Date: |
Sat, 9 May 2015 01:00:05 +0300 |
From: Alberto Garcia <address@hidden>
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 <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>
---
docs/qmp/qmp-events.txt | 5 +++--
qapi/block-core.json | 2 +-
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/docs/qmp/qmp-events.txt b/docs/qmp/qmp-events.txt
index b19e490..64ba46c 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:
diff --git a/qapi/block-core.json b/qapi/block-core.json
index dcf7c04..863ffea 100644
--- a/qapi/block-core.json
+++ b/qapi/block-core.json
@@ -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
--
2.1.4
- [Qemu-trivial] [PULL 0/5] Trivial patches for 2015-05-09, Michael Tokarev, 2015/05/08
- [Qemu-trivial] [PULL 4/5] glib-compat.h: change assert to g_assert, Michael Tokarev, 2015/05/08
- [Qemu-trivial] [PULL 1/5] xhci: remove unused code, Michael Tokarev, 2015/05/08
- [Qemu-trivial] [PULL 5/5] docs: update BLOCK_IMAGE_CORRUPTED documentation,
Michael Tokarev <=
- [Qemu-trivial] [PULL 3/5] Remove various unused functions, Michael Tokarev, 2015/05/08
- [Qemu-trivial] [PULL 2/5] sheepdog: fix resource leak with sd_snapshot_create, Michael Tokarev, 2015/05/08
- Re: [Qemu-trivial] [Qemu-devel] [PULL 0/5] Trivial patches for 2015-05-09, Peter Maydell, 2015/05/11