public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: PG <pg.lists@gmail.com>
To: kvm@vger.kernel.org, gioacchino.mendola@gmail.com
Subject: Re: Fw: Accessing guest memory from the host
Date: Sun, 01 Feb 2009 14:25:47 -0800	[thread overview]
Message-ID: <4986216B.5000002@gmail.com> (raw)
In-Reply-To: <DFE1359BFEB8E94F90ABE64FCDB7765015AAEB24@bgsmsx502.gar.corp.intel.com>

Gioacchino Mendola wrote:
>
> I'm trying to access guest memory from the host machine (x86_64).
> In particular I would like to be able to find
> the "physical" memory addresses the host machine allocates for the guest vm.
> Is there any function in KVM that allows me to do that?
> Could any of you please help me clarify the subject
> or point me to some detailed documentation?
>
>   
One way is to walk the host's page directory and page tables to map the 
host linear address to host physical address, assuming you know how to 
get the host linear address that kvm has allocated to the guest vm.

-pg


       reply	other threads:[~2009-02-01 22:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <DFE1359BFEB8E94F90ABE64FCDB7765015AAEB24@bgsmsx502.gar.corp.intel.com>
2009-02-01 22:25 ` PG [this message]
2009-02-02  0:14   ` Fw: Accessing guest memory from the host Jun Koi

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=4986216B.5000002@gmail.com \
    --to=pg.lists@gmail.com \
    --cc=gioacchino.mendola@gmail.com \
    --cc=kvm@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox