summary refs log tree commit diff stats
path: root/hw/xen/xen_pt.c
diff options
context:
space:
mode:
authorAdam Williamson <awilliam@redhat.com>2025-07-17 15:02:07 -0700
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2025-07-29 13:56:39 +0200
commit014bb30d218ef0d91c300324dec99138e999e32d (patch)
tree2f677862c806fdbea12456d59c32341a42a5fe5d /hw/xen/xen_pt.c
parent2bfcd27e00a49da2efa5d703121b94cd9cd4948b (diff)
downloadfocaccia-qemu-014bb30d218ef0d91c300324dec99138e999e32d.tar.gz
focaccia-qemu-014bb30d218ef0d91c300324dec99138e999e32d.zip
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 <awilliam@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20250717220207.171040-1-awilliam@redhat.com>
[PMD: Improved commit description, added Fixes: tag]
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'hw/xen/xen_pt.c')
-rw-r--r--hw/xen/xen_pt.c1
1 files changed, 1 insertions, 0 deletions
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 <sys/ioctl.h>
 
 #include "hw/pci/pci.h"