|
@@ -12,24 +12,9 @@
|
|
#include "qemu/error-report.h"
|
|
#include "qemu/error-report.h"
|
|
#include "qemu/queue.h"
|
|
#include "qemu/queue.h"
|
|
#include "qemu/option.h"
|
|
#include "qemu/option.h"
|
|
|
|
+#include "qemu/plugin-event.h"
|
|
#include "exec/memopidx.h"
|
|
#include "exec/memopidx.h"
|
|
|
|
|
|
-/*
|
|
|
|
- * Events that plugins can subscribe to.
|
|
|
|
- */
|
|
|
|
-enum qemu_plugin_event {
|
|
|
|
- QEMU_PLUGIN_EV_VCPU_INIT,
|
|
|
|
- QEMU_PLUGIN_EV_VCPU_EXIT,
|
|
|
|
- QEMU_PLUGIN_EV_VCPU_TB_TRANS,
|
|
|
|
- QEMU_PLUGIN_EV_VCPU_IDLE,
|
|
|
|
- QEMU_PLUGIN_EV_VCPU_RESUME,
|
|
|
|
- QEMU_PLUGIN_EV_VCPU_SYSCALL,
|
|
|
|
- QEMU_PLUGIN_EV_VCPU_SYSCALL_RET,
|
|
|
|
- QEMU_PLUGIN_EV_FLUSH,
|
|
|
|
- QEMU_PLUGIN_EV_ATEXIT,
|
|
|
|
- QEMU_PLUGIN_EV_MAX, /* total number of plugin events we support */
|
|
|
|
-};
|
|
|
|
-
|
|
|
|
/*
|
|
/*
|
|
* Option parsing/processing.
|
|
* Option parsing/processing.
|
|
* Note that we can load an arbitrary number of plugins.
|
|
* Note that we can load an arbitrary number of plugins.
|