qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Steven <wangwangkang@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Is the return address of get_page_addr_code guest physical address?
Date: Thu, 9 Aug 2012 22:11:19 -0400	[thread overview]
Message-ID: <CAMTrTqUuhhwftNcNq11H-5XR-=JuntharYpjnrSTKmOSKAq=fg@mail.gmail.com> (raw)

Hi,
The function definition has a return address type tb_page_addr_t.
tb_page_addr_t get_page_addr_code(CPUArchState *env1, target_ulong addr)

I am wondering is this address the guest physical address or the host
virtual address.
If it it is the guest physical address, why does Qemu waste guest
physical space to store these address for tb? Thanks.

Steven

             reply	other threads:[~2012-08-10  2:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-10  2:11 Steven [this message]
2012-08-10 15:47 ` [Qemu-devel] Is the return address of get_page_addr_code guest physical address? Peter Maydell
2012-08-10 17:36   ` Steven
2012-08-10 18:53   ` Steven
2012-08-11  2:06     ` Peter Maydell
2012-08-11  3:41       ` Steven
2012-08-11 11:16         ` Laurent Desnogues

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='CAMTrTqUuhhwftNcNq11H-5XR-=JuntharYpjnrSTKmOSKAq=fg@mail.gmail.com' \
    --to=wangwangkang@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).