* [Qemu-devel] read memory by virtual address?
@ 2012-12-03 16:53 Peter Cheung
2012-12-03 19:05 ` Igor Mitsyanko
0 siblings, 1 reply; 3+ messages in thread
From: Peter Cheung @ 2012-12-03 16:53 UTC (permalink / raw)
To: qemu-devel@nongnu.org
[-- Attachment #1: Type: text/plain, Size: 173 bytes --]
Dear All I can read memory by a physical address "cpu_physical_memory_map()", but how can i read it by linear address or virtual address?
Thanksfrom Peter
[-- Attachment #2: Type: text/html, Size: 436 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] read memory by virtual address?
2012-12-03 16:53 [Qemu-devel] read memory by virtual address? Peter Cheung
@ 2012-12-03 19:05 ` Igor Mitsyanko
2012-12-10 4:55 ` Peter Cheung
0 siblings, 1 reply; 3+ messages in thread
From: Igor Mitsyanko @ 2012-12-03 19:05 UTC (permalink / raw)
To: Peter Cheung; +Cc: qemu-devel@nongnu.org
On 12/03/2012 08:53 PM, Peter Cheung wrote:
> Dear All
> I can read memory by a physical
> address "cpu_physical_memory_map()", but how can i read it by linear
> address or virtual address?
>
> Thanks
> from Peter
Hi, Peter, you can use cpu_memory_rw_debug/cpu_get_phys_page_debug for this.
--
Mitsyanko Igor
ASWG, Moscow R&D center, Samsung Electronics
email: i.mitsyanko@samsung.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] read memory by virtual address?
2012-12-03 19:05 ` Igor Mitsyanko
@ 2012-12-10 4:55 ` Peter Cheung
0 siblings, 0 replies; 3+ messages in thread
From: Peter Cheung @ 2012-12-10 4:55 UTC (permalink / raw)
To: i.mitsyanko@samsung.com, qemu-devel@nongnu.org
[-- Attachment #1: Type: text/plain, Size: 678 bytes --]
> To: qemu-devel@nongnu.org
> From: i.mitsyanko@samsung.com
> Date: Mon, 3 Dec 2012 23:05:39 +0400
> CC: qemu-devel@nongnu.org
> Subject: Re: [Qemu-devel] read memory by virtual address?
>
> On 12/03/2012 08:53 PM, Peter Cheung wrote:
> > Dear All
> > I can read memory by a physical
> > address "cpu_physical_memory_map()", but how can i read it by linear
> > address or virtual address?
> >
> > Thanks
> > from Peter
>
> Hi, Peter, you can use cpu_memory_rw_debug/cpu_get_phys_page_debug for this.
>
>
> --
> Mitsyanko Igor
> ASWG, Moscow R&D center, Samsung Electronics
> email: i.mitsyanko@samsung.com
>
>
thanks so much
[-- Attachment #2: Type: text/html, Size: 1075 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-12-10 4:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-03 16:53 [Qemu-devel] read memory by virtual address? Peter Cheung
2012-12-03 19:05 ` Igor Mitsyanko
2012-12-10 4:55 ` Peter Cheung
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.