From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F2yeY-0007Bl-Lg for qemu-devel@nongnu.org; Sat, 28 Jan 2006 17:34:43 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F2yTm-0004ul-2Y for qemu-devel@nongnu.org; Sat, 28 Jan 2006 17:23:42 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F2wLn-00018H-Fw for qemu-devel@nongnu.org; Sat, 28 Jan 2006 15:07:11 -0500 Received: from [66.249.92.198] (helo=uproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1F2eex-00087Q-T3 for qemu-devel@nongnu.org; Fri, 27 Jan 2006 20:13:48 -0500 Received: by uproxy.gmail.com with SMTP id m2so83997ugc for ; Fri, 27 Jan 2006 17:13:02 -0800 (PST) Message-ID: Date: Sat, 28 Jan 2006 01:14:03 +0100 From: G Portokalidis MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: [Qemu-devel] Running code from IO memory Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org I've been hacking Qemu for Argos, and i was wondering whether it is possible to execute code from a virtual peripherals memory. To be more explicit, i have coded a virtual peripheral that does nothing, but register some physical memory for memory io. This physical address is mapped into a process's address space. I would like to place code to be executed into that memory space. Can qemu's JIT handle such cases? I point eip to the corresponding virtual address, but everything crashes. Anyone? Cheers, Giorgos