From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46598) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W42zm-0000tH-07 for qemu-devel@nongnu.org; Fri, 17 Jan 2014 01:33:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W42zf-0007S7-04 for qemu-devel@nongnu.org; Fri, 17 Jan 2014 01:33:33 -0500 Received: from hendrix.mega-nerd.net ([203.206.230.162]:33679) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W42ze-0007Qc-KW for qemu-devel@nongnu.org; Fri, 17 Jan 2014 01:33:26 -0500 Received: from rollins.mnn (pharoah-vpn [10.9.8.2]) by hendrix.mega-nerd.net (Postfix) with SMTP id 0629A106E66 for ; Fri, 17 Jan 2014 17:33:20 +1100 (EST) Date: Fri, 17 Jan 2014 17:33:20 +1100 From: Erik de Castro Lopo Message-Id: <20140117173320.7f76b2c5735ae5bf7ed98821@mega-nerd.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Question on pointers in the qemu user space emulation Reply-To: qemu-devel@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi all, I'm currently working on implementing a missing part of a linux-user syscall. This syscall includes a function pointer for a callback. If one has a 64 bit user space emulation running on a 32 bit host, how does one handle the fact that the pointer might be 64 bits? Does the fact that the 32 bit host con only ever give out 32 bit addreses to the 64 bit guest just cancel out the possibility of any problems? Cheers, Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/