From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH 1/2] Fix tlb_vaddr_to_host with CONFIG_USER_ONLY
Date: Wed, 03 Aug 2016 21:33:47 +1000 [thread overview]
Message-ID: <1470224027.12584.92.camel@kernel.crashing.org> (raw)
In-Reply-To: <CAFEAcA-Rfo3iM5P3YUnn0YkcPP948Xtgwd5-Ntt_G4eVuR99Zw@mail.gmail.com>
On Wed, 2016-08-03 at 12:19 +0100, Peter Maydell wrote:
>
> I don't understand why this didn't cause compile failures...
I didn't either. I found:
include/qom/cpu.h:typedef uint64_t vaddr;
So g2h becomes something like (target_ulong)(uint64) + guest_base
Which does build ;-)
Cheers,
Ben.
prev parent reply other threads:[~2016-08-03 11:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-03 3:15 [Qemu-devel] [PATCH 1/2] Fix tlb_vaddr_to_host with CONFIG_USER_ONLY Benjamin Herrenschmidt
2016-08-03 11:19 ` Peter Maydell
2016-08-03 11:33 ` Benjamin Herrenschmidt [this message]
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=1470224027.12584.92.camel@kernel.crashing.org \
--to=benh@kernel.crashing.org \
--cc=peter.maydell@linaro.org \
--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.