From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:42705) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R1NIa-0003uv-Jj for qemu-devel@nongnu.org; Wed, 07 Sep 2011 14:56:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R1NIW-0003R6-OZ for qemu-devel@nongnu.org; Wed, 07 Sep 2011 14:56:36 -0400 Received: from rcsinet15.oracle.com ([148.87.113.117]:58532) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R1NIV-0003Nz-0s for qemu-devel@nongnu.org; Wed, 07 Sep 2011 14:56:32 -0400 Date: Wed, 7 Sep 2011 14:55:05 -0400 From: Konrad Rzeszutek Wilk Message-ID: <20110907185505.GF7074@dumpdata.com> References: <20110901194915.2391.97400.stgit@s20.home> <20110901195050.2391.12028.stgit@s20.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110901195050.2391.12028.stgit@s20.home> Subject: Re: [Qemu-devel] [RFC PATCH 4/5] VFIO: Add PCI device support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alex Williamson Cc: aafabbri@cisco.com, aik@au1.ibm.com, kvm@vger.kernel.org, pmac@au1.ibm.com, qemu-devel@nongnu.org, joerg.roedel@amd.com, agraf@suse.de, dwg@au1.ibm.com, chrisw@sous-sol.org, B08248@freescale.com, iommu@lists.linux-foundation.org, avi@redhat.com, linux-pci@vger.kernel.org, B07421@freescale.com, benve@cisco.com On Thu, Sep 01, 2011 at 01:50:50PM -0600, Alex Williamson wrote: > Signed-off-by: Alex Williamson > --- > > drivers/vfio/Kconfig | 7 ++ > drivers/vfio/Makefile | 1 > drivers/vfio/vfio_main.c | 10 +++ > drivers/vfio/vfio_pci.c | 124 +++++++++++++++++++++++++++++++++++++++++++ > drivers/vfio/vfio_private.h | 5 ++ > 5 files changed, 147 insertions(+), 0 deletions(-) > create mode 100644 drivers/vfio/vfio_pci.c > > diff --git a/drivers/vfio/Kconfig b/drivers/vfio/Kconfig > index a150521..b17bdbd 100644 > --- a/drivers/vfio/Kconfig > +++ b/drivers/vfio/Kconfig > @@ -3,3 +3,10 @@ menuconfig VFIO > depends on IOMMU_API > help > If you don't know what to do here, say N. > + > +menuconfig VFIO_PCI > + bool "VFIO support for PCI devices" > + depends on VFIO && PCI > + default y if X86 Hahah.. And Linus is going to tear your behind for that. Default should be 'n'