Skip to content

Commit

Permalink
vfio/pci: Make IGD support a configurable option
Browse files Browse the repository at this point in the history
Allow the code which provides extensions to support direct assignment
of Intel IGD (GVT-d) to be compiled out of the kernel if desired.  The
config option for this was previously automatically enabled on X86,
therefore the default remains Y.  This simply provides the option to
disable it even for X86.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
  • Loading branch information
awilliam committed Jun 18, 2018
1 parent ce397d2 commit 08ca1b5
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions drivers/vfio/pci/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,13 @@ config VFIO_PCI_INTX
def_bool y if !S390

config VFIO_PCI_IGD
depends on VFIO_PCI
def_bool y if X86
bool "VFIO PCI extensions for Intel graphics (GVT-d)"
depends on VFIO_PCI && X86
default y
help
Support for Intel IGD specific extensions to enable direct
assignment to virtual machines. This includes exposing an IGD
specific firmware table and read-only copies of the host bridge
and LPC bridge config space.

To enable Intel IGD assignment through vfio-pci, say Y.

0 comments on commit 08ca1b5

Please sign in to comment.