root / QMP / qmp-events.txt @ aa1db6ed
History | View | Annotate | Download (1.6 kB)
1 |
QEMU Monitor Protocol: Events |
---|---|
2 |
============================= |
3 |
|
4 |
1 SHUTDOWN |
5 |
----------- |
6 |
|
7 |
Description: Issued when the Virtual Machine is powered down. |
8 |
Data: None. |
9 |
|
10 |
2 RESET |
11 |
------- |
12 |
|
13 |
Description: Issued when the Virtual Machine is reseted. |
14 |
Data: None. |
15 |
|
16 |
3 STOP |
17 |
------ |
18 |
|
19 |
Description: Issued when the Virtual Machine is stopped. |
20 |
Data: None. |
21 |
|
22 |
4 DEBUG |
23 |
------- |
24 |
|
25 |
Description: Issued when the Virtual Machine enters debug mode. |
26 |
Data: None. |
27 |
|
28 |
4 VNC_CONNECTED |
29 |
--------------- |
30 |
|
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. |
34 |
|
35 |
5 VNC_DISCONNECTED |
36 |
------------------ |
37 |
|
38 |
Description: Issued when the conection is closed. |
39 |
Data: 'server' and 'client' keys with the same keys as 'query-vnc'. |
40 |
|
41 |
6 VNC_INITIALIZED |
42 |
----------------- |
43 |
|
44 |
Description: Issued when the VNC session is made active. |
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 } } |