From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH v7 15/21] libxl: define LIBXL_HAVE_VNUMA Date: Wed, 11 Mar 2015 15:03:34 +0000 Message-ID: <1426086214.21353.261.camel@citrix.com> References: <1425905497-30835-1-git-send-email-wei.liu2@citrix.com> <1425905497-30835-16-git-send-email-wei.liu2@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1425905497-30835-16-git-send-email-wei.liu2@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Wei Liu Cc: Ian Jackson , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Mon, 2015-03-09 at 12:51 +0000, Wei Liu wrote: > Signed-off-by: Wei Liu > Reviewed-by: Dario Faggioli > Cc: Ian Campbell > Cc: Ian Jackson Acked-by: Ian Campbell (IMHO it is acceptable to include this in the patch which adds the last bit of functionality which it is expected to cover, but I don't mind it separate either) > --- > Changes in v6: > 1. Better description of the macro. > --- > tools/libxl/libxl.h | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/tools/libxl/libxl.h b/tools/libxl/libxl.h > index e3d2ae8..97a7c9c 100644 > --- a/tools/libxl/libxl.h > +++ b/tools/libxl/libxl.h > @@ -67,6 +67,13 @@ > * the same $(XEN_VERSION) (e.g. throughout a major release). > */ > > +/* LIBXL_HAVE_VNUMA > + * > + * If this is defined the type libxl_vnode_info exists, and a > + * field 'vnuma_nodes' is present in libxl_domain_build_info. > + */ > +#define LIBXL_HAVE_VNUMA 1 > + > /* LIBXL_HAVE_USERDATA_UNLINK > * > * If it is defined, libxl has a library function called