mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
QMP: Introduce basic asynchronous events
Debug, shutdown, reset, powerdown and stop are all basic events, as they are very simple they can be added in the same commit. Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
0d1ea871b0
commit
b1a15e7eaa
3 changed files with 29 additions and 2 deletions
|
@ -15,6 +15,11 @@ extern Monitor *cur_mon;
|
|||
|
||||
/* QMP events */
|
||||
typedef enum MonitorEvent {
|
||||
EVENT_DEBUG,
|
||||
EVENT_SHUTDOWN,
|
||||
EVENT_RESET,
|
||||
EVENT_POWERDOWN,
|
||||
EVENT_STOP,
|
||||
EVENT_MAX,
|
||||
} MonitorEvent;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue