From: Adam Williamson Date: Thu, 17 Jul 2025 22:02:07 +0000 (-0700) Subject: hw/xen/passthrough: add missing error-report include X-Git-Tag: v10.1.0-rc1~2^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=014bb30d218ef0d91c300324dec99138e999e32d;p=thirdparty%2Fqemu.git hw/xen/passthrough: add missing error-report include In commit cfcacbab38e ("xen/passthrough: use gsi to map pirq when dom0 is PVH") an `error_report` was added to this file, but the corresponding include of `qemu/error-report.h` was missed. This only becomes apparent when building against Xen 4.20+ with trace backend log disabled. Fixes: cfcacbab38e4 (xen/passthrough: use gsi to map pirq when dom0 is PVH) Signed-off-by: Adam Williamson Reviewed-by: Markus Armbruster Reviewed-by: Philippe Mathieu-Daudé Message-ID: <20250717220207.171040-1-awilliam@redhat.com> [PMD: Improved commit description, added Fixes: tag] Signed-off-by: Philippe Mathieu-Daudé --- diff --git a/hw/xen/xen_pt.c b/hw/xen/xen_pt.c index 9d16644d82..006b5b55f2 100644 --- a/hw/xen/xen_pt.c +++ b/hw/xen/xen_pt.c @@ -54,6 +54,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" +#include "qemu/error-report.h" #include #include "hw/pci/pci.h"