libxl: move libxl__device_from_ to LIBXL_DEFINE_DEVICE_FROM_TYPE
authorOleksandr Grytsov <oleksandr_grytsov@epam.com>
Wed, 24 Jan 2018 17:19:58 +0000 (19:19 +0200)
committerWei Liu <wei.liu2@citrix.com>
Thu, 25 Jan 2018 11:35:21 +0000 (11:35 +0000)
commit32e31182ea3178ab04c8f66ee3b1465f0fc9b255
treec483cd484c6322ebdb183920ebf91b261b404c8b
parent4b3dd5439e24cc85c54cae01815bdb3e57234955
libxl: move libxl__device_from_ to LIBXL_DEFINE_DEVICE_FROM_TYPE

LIBXL_DEFINE_DEVICE_FROM_TYPE uses libxl__..._devtype.type to
be assigned as device and backend type.

Signed-off-by: Oleksandr Grytsov <oleksandr_grytsov@epam.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxl/libxl_9pfs.c
tools/libxl/libxl_console.c
tools/libxl/libxl_internal.h
tools/libxl/libxl_nic.c
tools/libxl/libxl_vdispl.c
tools/libxl/libxl_vtpm.c