alpha-linux-user: Implement signals.
[qemu/aliguori-queue.git] / QMP / qmp-events.txt
blobd585a8d1b6d7994715616e8ea5bed5ef6f934a86
1                    QEMU Monitor Protocol: Events
2                    =============================
4 1 SHUTDOWN
5 -----------
7 Description: Issued when the Virtual Machine is powered down.
8 Data: None.
10 2 RESET
11 -------
13 Description: Issued when the Virtual Machine is reseted.
14 Data: None.
16 3 STOP
17 ------
19 Description: Issued when the Virtual Machine is stopped.
20 Data: None.
22 4 DEBUG
23 -------
25 Description: Issued when the Virtual Machine enters debug mode.
26 Data: None.
28 4 VNC_CONNECTED
29 ---------------
31 Description: Issued when a VNC client establishes a connection.
32 Data: 'server' and 'client' keys with the same keys as 'query-vnc',
33 except that authentication ID is not provided.
35 5 VNC_DISCONNECTED
36 ------------------
38 Description: Issued when the conection is closed.
39 Data: 'server' and 'client' keys with the same keys as 'query-vnc'.
41 6 VNC_INITIALIZED
42 -----------------
44 Description: Issued when the VNC session is made active.
45 Data: 'server' and 'client' keys with the same keys as 'query-vnc'.
47 7 BLOCK_IO_ERROR
48 ----------------
50 Description: Issued when a disk I/O error occurs
51 Data:
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
60 Example:
62 { "event": "BLOCK_IO_ERROR",
63     "data": { "device": "ide0-hd1",
64               "operation": "write",
65               "action": "stop" },
66     "timestamp": { "seconds": 1265044230, "microseconds": 450486 } }