diff options
author | Thomas Huth <thuth@redhat.com> | 2020-06-11 11:36:40 -0600 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2020-06-11 11:36:40 -0600 |
commit | 643a4eacef87a318cf71800a4fb2ae1f78c4b245 (patch) | |
tree | 1d34793efebb99d29e8c52076de4c2c4e95bf09b /hw/vfio | |
parent | ee7932b0bba2062a0fad1e70d576ef13c4906c83 (diff) |
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>
Diffstat (limited to 'hw/vfio')
-rw-r--r-- | hw/vfio/pci-quirks.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/vfio/pci-quirks.c b/hw/vfio/pci-quirks.c index a1e615c54e..d304c81148 100644 --- a/hw/vfio/pci-quirks.c +++ b/hw/vfio/pci-quirks.c @@ -11,6 +11,7 @@ */ #include "qemu/osdep.h" +#include "config-devices.h" #include "exec/memop.h" #include "qemu/units.h" #include "qemu/error-report.h" |