From: Philippe Mathieu-Daudé Date: Wed, 2 Apr 2025 22:49:00 +0000 (+0100) Subject: system/kvm_xen: Include missing 'exec/target_page.h' header X-Git-Tag: v11.1.0-rc0~134^2~98 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bea27e8264a74789c2dd2eec602dbd977e21854f;p=thirdparty%2Fqemu.git system/kvm_xen: Include missing 'exec/target_page.h' header The "exec/target_page.h" header is indirectly included. Include it explicitly otherwise we get when refactoring unrelated headers: include/system/kvm_xen.h:41:55: error: ‘TARGET_PAGE_BITS’ undeclared (first use in this function) 41 | #define XEN_SPECIAL_PFN(x) ((XEN_SPECIAL_AREA_ADDR >> TARGET_PAGE_BITS) + \ | ^~~~~~~~~~~~~~~~ Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Pierrick Bouvier Message-Id: <20260313062055.2188-16-philmd@linaro.org> --- diff --git a/include/system/kvm_xen.h b/include/system/kvm_xen.h index 7d0e69f1334..ed8c357193c 100644 --- a/include/system/kvm_xen.h +++ b/include/system/kvm_xen.h @@ -12,6 +12,8 @@ #ifndef QEMU_SYSTEM_KVM_XEN_H #define QEMU_SYSTEM_KVM_XEN_H +#include "exec/target_page.h" + /* The KVM API uses these to indicate "no GPA" or "no GFN" */ #define INVALID_GPA UINT64_MAX #define INVALID_GFN UINT64_MAX