mirror_qemu/hw/vfio
Thomas Huth 29d62771c8 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>
2020-02-06 11:55:42 -07:00
..
Kconfig hw/vfio: Move the IGD quirk code to a separate file 2020-02-06 11:55:42 -07:00
Makefile.objs hw/vfio: Move the IGD quirk code to a separate file 2020-02-06 11:55:42 -07:00
amd-xgbe.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
ap.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
calxeda-xgmac.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
ccw.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
common.c memory: allow memory_region_register_iommu_notifier() to fail 2019-10-04 18:49:18 +02:00
display.c vfio/display: set dmabuf modifier field 2019-06-07 11:52:35 +02:00
igd.c hw/vfio: Move the IGD quirk code to a separate file 2020-02-06 11:55:42 -07:00
pci-quirks.c hw/vfio: Move the IGD quirk code to a separate file 2020-02-06 11:55:42 -07:00
pci.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
pci.h hw/vfio: Move the IGD quirk code to a separate file 2020-02-06 11:55:42 -07:00
platform.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
spapr.c core: replace getpagesize() with qemu_real_host_page_size 2019-10-26 15:38:06 +02:00
trace-events spapr: Support NVIDIA V100 GPU with NVLink2 2019-04-26 10:41:23 +10:00