[PATCH for-4.22 0/2] tools/ocaml: Fixes to Xenctrl.domain_getinfo{,list}()

Andrew Cooper posted 2 patches 4 weeks ago
Failed in applying to current master (apply log)
tools/ocaml/libs/xc/xenctrl_stubs.c | 37 +++++++++++++++++++++--------
1 file changed, 27 insertions(+), 10 deletions(-)
[PATCH for-4.22 0/2] tools/ocaml: Fixes to Xenctrl.domain_getinfo{,list}()
Posted by Andrew Cooper 4 weeks ago
For 4.22(?). This fixes a segfault in the Ocaml runtime on ARM.

It's not a regression vs 4.21, but it is deterministic and easy to fix.
Technically patch 1 is sufficient to fix the segfault, but producing an
unconditional exception is almost as useless.

Andrew Cooper (1):
  tools/ocaml: Fix crash in Xenctrl.domain_getinfo{,list} on ARM

Julian Vetter (1):
  tools/ocaml: Fill arch_config for ARM in domain_getinfo{,list}()

 tools/ocaml/libs/xc/xenctrl_stubs.c | 37 +++++++++++++++++++++--------
 1 file changed, 27 insertions(+), 10 deletions(-)


base-commit: 75f920bd47a4f59eaaa4596aa3f4e12a447d26d2
-- 
2.39.5
Re: [PATCH for-4.22 0/2] tools/ocaml: Fixes to Xenctrl.domain_getinfo{,list}()
Posted by Oleksii Kurochko 4 weeks ago

On 7/28/26 5:48 PM, Andrew Cooper wrote:
> For 4.22(?). This fixes a segfault in the Ocaml runtime on ARM.
> 
> It's not a regression vs 4.21, but it is deterministic and easy to fix.
> Technically patch 1 is sufficient to fix the segfault, but producing an
> unconditional exception is almost as useless.

For both patches:

Release-Acked-by: Oleksii Kurochko <oleksii.kurochko@gmail.com>

~ Oleksii
Re: [PATCH for-4.22 0/2] tools/ocaml: Fixes to Xenctrl.domain_getinfo{,list}()
Posted by Andrew Cooper 4 weeks ago
On 28/07/2026 4:50 pm, Oleksii Kurochko wrote:
>
>
> On 7/28/26 5:48 PM, Andrew Cooper wrote:
>> For 4.22(?). This fixes a segfault in the Ocaml runtime on ARM.
>>
>> It's not a regression vs 4.21, but it is deterministic and easy to fix.
>> Technically patch 1 is sufficient to fix the segfault, but producing an
>> unconditional exception is almost as useless.
>
> For both patches:
>
> Release-Acked-by: Oleksii Kurochko <oleksii.kurochko@gmail.com>

Thanks.  I've managed to get some testing in GitlabCI showing the segfault:

  https://gitlab.com/xen-project/hardware/xen-staging/-/jobs/15583141354

and things working properly with this series in place:

  https://gitlab.com/xen-project/hardware/xen-staging/-/jobs/15583735066

~Andrew