diff options
| author | Max Reitz | 2013-09-03 15:49:39 +0200 |
|---|---|---|
| committer | Stefan Hajnoczi | 2013-09-06 15:25:08 +0200 |
| commit | 0ca0b0d5f8a87dbc6daa5095771d036d0e6dc5b4 (patch) | |
| tree | 61253ad7492a6b499470b7c6fed14f87d0db6e7e | |
| parent | block: use BDS ref for block jobs (diff) | |
| download | qemu-0ca0b0d5f8a87dbc6daa5095771d036d0e6dc5b4.tar.gz qemu-0ca0b0d5f8a87dbc6daa5095771d036d0e6dc5b4.tar.xz qemu-0ca0b0d5f8a87dbc6daa5095771d036d0e6dc5b4.zip | |
qmp: Documentation for BLOCK_IMAGE_CORRUPTED
Add an appropriate entry describing this event and its parameters into
qmp-events.txt.
Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
| -rw-r--r-- | QMP/qmp-events.txt | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/QMP/qmp-events.txt b/QMP/qmp-events.txt index 39b6016460..4b24ec900d 100644 --- a/QMP/qmp-events.txt +++ b/QMP/qmp-events.txt @@ -18,6 +18,28 @@ Example: "data": { "actual": 944766976 }, "timestamp": { "seconds": 1267020223, "microseconds": 435656 } } +BLOCK_IMAGE_CORRUPTED +--------------------- + +Emitted when a disk image is being marked corrupt. + +Data: + +- "device": Device name (json-string) +- "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) +- "size": If the corruption resulted from an image access, this is the access + size (json-int) + +Example: + +{ "event": "BLOCK_IMAGE_CORRUPTED", + "data": { "device": "ide0-hd0", + "msg": "Prevented active L1 table overwrite", "offset": 196608, + "size": 65536 }, + "timestamp": { "seconds": 1378126126, "microseconds": 966463 } } + BLOCK_IO_ERROR -------------- |
