Add an appropriate entry describing this event and its parameters into qmp-events.txt.
Signed-off-by: Max Reitz <mre...@redhat.com> --- Follow-up to: - Add metadata overlap checks (series, v5); particularly patch 2 (qcow2: Metadata overlap checks) --- QMP/qmp-events.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/QMP/qmp-events.txt b/QMP/qmp-events.txt index 39b6016..6ff74d6 100644 --- a/QMP/qmp-events.txt +++ b/QMP/qmp-events.txt @@ -478,3 +478,25 @@ Example: { "event": "GUEST_PANICKED", "data": { "action": "pause" } } + +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 } } -- 1.8.3.1