]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/riscv/kvm: Replace legacy cpu_physical_memory_read/write() calls
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 1 Oct 2025 08:53:07 +0000 (10:53 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 16 Oct 2025 15:07:28 +0000 (17:07 +0200)
commitb4c93258a9d4e567d6e74d47cfcbbac0ff542bfa
tree0012b36f36bf5674210e3a0e92b20f1297b4253c
parent5b67dbf1dc3caa6992576725a0783fa68fe6990c
target/riscv/kvm: Replace legacy cpu_physical_memory_read/write() calls

Commit b7ecba0f6f6 ("docs/devel/loads-stores.rst: Document our
various load and store APIs") mentioned cpu_physical_memory_*()
methods are legacy, the replacement being address_space_*().

Since the SBI DBCN is handled within a vCPU context, use its
default address space. Replace using the address space API.
As with the previous implementation, ignore whether the memory
accesses succeeded or failed.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
Message-Id: <20251002145742.75624-4-philmd@linaro.org>
target/riscv/kvm/kvm-cpu.c