Re: [Qemu-devel] [PATCH] Fix tlb_vaddr_to_host with CONFIG_USER_ONLY

2016-09-22 Thread Laurent Vivier
On 21/09/2016 23:21, Benjamin Herrenschmidt wrote: > We use the wrong argument name for the g2h() macro ! > > The result ends up being something like (target_ulong)(uint64) + guest_base > which is obviously wrong. > > Signed-off-by: Benjamin Herrenschmidt Reviewed-by: Laurent Vivier Tested-b

[Qemu-devel] [PATCH] Fix tlb_vaddr_to_host with CONFIG_USER_ONLY

2016-09-21 Thread Benjamin Herrenschmidt
We use the wrong argument name for the g2h() macro ! The result ends up being something like (target_ulong)(uint64) + guest_base which is obviously wrong. Signed-off-by: Benjamin Herrenschmidt --- include/exec/cpu_ldst.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includ