From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34562) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ya6Ve-00055a-Lc for qemu-devel@nongnu.org; Mon, 23 Mar 2015 13:51:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ya6VZ-0003Aa-DY for qemu-devel@nongnu.org; Mon, 23 Mar 2015 13:51:30 -0400 Received: from cantor2.suse.de ([195.135.220.15]:53850 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ya6VZ-0003AO-1Y for qemu-devel@nongnu.org; Mon, 23 Mar 2015 13:51:25 -0400 Message-ID: <5510529B.9000703@suse.de> Date: Mon, 23 Mar 2015 18:51:23 +0100 From: =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= MIME-Version: 1.0 References: <55102594.6000902@redhat.com> In-Reply-To: <55102594.6000902@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] RFC: memory API changes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini , Peter Maydell , QEMU Developers Cc: "Edgar E. Iglesias" , Peter Crosthwaite , Richard Henderson , Greg Bellows Am 23.03.2015 um 15:39 schrieb Paolo Bonzini: > On 23/03/2015 13:24, Peter Maydell wrote: >> The point of indicating failure via MemTxResult is that at >> some point we need to correct the current broken handling of >> the CPUClass do_unassigned_access hook, because that should >> only be invoked if the CPU itself does an access to an unassigned >> address, not if some random DMA'ing device does! >=20 > 100% agreement on this. Just to clarify, CPUClass::do_unassigned_access() was a simple refactoring towards multi-target builds (~two inline functions remain). If you rather need it on MemoryRegion level or somewhere else, feel free to post patches, just please keep the original goal in mind. Regards, Andreas --=20 SUSE Linux GmbH, Maxfeldstr. 5, 90409 N=C3=BCrnberg, Germany GF: Felix Imend=C3=B6rffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu, Graham Norton; HRB 21284 (AG N=C3=BCrnberg)