libxl: add generic functions to get and free device list
authorOleksandr Grytsov <oleksandr_grytsov@epam.com>
Mon, 10 Jul 2017 13:50:12 +0000 (16:50 +0300)
committerOleksandr Grytsov <oleksandr_grytsov@epam.com>
Wed, 13 Sep 2017 07:54:45 +0000 (10:54 +0300)
commit1b700c5ae5d5ae525ee6f58da01b471eb0c4bc9d
treee012f55dada2007ccd9825df1feb40efe6460ac1
parent58907d389bb30c48f285bbfce254e4939d61ec03
libxl: add generic functions to get and free device list

Add libxl__device_list and libxl__device_list_free
functions to handle device list using the device
framework.

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