On 8/5/26 07:27, Neal Frager wrote: > The -I$(XEN_ROOT)/tools/include added to QEMU's extra-cflags causes > __XEN_INTERFACE_VERSION__ to be defined before xen_native.h is included, > triggering an include-order assertion. Downgrade to a warning since the > version is consistent in cross-compile. > Ref: https://github.com/qemu/qemu/commit/e2abfe5ec6 > > Signed-off-by: Neal Frager <[email protected]> > Signed-off-by: Vincent Stehlé <[email protected]> > --- > include/hw/xen/xen_native.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/hw/xen/xen_native.h b/include/hw/xen/xen_native.h > index 5caf91a616..3e1137efc1 100644 > --- a/include/hw/xen/xen_native.h > +++ b/include/hw/xen/xen_native.h > @@ -2,7 +2,7 @@ > #define QEMU_HW_XEN_NATIVE_H > > #ifdef __XEN_INTERFACE_VERSION__ > -#error In Xen native files, include xen_native.h before other Xen headers > +#warning In Xen native files, include xen_native.h before other Xen headers > #endif > > /*
This is a buildroot issue, so I don't believe it's necessary to fix from the qemu side.
