qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] hw/vfio/pci-quirks: Fix broken legacy IGD passthrough
@ 2020-06-10  3:51 Thomas Huth
  2020-06-10  7:31 ` Philippe Mathieu-Daudé
  0 siblings, 1 reply; 12+ messages in thread
From: Thomas Huth @ 2020-06-10  3:51 UTC (permalink / raw)
  To: Alex Williamson, qemu-devel; +Cc: qemu-trivial, qemu-stable

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: 29d62771c81d8fd244a67c14a1d968c268d3fb19
       ("hw/vfio: Move the IGD quirk code to a separate file")
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
 hw/vfio/pci-quirks.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hw/vfio/pci-quirks.c b/hw/vfio/pci-quirks.c
index f2155ddb1d..3158390db1 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"
-- 
2.18.1



^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2020-08-12  8:28 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-10  3:51 [PATCH] hw/vfio/pci-quirks: Fix broken legacy IGD passthrough Thomas Huth
2020-06-10  7:31 ` Philippe Mathieu-Daudé
2020-06-10  7:50   ` Thomas Huth
2020-06-10  7:53     ` Philippe Mathieu-Daudé
2020-06-10  7:59       ` Thomas Huth
2020-06-10  8:25         ` Philippe Mathieu-Daudé
2020-06-10  9:03           ` Thomas Huth
2020-06-10 10:08             ` Philippe Mathieu-Daudé
2020-06-11 17:35         ` Alex Williamson
2020-06-10 13:16     ` Laurent Vivier
2020-06-10 14:10       ` Thomas Huth
2020-08-12  8:26       ` Philippe Mathieu-Daudé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).