hw/vfio/pci-quirks: Fix broken legacy IGD passthrough
commit643a4eacef87a318cf71800a4fb2ae1f78c4b245
authorThomas Huth <thuth@redhat.com>
Thu, 11 Jun 2020 17:36:40 +0000 (11 11:36 -0600)
committerAlex Williamson <alex.williamson@redhat.com>
Thu, 11 Jun 2020 17:36:40 +0000 (11 11:36 -0600)
tree1d34793efebb99d29e8c52076de4c2c4e95bf09b
parentee7932b0bba2062a0fad1e70d576ef13c4906c83
hw/vfio/pci-quirks: Fix broken legacy IGD passthrough

The #ifdef CONFIG_VFIO_IGD in pci-quirks.c is not working since the
required header config-devices.h is not included, so that the legacy
IGD passthrough is currently broken. Let's include the right header
to fix this issue.

Buglink: https://bugs.launchpad.net/qemu/+bug/1882784
Fixes: 29d62771c81d ("hw/vfio: Move the IGD quirk code to a separate file")
Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
hw/vfio/pci-quirks.c