On 5/22/25 7:03 PM, Rowan Hart wrote:
From: novafacing <rowanbh...@gmail.com>

This patch adds functions to the plugins API to allow reading and
writing memory via virtual addresses. These functions only permit doing
so on the current CPU, because there is no way to ensure consistency if
plugins are allowed to read or write to other CPUs that aren't currently
in the context of the plugin.

Signed-off-by: novafacing <rowanbh...@gmail.com>
Signed-off-by: Rowan Hart <rowanbh...@gmail.com>
---
  include/qemu/qemu-plugin.h | 21 +++++++++++++++++++++
  plugins/api.c              | 18 ++++++++++++++++++
  2 files changed, 39 insertions(+)

Reviewed-by: Pierrick Bouvier <pierrick.bouv...@linaro.org>


Reply via email to