From f28b958cbf08c4019f99091208e5c877b857b030 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Date: Fri, 10 Nov 2023 22:50:35 +0100 Subject: hw/xen: Extract 'xen_igd.h' from 'xen_pt.h' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit "hw/xen/xen_pt.h" requires "hw/xen/xen_native.h" which is target specific. It also declares IGD methods, which are not target specific. Target-agnostic code can use IGD methods. To allow that, extract these methos into a new "hw/xen/xen_igd.h" header. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: David Woodhouse Message-Id: <20231114143816.71079-18-philmd@linaro.org> --- hw/xen/xen_pt_stub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/xen/xen_pt_stub.c') diff --git a/hw/xen/xen_pt_stub.c b/hw/xen/xen_pt_stub.c index 5c10844..72feebe 100644 --- a/hw/xen/xen_pt_stub.c +++ b/hw/xen/xen_pt_stub.c @@ -6,7 +6,7 @@ */ #include "qemu/osdep.h" -#include "hw/xen/xen_pt.h" +#include "hw/xen/xen_igd.h" #include "qapi/error.h" bool xen_igd_gfx_pt_enabled(void) -- cgit v1.1