-Origin email-
From: Peter Maydell peter.mayd...@linaro.org
Sent Time: Friday, November 21, 2014
To: Kaiyuan kaiyu...@tju.edu.cn
Cc: Greg Kurz gk...@linux.vnet.ibm.com, qemu-devel qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Fw:Re:Re: How to access guest memory from qemu
device
On 23 November 2014 at 13:18, Kaiyuan kaiyu...@tju.edu.cn wrote:
Thanks for your explanation about guest physical/virtual
address and host physical/virtual address, and I think I
asked a wrong question. Is there a function that translates
guest Physical address to host Virtual address so that
-Origin email-
From: Peter Maydell peter.mayd...@linaro.org
Sent Time: Monday, November 24, 2014
To: Kaiyuan kaiyu...@tju.edu.cn
Cc: Greg Kurz gk...@linux.vnet.ibm.com, qemu-devel qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] How to access guest memory from qemu device internal
Hello, all
I added a custom device to qemu. This device is attached to sysbus by mmio and
has an address register in which device should access the guest memory the
register point to.
I write a bare-metal program that pass an address like 0x1234ABCD to this
address register. Inside qemu
On Thu, 20 Nov 2014 21:25:18 +0800 (GMT+08:00)
Kaiyuan kaiyu...@tju.edu.cn wrote:
Hello, all
I added a custom device to qemu. This device is attached to sysbus by mmio
and has an address register in which device should access the guest memory
the register point to.
I write a bare-metal