Re: [PATCH v3] xen/public: fix flexible array definitions

2023-12-01 Thread Julien Grall
On 01/12/2023 11:20, Juergen Gross wrote: Flexible arrays in public headers can be problematic with some compilers. With XEN_FLEX_ARRAY_DIM there is a mechanism available to deal with this issue, but care must be taken to not change the affected structs in an incompatible way. So bump __XEN_

Re: [PATCH v3] xen/public: fix flexible array definitions

2023-12-01 Thread Jan Beulich
On 01.12.2023 12:20, Juergen Gross wrote: > Flexible arrays in public headers can be problematic with some > compilers. > > With XEN_FLEX_ARRAY_DIM there is a mechanism available to deal with > this issue, but care must be taken to not change the affected structs > in an incompatible way. > > So

Re: [PATCH v3] xen/public: fix flexible array definitions

2023-12-01 Thread Henry Wang
Hi Juergen, > On Dec 1, 2023, at 19:20, Juergen Gross wrote: > > Flexible arrays in public headers can be problematic with some > compilers. > > With XEN_FLEX_ARRAY_DIM there is a mechanism available to deal with > this issue, but care must be taken to not change the affected structs > in an in

[PATCH v3] xen/public: fix flexible array definitions

2023-12-01 Thread Juergen Gross
Flexible arrays in public headers can be problematic with some compilers. With XEN_FLEX_ARRAY_DIM there is a mechanism available to deal with this issue, but care must be taken to not change the affected structs in an incompatible way. So bump __XEN_LATEST_INTERFACE_VERSION__ and introduce a new