From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:58266) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QvopW-0007R3-Ep for qemu-devel@nongnu.org; Tue, 23 Aug 2011 07:07:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QvopV-0001a6-HK for qemu-devel@nongnu.org; Tue, 23 Aug 2011 07:07:38 -0400 Received: from tx2ehsobe003.messaging.microsoft.com ([65.55.88.13]:30442 helo=TX2EHSOBE005.bigfish.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QvopV-0001Zq-Cw for qemu-devel@nongnu.org; Tue, 23 Aug 2011 07:07:37 -0400 Date: Tue, 23 Aug 2011 13:04:31 +0200 From: Joerg Roedel Message-ID: <20110823110431.GK2079@amd.com> References: <1314049785.7662.44.camel@pasglop> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] kvm PCI assignment & VFIO ramblings List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: aafabbri Cc: Alexey Kardashevskiy , "kvm@vger.kernel.org" , Paul Mackerras , "linux-pci@vger.kernel.org" , qemu-devel , chrisw , iommu , Avi Kivity , linuxppc-dev , "benve@cisco.com" On Mon, Aug 22, 2011 at 08:52:18PM -0400, aafabbri wrote: > You have to enforce group/iommu domain assignment whether you have the > existing uiommu API, or if you change it to your proposed > ioctl(inherit_iommu) API. > > The only change needed to VFIO here should be to make uiommu fd assignment > happen on the groups instead of on device fds. That operation fails or > succeeds according to the group semantics (all-or-none assignment/same > uiommu). That is makes uiommu basically the same as the meta-groups, right? Joerg -- AMD Operating System Research Center Advanced Micro Devices GmbH Einsteinring 24 85609 Dornach General Managers: Alberto Bozzo, Andrew Bowd Registration: Dornach, Landkr. Muenchen; Registerger. Muenchen, HRB Nr. 43632