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.