]>
Commit | Line | Data |
---|---|---|
f0b53ef0 SR |
1 | From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 |
2 | From: Thomas Huth <thuth@redhat.com> | |
3 | Date: Thu, 11 Jun 2020 11:36:40 -0600 | |
4 | Subject: [PATCH] hw/vfio/pci-quirks: Fix broken legacy IGD passthrough | |
5 | ||
6 | The #ifdef CONFIG_VFIO_IGD in pci-quirks.c is not working since the | |
7 | required header config-devices.h is not included, so that the legacy | |
8 | IGD passthrough is currently broken. Let's include the right header | |
9 | to fix this issue. | |
10 | ||
11 | Buglink: https://bugs.launchpad.net/qemu/+bug/1882784 | |
12 | Fixes: 29d62771c81d ("hw/vfio: Move the IGD quirk code to a separate file") | |
13 | Signed-off-by: Thomas Huth <thuth@redhat.com> | |
14 | Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> | |
15 | Signed-off-by: Alex Williamson <alex.williamson@redhat.com> | |
16 | --- | |
17 | hw/vfio/pci-quirks.c | 1 + | |
18 | 1 file changed, 1 insertion(+) | |
19 | ||
20 | diff --git a/hw/vfio/pci-quirks.c b/hw/vfio/pci-quirks.c | |
21 | index 2d348f8237..656098b827 100644 | |
22 | --- a/hw/vfio/pci-quirks.c | |
23 | +++ b/hw/vfio/pci-quirks.c | |
24 | @@ -11,6 +11,7 @@ | |
25 | */ | |
26 | ||
27 | #include "qemu/osdep.h" | |
28 | +#include "config-devices.h" | |
29 | #include "exec/memop.h" | |
30 | #include "qemu/units.h" | |
31 | #include "qemu/error-report.h" | |
32 | -- | |
33 | 2.20.1 | |
34 |