Revision aa1db6ed QMP/qmp-events.txt

b/QMP/qmp-events.txt
43 43

  
44 44
Description: Issued when the VNC session is made active.
45 45
Data: 'server' and 'client' keys with the same keys as 'query-vnc'.
46

  
47
7 BLOCK_IO_ERROR
48
----------------
49

  
50
Description: Issued when a disk I/O error occurs
51
Data:
52

  
53
- 'device': device name (json-string)
54
- 'operation': I/O operation (json-string, "read" or "write")
55
- 'action': action that has been taken, it's one of the following:
56
    "ignore": error has been ignored
57
    "report": error has been reported to the device
58
    "stop": error caused VM to be stopped
59

  
60
Example:
61

  
62
{ "event": "BLOCK_IO_ERROR",
63
    "data": { "device": "ide0-hd1",
64
              "operation": "write",
65
              "action": "stop" },
66
    "timestamp": { "seconds": 1265044230, "microseconds": 450486 } }

Also available in: Unified diff