From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46245) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUuQx-0004QH-Hl for qemu-devel@nongnu.org; Wed, 03 Aug 2016 07:34:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bUuQt-0000Ih-4S for qemu-devel@nongnu.org; Wed, 03 Aug 2016 07:33:59 -0400 Received: from gate.crashing.org ([63.228.1.57]:52114) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUuQs-0000IX-Qj for qemu-devel@nongnu.org; Wed, 03 Aug 2016 07:33:55 -0400 Message-ID: <1470224027.12584.92.camel@kernel.crashing.org> From: Benjamin Herrenschmidt Date: Wed, 03 Aug 2016 21:33:47 +1000 In-Reply-To: References: <1470194106.12584.41.camel@kernel.crashing.org> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 1/2] Fix tlb_vaddr_to_host with CONFIG_USER_ONLY List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: QEMU Developers On Wed, 2016-08-03 at 12:19 +0100, Peter Maydell wrote: >=C2=A0 > 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.