mirror of https://github.com/xqemu/xqemu.git
qmp-events: move 'BLOCK_IO_ERROR' doc to schema
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
This commit is contained in:
parent
370d4eba7d
commit
07c9f583d5
|
@ -30,37 +30,6 @@ Example:
|
||||||
|
|
||||||
Note: this event is rate-limited.
|
Note: this event is rate-limited.
|
||||||
|
|
||||||
BLOCK_IO_ERROR
|
|
||||||
--------------
|
|
||||||
|
|
||||||
Emitted when a disk I/O error occurs.
|
|
||||||
|
|
||||||
Data:
|
|
||||||
|
|
||||||
- "device": device name. This is always present for compatibility
|
|
||||||
reasons, but it can be empty ("") if the image does not
|
|
||||||
have a device name associated. (json-string)
|
|
||||||
- "node-name": node name. Note that errors may be reported for the root node
|
|
||||||
that is directly attached to a guest device rather than for the
|
|
||||||
node where the error occurred. (json-string)
|
|
||||||
- "operation": I/O operation (json-string, "read" or "write")
|
|
||||||
- "action": action that has been taken, it's one of the following (json-string):
|
|
||||||
"ignore": error has been ignored
|
|
||||||
"report": error has been reported to the device
|
|
||||||
"stop": the VM is going to stop because of the error
|
|
||||||
|
|
||||||
Example:
|
|
||||||
|
|
||||||
{ "event": "BLOCK_IO_ERROR",
|
|
||||||
"data": { "device": "ide0-hd1",
|
|
||||||
"node-name": "#block212",
|
|
||||||
"operation": "write",
|
|
||||||
"action": "stop" },
|
|
||||||
"timestamp": { "seconds": 1265044230, "microseconds": 450486 } }
|
|
||||||
|
|
||||||
Note: If action is "stop", a STOP event will eventually follow the
|
|
||||||
BLOCK_IO_ERROR event.
|
|
||||||
|
|
||||||
BLOCK_JOB_CANCELLED
|
BLOCK_JOB_CANCELLED
|
||||||
-------------------
|
-------------------
|
||||||
|
|
||||||
|
|
|
@ -3218,6 +3218,9 @@
|
||||||
# event and must be repaired (Since 2.2; before, every
|
# event and must be repaired (Since 2.2; before, every
|
||||||
# BLOCK_IMAGE_CORRUPTED event was fatal)
|
# BLOCK_IMAGE_CORRUPTED event was fatal)
|
||||||
#
|
#
|
||||||
|
# Note: If action is "stop", a STOP event will eventually follow the
|
||||||
|
# BLOCK_IO_ERROR event.
|
||||||
|
#
|
||||||
# Example:
|
# Example:
|
||||||
#
|
#
|
||||||
# <- { "event": "BLOCK_IMAGE_CORRUPTED",
|
# <- { "event": "BLOCK_IMAGE_CORRUPTED",
|
||||||
|
@ -3266,6 +3269,16 @@
|
||||||
# BLOCK_IO_ERROR event
|
# BLOCK_IO_ERROR event
|
||||||
#
|
#
|
||||||
# Since: 0.13.0
|
# Since: 0.13.0
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
#
|
||||||
|
# <- { "event": "BLOCK_IO_ERROR",
|
||||||
|
# "data": { "device": "ide0-hd1",
|
||||||
|
# "node-name": "#block212",
|
||||||
|
# "operation": "write",
|
||||||
|
# "action": "stop" },
|
||||||
|
# "timestamp": { "seconds": 1265044230, "microseconds": 450486 } }
|
||||||
|
#
|
||||||
##
|
##
|
||||||
{ 'event': 'BLOCK_IO_ERROR',
|
{ 'event': 'BLOCK_IO_ERROR',
|
||||||
'data': { 'device': 'str', 'node-name': 'str', 'operation': 'IoOperationType',
|
'data': { 'device': 'str', 'node-name': 'str', 'operation': 'IoOperationType',
|
||||||
|
|
Loading…
Reference in New Issue