summaryrefslogtreecommitdiff
path: root/QMP/qmp-events.txt
blob: d585a8d1b6d7994715616e8ea5bed5ef6f934a86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
                   QEMU Monitor Protocol: Events
                   =============================

1 SHUTDOWN
-----------

Description: Issued when the Virtual Machine is powered down.
Data: None.

2 RESET
-------

Description: Issued when the Virtual Machine is reseted.
Data: None.

3 STOP
------

Description: Issued when the Virtual Machine is stopped.
Data: None.

4 DEBUG
-------

Description: Issued when the Virtual Machine enters debug mode.
Data: None.

4 VNC_CONNECTED
---------------

Description: Issued when a VNC client establishes a connection.
Data: 'server' and 'client' keys with the same keys as 'query-vnc',
except that authentication ID is not provided.

5 VNC_DISCONNECTED
------------------

Description: Issued when the conection is closed.
Data: 'server' and 'client' keys with the same keys as 'query-vnc'.

6 VNC_INITIALIZED
-----------------

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

7 BLOCK_IO_ERROR
----------------

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

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

Example:

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