[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/2] Fix tlb_vaddr_to_host with CONFIG_USER_ONLY
From: |
Benjamin Herrenschmidt |
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 |
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.