From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:42865) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RUfXX-0004m4-F5 for qemu-devel@nongnu.org; Sun, 27 Nov 2011 09:17:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RUfXW-000289-Ab for qemu-devel@nongnu.org; Sun, 27 Nov 2011 09:17:07 -0500 Received: from mx1.redhat.com ([209.132.183.28]:31607) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RUfXW-000284-0X for qemu-devel@nongnu.org; Sun, 27 Nov 2011 09:17:06 -0500 Message-ID: <4ED2465E.9010709@redhat.com> Date: Sun, 27 Nov 2011 16:17:02 +0200 From: Avi Kivity MIME-Version: 1.0 References: <4ECD88EF.2030200@web.de> <4ECFC162.5050408@web.de> <4ED1F58D.1080809@redhat.com> <4ED2440B.9060709@web.de> In-Reply-To: <4ED2440B.9060709@web.de> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] Memory read/write issues List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?ISO-8859-15?Q?Andreas_F=E4rber?= Cc: qemu-devel Developers On 11/27/2011 04:07 PM, Andreas F=E4rber wrote: > Thanks a lot! You were right, setting TARGET_PAGE_BITS to 8 solves this > issue. > > I'd still like to fix this subpage case for others' benefit. Do you hav= e > any pointer where I should set breakpoints / review code? The subpage code (scheduled for demolition in 1.1) lives in exec.c. See subpage_init() and subpage_register(). I'd start with enabling DEBUG_SUBPAGE, fixing all the build errors, and looking at the output of subpage_readlen() and subpage_writelen(). --=20 error compiling committee.c: too many arguments to function