qemu-cr16/plugins
Julian Ganz aac73d85d2 plugins: add API for registering discontinuity callbacks
The plugin API allows registration of callbacks for a variety of VCPU
related events, such as VCPU reset, idle and resume. In addition to
those events, we recently defined discontinuity events, which include
traps.

This change introduces a function to register callbacks for these
events. We define one distinct plugin event type for each type of
discontinuity, granting fine control to plugins in term of which events
they receive.

Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Julian Ganz <neither@nut.email>
Message-ID: <20251027110344.2289945-9-alex.bennee@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
2025-10-29 14:12:43 +00:00
..
api-system.c plugins/api: split out time control helpers 2025-03-10 10:30:01 +00:00
api-user.c plugins/api: split out time control helpers 2025-03-10 10:30:01 +00:00
api.c plugins: Add memory hardware address read/write API 2025-07-02 10:09:48 +01:00
core.c plugins: add API for registering discontinuity callbacks 2025-10-29 14:12:43 +00:00
loader.c plugins: Use tb_flush__exclusive_or_serial 2025-09-24 10:29:43 -07:00
meson.build meson: fix Windows build 2025-06-16 13:16:27 -04:00
plugin.h plugins/loader: compile loader only once 2025-03-10 10:30:01 +00:00
system.c plugins/loader: compile loader only once 2025-03-10 10:30:01 +00:00
user.c plugins/loader: compile loader only once 2025-03-10 10:30:01 +00:00