* [Qemu-devel] [PATCH] docs: update BLOCK_IMAGE_CORRUPTED documentation
@ 2015-05-07 14:58 Alberto Garcia
2015-05-07 17:10 ` Eric Blake
2015-05-08 6:49 ` Michael Tokarev
0 siblings, 2 replies; 3+ messages in thread
From: Alberto Garcia @ 2015-05-07 14:58 UTC (permalink / raw)
To: qemu-devel; +Cc: qemu-trivial, Alberto Garcia
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>
---
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [PATCH] docs: update BLOCK_IMAGE_CORRUPTED documentation
2015-05-07 14:58 [Qemu-devel] [PATCH] docs: update BLOCK_IMAGE_CORRUPTED documentation Alberto Garcia
@ 2015-05-07 17:10 ` Eric Blake
2015-05-08 6:49 ` Michael Tokarev
1 sibling, 0 replies; 3+ messages in thread
From: Eric Blake @ 2015-05-07 17:10 UTC (permalink / raw)
To: Alberto Garcia, qemu-devel; +Cc: qemu-trivial
[-- Attachment #1: Type: text/plain, Size: 550 bytes --]
On 05/07/2015 08:58 AM, Alberto Garcia wrote:
> 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>
> ---
> docs/qmp/qmp-events.txt | 5 +++--
> qapi/block-core.json | 2 +-
> 2 files changed, 4 insertions(+), 3 deletions(-)
Reviewed-by: Eric Blake <eblake@redhat.com>
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 604 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [PATCH] docs: update BLOCK_IMAGE_CORRUPTED documentation
2015-05-07 14:58 [Qemu-devel] [PATCH] docs: update BLOCK_IMAGE_CORRUPTED documentation Alberto Garcia
2015-05-07 17:10 ` Eric Blake
@ 2015-05-08 6:49 ` Michael Tokarev
1 sibling, 0 replies; 3+ messages in thread
From: Michael Tokarev @ 2015-05-08 6:49 UTC (permalink / raw)
To: Alberto Garcia, qemu-devel; +Cc: qemu-trivial
Applied to -trivial, thank you!
/mjt
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-05-08 6:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-07 14:58 [Qemu-devel] [PATCH] docs: update BLOCK_IMAGE_CORRUPTED documentation Alberto Garcia
2015-05-07 17:10 ` Eric Blake
2015-05-08 6:49 ` Michael Tokarev
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.