From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JjIq1-0002aT-IB for qemu-devel@nongnu.org; Tue, 08 Apr 2008 14:46:33 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JjIpz-0002Zk-Ot for qemu-devel@nongnu.org; Tue, 08 Apr 2008 14:46:32 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JjIpz-0002Zh-Lf for qemu-devel@nongnu.org; Tue, 08 Apr 2008 14:46:31 -0400 Received: from hall.aurel32.net ([88.191.38.19]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JjIpz-0000QL-99 for qemu-devel@nongnu.org; Tue, 08 Apr 2008 14:46:31 -0400 Received: from volta.aurel32.net ([2002:52e8:2fb:1:21e:8cff:feb0:693b]) by hall.aurel32.net with esmtpsa (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1JjIpx-0000KX-UR for qemu-devel@nongnu.org; Tue, 08 Apr 2008 20:46:30 +0200 Received: from aurel32 by volta.aurel32.net with local (Exim 4.69) (envelope-from ) id 1JjIq2-00043p-64 for qemu-devel@nongnu.org; Tue, 08 Apr 2008 20:46:34 +0200 Date: Tue, 8 Apr 2008 20:46:34 +0200 From: Aurelien Jarno Subject: Re: [Qemu-devel] [PATCH] Re: phys_ram_base, direct access to guest memory Message-ID: <20080408184634.GA11492@volta.aurel32.net> References: <18398.33922.132796.510683@mariner.uk.xensource.com> <47DEA908.4040907@qumranet.com> <18398.37844.354219.321675@mariner.uk.xensource.com> <18408.56889.160376.558448@mariner.uk.xensource.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <18408.56889.160376.558448@mariner.uk.xensource.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 Tue, Mar 25, 2008 at 11:12:57AM +0000, Ian Jackson wrote: > I wrote: > > In the attached patch, I remove all the direct uses of phys_ram_base > > from hw/pc.c, except for those presently needed to construct the > > arguments to the vga init functions. > > Is there something wrong with my patch or the general approach ? It simply doesn't work. After applying it, I get: qemu: fatal: Trying to execute code outside RAM or ROM at 0x000a0000 EAX=00000000 EBX=00000000 ECX=00000000 EDX=00000400 ESI=00000000 EDI=00000000 EBP=00000000 ESP=00000000 EIP=000affea EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0 ES =0000 00000000 0000ffff 00000000 CS =f000 ffff0000 0000ffff 00000000 SS =0000 00000000 0000ffff 00000000 DS =0000 00000000 0000ffff 00000000 FS =0000 00000000 0000ffff 00000000 GS =0000 00000000 0000ffff 00000000 LDT=0000 00000000 0000ffff 00008000 TR =0000 00000000 0000ffff 00008000 GDT= 00000000 0000ffff IDT= 00000000 0000ffff CR0=60000010 CR2=00000000 CR3=00000000 CR4=00000000 CCS=00000000 CCD=00000000 CCO=ADDB FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80 FPR0=0000000000000000 0000 FPR1=0000000000000000 0000 FPR2=0000000000000000 0000 FPR3=0000000000000000 0000 FPR4=0000000000000000 0000 FPR5=0000000000000000 0000 FPR6=0000000000000000 0000 FPR7=0000000000000000 0000 XMM00=00000000000000000000000000000000 XMM01=00000000000000000000000000000000 XMM02=00000000000000000000000000000000 XMM03=00000000000000000000000000000000 XMM04=00000000000000000000000000000000 XMM05=00000000000000000000000000000000 XMM06=00000000000000000000000000000000 XMM07=00000000000000000000000000000000 -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' aurel32@debian.org | aurelien@aurel32.net `- people.debian.org/~aurel32 | www.aurel32.net