libxl: Constify libxl_device_* param of *_getinfo
authorAnthony PERARD <anthony.perard@citrix.com>
Thu, 13 Jun 2019 15:42:09 +0000 (16:42 +0100)
committerIan Jackson <ian.jackson@eu.citrix.com>
Fri, 20 Sep 2019 09:41:01 +0000 (10:41 +0100)
commit1d1800ed347de5da7d45523758e33561d0b3c72f
tree1db34cbbcf9ac7c58a0843cf9126a07e81aba3ec
parent3bf9b8fde811c965b425d621d2651434a95cfe4a
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 is always true and constify the input parameter to avoid
further mistake.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl.h
tools/libxl/libxl_console.c
tools/libxl/libxl_disk.c
tools/libxl/libxl_nic.c
tools/libxl/libxl_vdispl.c
tools/libxl/libxl_vkb.c
tools/libxl/libxl_vsnd.c
tools/libxl/libxl_vtpm.c