From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Roedel, Joerg" Subject: Re: kvm PCI assignment & VFIO ramblings Date: Wed, 24 Aug 2011 13:03:32 +0200 Message-ID: <20110824110332.GH2079@amd.com> References: <20110823110431.GK2079@amd.com> <20110824091425.GE2079@amd.com> <20110824093300.GI30097@yookeroo.fritz.box> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: aafabbri , Alexey Kardashevskiy , "kvm@vger.kernel.org" , Paul Mackerras , "linux-pci@vger.kernel.org"
  • Content-Disposition: inline In-Reply-To: <20110824093300.GI30097@yookeroo.fritz.box> Sender: linux-pci-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On Wed, Aug 24, 2011 at 05:33:00AM -0400, David Gibson wrote: > On Wed, Aug 24, 2011 at 11:14:26AM +0200, Roedel, Joerg wrote: > > I don't see a reason to make this meta-grouping static. It would harm > > flexibility on x86. I think it makes things easier on power but there > > are options on that platform to get the dynamic solution too. > > I think several people are misreading what Ben means by "static". I > would prefer to say 'persistent', in that the meta-groups lifetime is > not tied to an fd, but they can be freely created, altered and removed > during runtime. Even if it can be altered at runtime, from a usability perspective it is certainly the best to handle these groups directly in qemu. Or are there strong reasons to do it somewhere else? 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from TX2EHSOBE008.bigfish.com (tx2ehsobe004.messaging.microsoft.com [65.55.88.14]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client CN "mail.global.frontbridge.com", Issuer "Microsoft Secure Server Authority" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id C574FB6F68 for ; Wed, 24 Aug 2011 21:06:01 +1000 (EST) Date: Wed, 24 Aug 2011 13:03:32 +0200 From: "Roedel, Joerg" To: aafabbri , Alexey Kardashevskiy , "kvm@vger.kernel.org" , Paul Mackerras , "linux-pci@vger.kernel.org" , qemu-devel , chrisw , iommu , Avi Kivity , Anthony Liguori , linuxppc-dev , "benve@cisco.com" Subject: Re: kvm PCI assignment & VFIO ramblings Message-ID: <20110824110332.GH2079@amd.com> References: <20110823110431.GK2079@amd.com> <20110824091425.GE2079@amd.com> <20110824093300.GI30097@yookeroo.fritz.box> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" In-Reply-To: <20110824093300.GI30097@yookeroo.fritz.box> List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, Aug 24, 2011 at 05:33:00AM -0400, David Gibson wrote: > On Wed, Aug 24, 2011 at 11:14:26AM +0200, Roedel, Joerg wrote: > > I don't see a reason to make this meta-grouping static. It would harm > > flexibility on x86. I think it makes things easier on power but there > > are options on that platform to get the dynamic solution too. > > I think several people are misreading what Ben means by "static". I > would prefer to say 'persistent', in that the meta-groups lifetime is > not tied to an fd, but they can be freely created, altered and removed > during runtime. Even if it can be altered at runtime, from a usability perspective it is certainly the best to handle these groups directly in qemu. Or are there strong reasons to do it somewhere else? 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:57292) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwBHP-0001XZ-L7 for qemu-devel@nongnu.org; Wed, 24 Aug 2011 07:05:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QwBHO-0004Jw-Hf for qemu-devel@nongnu.org; Wed, 24 Aug 2011 07:05:55 -0400 Received: from tx2ehsobe004.messaging.microsoft.com ([65.55.88.14]:51887 helo=TX2EHSOBE008.bigfish.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwBHO-0004Jh-BT for qemu-devel@nongnu.org; Wed, 24 Aug 2011 07:05:54 -0400 Date: Wed, 24 Aug 2011 13:03:32 +0200 From: "Roedel, Joerg" Message-ID: <20110824110332.GH2079@amd.com> References: <20110823110431.GK2079@amd.com> <20110824091425.GE2079@amd.com> <20110824093300.GI30097@yookeroo.fritz.box> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20110824093300.GI30097@yookeroo.fritz.box> Subject: Re: [Qemu-devel] kvm PCI assignment & VFIO ramblings List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: aafabbri , Alexey Kardashevskiy , "kvm@vger.kernel.org" , Paul Mackerras , "linux-pci@vger.kernel.org" , qemu-devel , chrisw , iommu , Avi Kivity , Anthony Liguori , linuxppc-dev , "benve@cisco.com" On Wed, Aug 24, 2011 at 05:33:00AM -0400, David Gibson wrote: > On Wed, Aug 24, 2011 at 11:14:26AM +0200, Roedel, Joerg wrote: > > I don't see a reason to make this meta-grouping static. It would harm > > flexibility on x86. I think it makes things easier on power but there > > are options on that platform to get the dynamic solution too. > > I think several people are misreading what Ben means by "static". I > would prefer to say 'persistent', in that the meta-groups lifetime is > not tied to an fd, but they can be freely created, altered and removed > during runtime. Even if it can be altered at runtime, from a usability perspective it is certainly the best to handle these groups directly in qemu. Or are there strong reasons to do it somewhere else? 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