From: Joerg Roedel Subject: Re: [PATCH 3/9] add frontend implementation for the IOMMU API Date: Mon, 1 Dec 2008 17:59:08 +0100 Message-ID: <20081201165908.GC12816@amd.com> References: <20081201231852P.fujita.tomonori@lab.ntt.co.jp> <20081201142727.GL29705@8bytes.org> <4933F5A7.8020408@redhat.com> <20081202005830P.fujita.tomonori@lab.ntt.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Cc: avi@redhat.com, kvm@vger.kernel.org, weidong.han@intel.com, linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org, mingo@redhat.com, amit.shah@redhat.com To: FUJITA Tomonori Return-path: Received: from outbound-sin.frontbridge.com ([207.46.51.80]:7434 "EHLO SG2EHSOBE005.bigfish.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752021AbYLAQ7Y (ORCPT ); Mon, 1 Dec 2008 11:59:24 -0500 Content-Disposition: inline In-Reply-To: <20081202005830P.fujita.tomonori@lab.ntt.co.jp> Sender: kvm-owner@vger.kernel.org List-ID: On Tue, Dec 02, 2008 at 12:58:29AM +0900, FUJITA Tomonori wrote: > On Mon, 01 Dec 2008 16:33:11 +0200 > Avi Kivity wrote: > > > Joerg Roedel wrote: > > > Hmm, is there any hardware IOMMU with which we can't emulate domains by > > > partitioning the IO address space? This concept works for GART and > > > Calgary. > > > > > > > > > > Is partitioning secure? Domain X's user could program its hardware to > > dma to domain Y's addresses, zapping away Domain Y's user's memory. > > It can't be secure. So what's the point to emulate the domain > partitioning in many traditional hardware IOMMUs that doesn't support > it. Its a generic way to make non-contiguous host memory io-contiguous. I already pointed out some potential users for this. -- | AMD Saxony Limited Liability Company & Co. KG Operating | Wilschdorfer Landstr. 101, 01109 Dresden, Germany System | Register Court Dresden: HRA 4896 Research | General Partner authorized to represent: Center | AMD Saxony LLC (Wilmington, Delaware, US) | General Manager of AMD Saxony LLC: Dr. Hans-R. Deppe, Thomas McCoy