From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:42302) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfXCn-0000J8-5a for qemu-devel@nongnu.org; Thu, 23 May 2013 11:13:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UfXCj-0003r6-5h for qemu-devel@nongnu.org; Thu, 23 May 2013 11:13:25 -0400 Received: from mx1.redhat.com ([209.132.183.28]:30916) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfWk0-0001pT-Hg for qemu-devel@nongnu.org; Thu, 23 May 2013 10:43:40 -0400 Message-ID: <519E2B0F.5010308@redhat.com> Date: Thu, 23 May 2013 16:43:27 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1369133851-1894-1-git-send-email-pbonzini@redhat.com> <1369133851-1894-16-git-send-email-pbonzini@redhat.com> <20130523120533.GA26259@boomeroo.fritz.box> <519E2608.8050702@siemens.com> In-Reply-To: <519E2608.8050702@siemens.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 15/30] memory: add address_space_valid List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: peter.maydell@linaro.org, qemu-devel@nongnu.org, David Gibson Il 23/05/2013 16:22, Jan Kiszka ha scritto: >>> >> The old-style IOMMU lets you check whether an access is valid in a >>> >> given DMAContext. There is no equivalent for AddressSpace in the >>> >> memory API, implement it with a lookup of the dispatch tree. >> > >> > I don't love the name - "address_space_valid" suggests to me it tests >> > the validity of the whole address space, not a specific range. But >> > an obviously better name doesn't quickly occur to me. > Not sure ATM if someone else suggested this earlier already, but what > about something like address_space_access_valid? Sure. Paolo