[PATCH v2] plugin: Add callback support for vCPU hardware and architecture-specific interrupts

2025-05-17 Thread Liu marko
Implemented the `qemu_plugin_vcpu_int_cb` callback to allow plugins to observe hardware and architecture-specific interrupts. Modified `cpu-exec.c` to invoke the callback on hard interrupts, and added a test plugin (`countint`) to demonstrate its functionality. A similar approach was previously

[PATCH] plugin: Add callback support for vCPU hardware and architecture-specific interrupts

2025-05-17 Thread Liu marko
Implemented the `qemu_plugin_vcpu_int_cb` callback to allow plugins to observe hardware and architecture-specific interrupts. Modified `cpu-exec.c` to invoke the callback on hard interrupts, and added a test plugin (`countint`) to demonstrate its functionality. A similar approach was previously