All of lore.kernel.org
 help / color / mirror / Atom feed
From: Igor Mitsyanko <i.mitsyanko@samsung.com>
To: Peter Cheung <mcheung63@hotmail.com>
Cc: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] read memory by virtual address?
Date: Mon, 03 Dec 2012 23:05:39 +0400	[thread overview]
Message-ID: <50BCF803.5020508@samsung.com> (raw)
In-Reply-To: <BAY002-W1730A59E784E3AFD5A4DAC6B5400@phx.gbl>

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

  reply	other threads:[~2012-12-03 19:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-03 16:53 [Qemu-devel] read memory by virtual address? Peter Cheung
2012-12-03 19:05 ` Igor Mitsyanko [this message]
2012-12-10  4:55   ` Peter Cheung

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50BCF803.5020508@samsung.com \
    --to=i.mitsyanko@samsung.com \
    --cc=mcheung63@hotmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.