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
19void qapi_event_send_shutdown(bool guest, ShutdownCause reason);
20
21void qapi_event_send_powerdown(void);
22
23void qapi_event_send_reset(bool guest, ShutdownCause reason);
24
25void qapi_event_send_stop(void);
26
27void qapi_event_send_resume(void);
28
29void qapi_event_send_suspend(void);
30
31void qapi_event_send_suspend_disk(void);
32
33void qapi_event_send_wakeup(void);
34
35void qapi_event_send_watchdog(WatchdogAction action);
36
37void qapi_event_send_guest_panicked(GuestPanicAction action, bool has_info, GuestPanicInformation *info);
38
39#endif /* QAPI_EVENTS_RUN_STATE_H */
40