Re: [RESEND PATCH 02/12] golang/xenlight: fix StringList toC conversion

2021-06-18 Thread George Dunlap
> On May 24, 2021, at 9:36 PM, Nick Rosbrook wrote: > > The current implementation of StringList.toC does not correctly account > for how libxl_string_list is expected to be laid out in C, which is clear > when one looks at libxl_string_list_length in libxl.c. In particular, > StringList.toC d

[RESEND PATCH 02/12] golang/xenlight: fix StringList toC conversion

2021-05-24 Thread Nick Rosbrook
The current implementation of StringList.toC does not correctly account for how libxl_string_list is expected to be laid out in C, which is clear when one looks at libxl_string_list_length in libxl.c. In particular, StringList.toC does not account for the extra memory that should be allocated for t