Re: [Xen-devel] [PATCH v1] libxl: remove list callback from device framework

2017-09-22 Thread Oleksandr Grytsov
On Fri, Sep 22, 2017 at 5:17 PM, Wei Liu wrote: > On Fri, Sep 22, 2017 at 05:00:44PM +0300, Oleksandr Grytsov wrote: >> On Fri, Sep 22, 2017 at 4:02 PM, Wei Liu wrote: >> > On Fri, Sep 22, 2017 at 03:28:55PM +0300, Oleksandr Grytsov wrote: >> >> From:

Re: [Xen-devel] [PATCH v1] libxl: remove list callback from device framework

2017-09-22 Thread Wei Liu
On Fri, Sep 22, 2017 at 05:00:44PM +0300, Oleksandr Grytsov wrote: > On Fri, Sep 22, 2017 at 4:02 PM, Wei Liu wrote: > > On Fri, Sep 22, 2017 at 03:28:55PM +0300, Oleksandr Grytsov wrote: > >> From: Oleksandr Grytsov > >> > >> As we have generic

Re: [Xen-devel] [PATCH v1] libxl: remove list callback from device framework

2017-09-22 Thread Oleksandr Grytsov
On Fri, Sep 22, 2017 at 4:02 PM, Wei Liu wrote: > On Fri, Sep 22, 2017 at 03:28:55PM +0300, Oleksandr Grytsov wrote: >> From: Oleksandr Grytsov >> >> As we have generic functions to get device list >> (libxl__device_list) no need to have callback

Re: [Xen-devel] [PATCH v1] libxl: remove list callback from device framework

2017-09-22 Thread Wei Liu
On Fri, Sep 22, 2017 at 03:28:55PM +0300, Oleksandr Grytsov wrote: > From: Oleksandr Grytsov > > As we have generic functions to get device list > (libxl__device_list) no need to have callback in > the framework. To resolve issue when XS entry > doesn't match device

[Xen-devel] [PATCH v1] libxl: remove list callback from device framework

2017-09-22 Thread Oleksandr Grytsov
From: Oleksandr Grytsov As we have generic functions to get device list (libxl__device_list) no need to have callback in the framework. To resolve issue when XS entry doesn't match device name, device type is extended with field "entry" which keeps XS entry.

[Xen-devel] [PATCH v1] libxl: remove list callback from device framework

2017-09-22 Thread Oleksandr Grytsov
From: Oleksandr Grytsov Rebase Wei Liu (1): libxl: provide typedefs for device framework functions tools/libxl/libxl_9pfs.c | 6 ++-- tools/libxl/libxl_console.c | 6 ++-- tools/libxl/libxl_disk.c | 5 ++-- tools/libxl/libxl_internal.h | 71