All of lore.kernel.org
 help / color / mirror / Atom feed
From: Shehbaz Jaffer <shehbazjaffer007@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Get Guest Virtual to Host Physical address mapping
Date: Tue, 21 May 2013 16:43:48 +0530	[thread overview]
Message-ID: <CAPLK-i9n4JE4+Bku87-q3CYBGEv0+HvjD9SZS=Q6+j3fNDLgQw@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 607 bytes --]

Hi,

I am trying to find out the Guest VA to Host PA mapping in QEMU. Can
someone give ideas about the data-structures that are used for storing the
same? From the code, It looks like the CPU_X86 state contains control
registers, and from the cr[3] register, I can get the page table address.
but can someone please give me pointers as to how I can store the whole GVA
to HPA mapping in a file?

Note that when I save the GVA to HPA mapping, the guest is paused.
(vm_stop() is called).

Thankyou.

-- 
Shehbaz Jaffer
Graduate Student
Department of Computer Engineering
Indian Institute of Technology, Delhi

[-- Attachment #2: Type: text/html, Size: 689 bytes --]

                 reply	other threads:[~2013-05-21 11:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='CAPLK-i9n4JE4+Bku87-q3CYBGEv0+HvjD9SZS=Q6+j3fNDLgQw@mail.gmail.com' \
    --to=shehbazjaffer007@gmail.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.