Re: [Xen-devel] [for-4.9] Re: [PATCH v2] libxl/libxl_dm.c: u.hvm.usbdevice_list is checked for emptiness

2017-05-08 Thread Ian Jackson
Julien Grall writes ("Re: [for-4.9] Re: [PATCH v2] libxl/libxl_dm.c: u.hvm.usbdevice_list is checked for emptiness"): > On 08/05/17 10:54, Ian Jackson wrote: > > Julien, this is a candidate for 4.9. It's a minor bugfix. > > Release-acked-by: Julien Grall Thanks. Committed. Ian.

Re: [Xen-devel] [for-4.9] Re: [PATCH v2] libxl/libxl_dm.c: u.hvm.usbdevice_list is checked for emptiness

2017-05-08 Thread Julien Grall
Hi Ian, On 08/05/17 10:54, Ian Jackson wrote: Robin Lee writes ("[PATCH v2] libxl/libxl_dm.c: u.hvm.usbdevice_list is checked for emptiness"): Currently usbdevice_list is only checked for nullity. But the OCaml binding will convert empty list to a pointer to NULL, instead of a NULL pointer. Th

[Xen-devel] [for-4.9] Re: [PATCH v2] libxl/libxl_dm.c: u.hvm.usbdevice_list is checked for emptiness

2017-05-08 Thread Ian Jackson
Robin Lee writes ("[PATCH v2] libxl/libxl_dm.c: u.hvm.usbdevice_list is checked for emptiness"): > Currently usbdevice_list is only checked for nullity. But the OCaml binding > will convert empty list to a pointer to NULL, instead of a NULL pointer. That > means the OCaml binding will fail to disa