2 * Copyright (C) 2017, Emilio G. Cota <cota@braap.org>
4 * License: GNU GPL, version 2 or later.
5 * See the COPYING file in the top-level directory.
7 #ifndef QEMU_PLUGIN_EVENT_H
8 #define QEMU_PLUGIN_EVENT_H
11 * Events that plugins can subscribe to.
13 enum qemu_plugin_event
{
14 QEMU_PLUGIN_EV_VCPU_INIT
,
15 QEMU_PLUGIN_EV_VCPU_EXIT
,
16 QEMU_PLUGIN_EV_VCPU_TB_TRANS
,
17 QEMU_PLUGIN_EV_VCPU_IDLE
,
18 QEMU_PLUGIN_EV_VCPU_RESUME
,
19 QEMU_PLUGIN_EV_VCPU_SYSCALL
,
20 QEMU_PLUGIN_EV_VCPU_SYSCALL_RET
,
22 QEMU_PLUGIN_EV_ATEXIT
,
23 QEMU_PLUGIN_EV_MAX
, /* total number of plugin events we support */
26 #endif /* QEMU_PLUGIN_EVENT_H */