Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
vfio: Add PCI device support
This adds VFIO backing for PCI device to be added and removed from
the VFIO framework and securely accessed from userspace.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
  • Loading branch information
awilliam committed Nov 3, 2011
1 parent 5b3e27f commit 534725d
Show file tree
Hide file tree
Showing 10 changed files with 2,591 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/vfio/Kconfig
Expand Up @@ -6,3 +6,5 @@ menuconfig VFIO
See Documentation/vfio.txt for more details.

If you don't know what to do here, say N.

source "drivers/vfio/pci/Kconfig"
1 change: 1 addition & 0 deletions drivers/vfio/Makefile
@@ -1,3 +1,4 @@
vfio-y := vfio_main.o vfio_iommu.o

obj-$(CONFIG_VFIO) := vfio.o
obj-$(CONFIG_VFIO_PCI) += pci/
8 changes: 8 additions & 0 deletions drivers/vfio/pci/Kconfig
@@ -0,0 +1,8 @@
config VFIO_PCI
tristate "VFIO support for PCI devices"
depends on VFIO && PCI
help
Support for the PCI VFIO bus driver. This is required to make
use of PCI drivers using the VFIO framework.

If you don't know what to do here, say N.
4 changes: 4 additions & 0 deletions drivers/vfio/pci/Makefile
@@ -0,0 +1,4 @@

vfio-pci-y := vfio_pci.o vfio_pci_intrs.o vfio_pci_rdwr.o vfio_pci_config.o

obj-$(CONFIG_VFIO_PCI) += vfio-pci.o

0 comments on commit 534725d

Please sign in to comment.