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