mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-27 03:47:43 +00:00
71be3423a6
An unintended consequence of commit 42ac9bd18d
("vfio: initialize
the virqfd workqueue in VFIO generic code") is that the vfio module
is renamed to vfio_core so that it can include both vfio and virqfd.
That's a user visible change that may break module loading scritps
and it imposes eventfd support as a dependency on the core vfio code,
which it's really not. virqfd is intended to be provided as a service
to vfio bus drivers, so instead of wrapping it into vfio.ko, we can
make it a stand-alone module toggled by vfio bus drivers. This has
the additional benefit of removing initialization and exit from the
core vfio code.
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
28 lines
732 B
Plaintext
28 lines
732 B
Plaintext
config VFIO_PCI
|
|
tristate "VFIO support for PCI devices"
|
|
depends on VFIO && PCI && EVENTFD
|
|
select VFIO_VIRQFD
|
|
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.
|
|
|
|
config VFIO_PCI_VGA
|
|
bool "VFIO PCI support for VGA devices"
|
|
depends on VFIO_PCI && X86 && VGA_ARB
|
|
help
|
|
Support for VGA extension to VFIO PCI. This exposes an additional
|
|
region on VGA devices for accessing legacy VGA addresses used by
|
|
BIOS and generic video drivers.
|
|
|
|
If you don't know what to do here, say N.
|
|
|
|
config VFIO_PCI_MMAP
|
|
depends on VFIO_PCI
|
|
def_bool y if !S390
|
|
|
|
config VFIO_PCI_INTX
|
|
depends on VFIO_PCI
|
|
def_bool y if !S390
|