From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=43753 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OZ2Oi-0001yB-0n for qemu-devel@nongnu.org; Wed, 14 Jul 2010 09:53:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OZ2Od-0002R8-D1 for qemu-devel@nongnu.org; Wed, 14 Jul 2010 09:53:15 -0400 Received: from mail.codesourcery.com ([38.113.113.100]:38498) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OZ2Od-0002Qr-4J for qemu-devel@nongnu.org; Wed, 14 Jul 2010 09:53:11 -0400 From: Paul Brook Date: Wed, 14 Jul 2010 14:53:03 +0100 References: <1279086307-9596-1-git-send-email-eduard.munteanu@linux360.ro> <1279086307-9596-5-git-send-email-eduard.munteanu@linux360.ro> In-Reply-To: <1279086307-9596-5-git-send-email-eduard.munteanu@linux360.ro> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201007141453.06131.paul@codesourcery.com> Subject: [Qemu-devel] Re: [RFC PATCH 4/7] ide: IOMMU support List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eduard - Gabriel Munteanu Cc: joro@8bytes.org, avi@redhat.com, kvm@vger.kernel.org, qemu-devel@nongnu.org > Memory accesses must go through the IOMMU layer. No. Devices should not know or care whether an IOMMU is present. You should be adding a DeviceState argument to cpu_physical_memory_{rw,map}. This should then handle IOMMU translation transparently. You also need to accomodate the the case where multiple IOMMU are present. Paul