1 | /* AUTOMATICALLY GENERATED, DO NOT MODIFY */ |
2 | |
3 | /* |
4 | * Schema-defined QAPI/QMP events |
5 | * |
6 | * Copyright (c) 2014 Wenchao Xia |
7 | * Copyright (c) 2015-2018 Red Hat Inc. |
8 | * |
9 | * This work is licensed under the terms of the GNU LGPL, version 2.1 or later. |
10 | * See the COPYING.LIB file in the top-level directory. |
11 | */ |
12 | |
13 | #ifndef QAPI_EVENTS_RUN_STATE_H |
14 | #define QAPI_EVENTS_RUN_STATE_H |
15 | |
16 | #include "qapi/util.h" |
17 | #include "qapi-types-run-state.h" |
18 | |
19 | void qapi_event_send_shutdown(bool guest, ShutdownCause reason); |
20 | |
21 | void qapi_event_send_powerdown(void); |
22 | |
23 | void qapi_event_send_reset(bool guest, ShutdownCause reason); |
24 | |
25 | void qapi_event_send_stop(void); |
26 | |
27 | void qapi_event_send_resume(void); |
28 | |
29 | void qapi_event_send_suspend(void); |
30 | |
31 | void qapi_event_send_suspend_disk(void); |
32 | |
33 | void qapi_event_send_wakeup(void); |
34 | |
35 | void qapi_event_send_watchdog(WatchdogAction action); |
36 | |
37 | void qapi_event_send_guest_panicked(GuestPanicAction action, bool has_info, GuestPanicInformation *info); |
38 | |
39 | #endif /* QAPI_EVENTS_RUN_STATE_H */ |
40 | |