From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: [RFC PATCH 4/5] VFIO: Add PCI device support Date: Wed, 7 Sep 2011 14:55:05 -0400 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 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 To: Alex Williamson Return-path: Content-Disposition: inline In-Reply-To: <20110901195050.2391.12028.stgit@s20.home> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org Sender: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org List-Id: kvm.vger.kernel.org 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'