The plugin API allows registration of callbacks for a variety of VCPU
related events, such as VCPU reset, idle and resume. In addition, we
recently introduced API for registering callbacks for discontinuity
events, specifically for interrupts, exceptions and host calls.
This change introduces the corresponding hooks called from target
specific code inside qemu.
Signed-off-by: Julian Ganz <neither@nut.email>
---
include/qemu/plugin.h | 12 ++++++++++
plugins/core.c | 53 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 65 insertions(+)