Re: [Xen-devel] [PATCH v5 19/24] libxl: define LIBXL_HAVE_VNUMA

2015-02-13 Thread Wei Liu
On Fri, Feb 13, 2015 at 03:26:49PM +, Ian Jackson wrote: > Wei Liu writes ("Re: [PATCH v5 19/24] libxl: define LIBXL_HAVE_VNUMA"): > > There is no new API yet. Just new structure to specify vNUMA > > configuration. > > > > How about this: > > > > /* LIBXL_HAVE_VNUMA > > * > > * If this is d

Re: [Xen-devel] [PATCH v5 19/24] libxl: define LIBXL_HAVE_VNUMA

2015-02-13 Thread Ian Jackson
Wei Liu writes ("Re: [PATCH v5 19/24] libxl: define LIBXL_HAVE_VNUMA"): > There is no new API yet. Just new structure to specify vNUMA > configuration. > > How about this: > > /* LIBXL_HAVE_VNUMA > * > * If this is defined, libxl's IDL has libxl_vnode_info and there is a > * array call vnuma_n

Re: [Xen-devel] [PATCH v5 19/24] libxl: define LIBXL_HAVE_VNUMA

2015-02-13 Thread Ian Jackson
Ian Jackson writes ("Re: [PATCH v5 19/24] libxl: define LIBXL_HAVE_VNUMA"): > Yes, something like that. It would be better if the precise wording > were more similar to that for the other HAVE macros. How about: > >* If this is defined the type libxl_vnode_info exists, and a >* field 'vn

Re: [Xen-devel] [PATCH v5 19/24] libxl: define LIBXL_HAVE_VNUMA

2015-02-13 Thread Wei Liu
On Fri, Feb 13, 2015 at 02:12:58PM +, Ian Jackson wrote: > Wei Liu writes ("[PATCH v5 19/24] libxl: define LIBXL_HAVE_VNUMA"): > > Signed-off-by: Wei Liu > ... > > +/* LIBXL_HAVE_VNUMA > > + * > > + * If it is defined, libxl supports vNUMA configuration > > + */ > > I think you should be more

Re: [Xen-devel] [PATCH v5 19/24] libxl: define LIBXL_HAVE_VNUMA

2015-02-13 Thread Ian Jackson
Wei Liu writes ("[PATCH v5 19/24] libxl: define LIBXL_HAVE_VNUMA"): > Signed-off-by: Wei Liu ... > +/* LIBXL_HAVE_VNUMA > + * > + * If it is defined, libxl supports vNUMA configuration > + */ I think you should be more specific about which calls are covered. Ian. ___

[Xen-devel] [PATCH v5 19/24] libxl: define LIBXL_HAVE_VNUMA

2015-02-12 Thread Wei Liu
Signed-off-by: Wei Liu Cc: Ian Campbell Cc: Ian Jackson --- tools/libxl/libxl.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/tools/libxl/libxl.h b/tools/libxl/libxl.h index c219f59..f33178c 100644 --- a/tools/libxl/libxl.h +++ b/tools/libxl/libxl.h @@ -67,6 +67,12 @@ * the same $