From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36722) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjPFN-0007j4-Fp for qemu-devel@nongnu.org; Mon, 03 Jun 2013 03:32:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UjPFM-0003GI-Ml for qemu-devel@nongnu.org; Mon, 03 Jun 2013 03:32:05 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58878) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjPFM-0003FC-Ch for qemu-devel@nongnu.org; Mon, 03 Jun 2013 03:32:04 -0400 Message-ID: <51AC4667.2000001@redhat.com> Date: Mon, 03 Jun 2013 09:31:51 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1369947836-2638-1-git-send-email-pbonzini@redhat.com> <1369947836-2638-7-git-send-email-pbonzini@redhat.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 06/22] memory: dispatch unassigned accesses based on .valid.accepts List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Blue Swirl Cc: qemu-devel@nongnu.org, =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= Il 01/06/2013 17:28, Blue Swirl ha scritto: > This means that memory.c is getting knowledge about CPU types and it > becomes more specific to current target. I think memory.c should be > generic and target agnostic (maybe one day compiled just once) with > exec.c implementing the target specific functionality. You're right, but the solution is simply to make cpu_unassigned_access a CPU method. Paolo