qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] How to use QEMU's "cpu_physical_memory_" functions?


From: Peter Maydell
Subject: Re: [Qemu-devel] How to use QEMU's "cpu_physical_memory_" functions?
Date: Sun, 14 Apr 2019 19:06:27 +0100

On Sat, 13 Apr 2019 at 10:47, 宋延杰 <address@hidden> wrote:
> I have started a project which requires the host to continuously write to
> VM's memory. VM reads its memory and performs some operations.
> I've found in this thread
> <https://lists.gnu.org/archive/html/qemu-devel/2014-11/msg03166.html> that
> I can use QEMU's "cpu_physical_memory_" functions. And I have found their
> definitions in "include/exec/cpu-common.h" in the source code of QEMU.

For QEMU functions which access guest memory, see
docs/devel/loads-stores.rst. cpu_physical_memory_* are
generally not what you want to use in current QEMU,
though some legacy code does.

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]