diff options
author | Thomas Huth | 2020-02-06 19:55:42 +0100 |
---|---|---|
committer | Alex Williamson | 2020-02-06 19:55:42 +0100 |
commit | 29d62771c81d8fd244a67c14a1d968c268d3fb19 (patch) | |
tree | 97f19bb984dcc01cd7b9e21974ca742364e9facb /hw/vfio/Kconfig | |
parent | Merge remote-tracking branch 'remotes/vivier2/tags/trivial-branch-pull-reques... (diff) | |
download | qemu-29d62771c81d8fd244a67c14a1d968c268d3fb19.tar.gz qemu-29d62771c81d8fd244a67c14a1d968c268d3fb19.tar.xz qemu-29d62771c81d8fd244a67c14a1d968c268d3fb19.zip |
hw/vfio: Move the IGD quirk code to a separate file
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>
Diffstat (limited to 'hw/vfio/Kconfig')
-rw-r--r-- | hw/vfio/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/vfio/Kconfig b/hw/vfio/Kconfig index f0eaa75ce7..7cdba0560a 100644 --- a/hw/vfio/Kconfig +++ b/hw/vfio/Kconfig @@ -36,3 +36,8 @@ config VFIO_AP default y select VFIO depends on LINUX && S390_CCW_VIRTIO + +config VFIO_IGD + bool + default y if PC_PCI + depends on VFIO_PCI |