mirror of
https://github.com/xemu-project/xemu.git
synced 2024-12-02 16:46:59 +00:00
29d62771c8
The IGD quirk code defines a separate device, the so-called "vfio-pci-igd-lpc-bridge" which shows up as a user-creatable device in all QEMU binaries that include the vfio code. This is a little bit unfortunate for two reasons: First, this device is completely useless in binaries like qemu-system-s390x. Second we also would like to disable it in downstream RHEL which currently requires some extra patches there since the device does not have a proper Kconfig-style switch yet. So it would be good if the device could be disabled more easily, thus let's move the code to a separate file instead and introduce a proper Kconfig switch for it which gets only enabled by default if we also have CONFIG_PC_PCI enabled. Signed-off-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
44 lines
650 B
Plaintext
44 lines
650 B
Plaintext
config VFIO
|
|
bool
|
|
depends on LINUX
|
|
|
|
config VFIO_PCI
|
|
bool
|
|
default y
|
|
select VFIO
|
|
select EDID
|
|
depends on LINUX && PCI
|
|
|
|
config VFIO_CCW
|
|
bool
|
|
default y
|
|
select VFIO
|
|
depends on LINUX && S390_CCW_VIRTIO
|
|
|
|
config VFIO_PLATFORM
|
|
bool
|
|
default y
|
|
select VFIO
|
|
depends on LINUX && PLATFORM_BUS
|
|
|
|
config VFIO_XGMAC
|
|
bool
|
|
default y
|
|
depends on VFIO_PLATFORM
|
|
|
|
config VFIO_AMD_XGBE
|
|
bool
|
|
default y
|
|
depends on VFIO_PLATFORM
|
|
|
|
config VFIO_AP
|
|
bool
|
|
default y
|
|
select VFIO
|
|
depends on LINUX && S390_CCW_VIRTIO
|
|
|
|
config VFIO_IGD
|
|
bool
|
|
default y if PC_PCI
|
|
depends on VFIO_PCI
|