]> git.ipfire.org Git - thirdparty/qemu.git/commit
plugins: Add memory virtual address write API
authorRowan Hart <rowanbhart@gmail.com>
Fri, 27 Jun 2025 11:25:04 +0000 (12:25 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Wed, 2 Jul 2025 09:09:48 +0000 (10:09 +0100)
commitf00373b895da830ef6d0ee9a518e336e8252a4a3
treef48e4ba334f617cc1349059581d1d3c265e458d9
parent766e00bd570f54c8d08023a46cd3386e96ecd39f
plugins: Add memory virtual address write API

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.

Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Rowan Hart <rowanbhart@gmail.com>
Message-ID: <20250624175351.440780-5-rowanbhart@gmail.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-ID: <20250627112512.1880708-9-alex.bennee@linaro.org>
include/qemu/qemu-plugin.h
plugins/api.c