From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F39nz-00010T-Cd for qemu-devel@nongnu.org; Sun, 29 Jan 2006 05:29:11 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F39nx-000100-9R for qemu-devel@nongnu.org; Sun, 29 Jan 2006 05:29:10 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F39nw-0000zw-F6 for qemu-devel@nongnu.org; Sun, 29 Jan 2006 05:29:08 -0500 Received: from [65.74.133.5] (helo=mail.codesourcery.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1F39m3-0005u0-8w for qemu-devel@nongnu.org; Sun, 29 Jan 2006 05:27:11 -0500 From: Paul Brook Subject: Re: [Qemu-devel] Running code from IO memory Date: Sun, 29 Jan 2006 10:25:56 +0000 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200601291025.58848.paul@codesourcery.com> 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 On Saturday 28 January 2006 00:14, G Portokalidis wrote: > I've been hacking Qemu for Argos, and i was wondering whether it is > possible to execute code from a virtual peripherals memory. Short answer is no. The basic problem is because qemu uses dynamic translation, code is read once in a big block, then executed an arbitrary number of times. You could maybe hack qemu to make execution from volatile memory work, but it certainly doesn't work out the box. Paul