qapi event: convert BALLOON_CHANGE
[qemu.git] / docs / qmp / qmp-events.txt
1                    QEMU Machine Protocol Events
2                    ============================
3
4 GUEST_PANICKED
5 --------------
6
7 Emitted when guest OS panic is detected.
8
9 Data:
10
11 - "action": Action that has been taken (json-string, currently always "pause").
12
13 Example:
14
15 { "event": "GUEST_PANICKED",
16      "data": { "action": "pause" } }
17
18 QUORUM_FAILURE
19 --------------
20
21 Emitted by the Quorum block driver if it fails to establish a quorum.
22
23 Data:
24
25 - "reference":    device name if defined else node name.
26 - "sector-num":   Number of the first sector of the failed read operation.
27 - "sector-count": Failed read operation sector count.
28
29 Example:
30
31 { "event": "QUORUM_FAILURE",
32      "data": { "reference": "usr1", "sector-num": 345435, "sector-count": 5 },
33      "timestamp": { "seconds": 1344522075, "microseconds": 745528 } }
34
35 QUORUM_REPORT_BAD
36 -----------------
37
38 Emitted to report a corruption of a Quorum file.
39
40 Data:
41
42 - "error":        Error message (json-string, optional)
43                   Only present on failure.  This field contains a human-readable
44                   error message.  There are no semantics other than that the
45                   block layer reported an error and clients should not try to
46                   interpret the error string.
47 - "node-name":    The graph node name of the block driver state.
48 - "sector-num":   Number of the first sector of the failed read operation.
49 - "sector-count": Failed read operation sector count.
50
51 Example:
52
53 { "event": "QUORUM_REPORT_BAD",
54      "data": { "node-name": "1.raw", "sector-num": 345435, "sector-count": 5 },
55      "timestamp": { "seconds": 1344522075, "microseconds": 745528 } }