Skip to content

Commit 08ca1b5

Browse files
author
Alex Williamson
committed
vfio/pci: Make IGD support a configurable option
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>
1 parent ce397d2 commit 08ca1b5

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

‎drivers/vfio/pci/Kconfig‎

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,13 @@ config VFIO_PCI_INTX
2828
def_bool y if !S390
2929

3030
config VFIO_PCI_IGD
31-
depends on VFIO_PCI
32-
def_bool y if X86
31+
bool "VFIO PCI extensions for Intel graphics (GVT-d)"
32+
depends on VFIO_PCI && X86
33+
default y
34+
help
35+
Support for Intel IGD specific extensions to enable direct
36+
assignment to virtual machines. This includes exposing an IGD
37+
specific firmware table and read-only copies of the host bridge
38+
and LPC bridge config space.
39+
40+
To enable Intel IGD assignment through vfio-pci, say Y.

0 commit comments

Comments
 (0)