Re: [PATCH v2 3/4] tools/ocaml/libs/xc: add hvm_param_get binding

2022-12-02 Thread Christian Lindig
> On 2 Dec 2022, at 10:55, Edwin Török wrote: > > Not to be confused which hvm_get_param, which also exists and has a > different, more error-prone interface. > > This one always returns a 64-bit value, and that is retained in the > OCaml binding as well, returning 'int64' (and not int, or

Re: [PATCH v2 3/4] tools/ocaml/libs/xc: add hvm_param_get binding

2022-12-02 Thread Andrew Cooper
On 02/12/2022 10:55, Edwin Török wrote: > Not to be confused which hvm_get_param, which also exists and has a > different, more error-prone interface. > > This one always returns a 64-bit value, and that is retained in the > OCaml binding as well, returning 'int64' (and not int, or nativeint >

[PATCH v2 3/4] tools/ocaml/libs/xc: add hvm_param_get binding

2022-12-02 Thread Edwin Török
Not to be confused which hvm_get_param, which also exists and has a different, more error-prone interface. This one always returns a 64-bit value, and that is retained in the OCaml binding as well, returning 'int64' (and not int, or nativeint which might have a different size). The integer here