]> git.proxmox.com Git - pve-qemu.git/blame - debian/patches/extra/0001-hw-vfio-pci-quirks-Fix-broken-legacy-IGD-passthrough.patch
bump version to 5.0.0-13
[pve-qemu.git] / debian / patches / extra / 0001-hw-vfio-pci-quirks-Fix-broken-legacy-IGD-passthrough.patch
CommitLineData
f0b53ef0
SR
1From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2From: Thomas Huth <thuth@redhat.com>
3Date: Thu, 11 Jun 2020 11:36:40 -0600
4Subject: [PATCH] hw/vfio/pci-quirks: Fix broken legacy IGD passthrough
5
6The #ifdef CONFIG_VFIO_IGD in pci-quirks.c is not working since the
7required header config-devices.h is not included, so that the legacy
8IGD passthrough is currently broken. Let's include the right header
9to fix this issue.
10
11Buglink: https://bugs.launchpad.net/qemu/+bug/1882784
12Fixes: 29d62771c81d ("hw/vfio: Move the IGD quirk code to a separate file")
13Signed-off-by: Thomas Huth <thuth@redhat.com>
14Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
15Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
16---
17 hw/vfio/pci-quirks.c | 1 +
18 1 file changed, 1 insertion(+)
19
20diff --git a/hw/vfio/pci-quirks.c b/hw/vfio/pci-quirks.c
21index 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--
332.20.1
34