Re: [Xen-devel] [PATCH 13/15] libxl: Constify libxl_device_* param of *_getinfo

2019-09-17 Thread Ian Jackson
Anthony PERARD writes ("[PATCH 13/15] libxl: Constify libxl_device_* param of *_getinfo"): > The libxl_device_TYPE parameter of all the libxl_device_TYPE_getinfo > function seems to be only used as input to find more information to bi > stored in the libxl_TYPEinfo parameter. > > Make sure this

[Xen-devel] [PATCH 13/15] libxl: Constify libxl_device_* param of *_getinfo

2019-06-14 Thread Anthony PERARD
The libxl_device_TYPE parameter of all the libxl_device_TYPE_getinfo function seems to be only used as input to find more information to bi stored in the libxl_TYPEinfo parameter. Make sure this is always true and constify the input parameter to avoid further mistake. Signed-off-by: Anthony