From: Wei Liu Subject: [PATCH v7 15/21] libxl: define LIBXL_HAVE_VNUMA Date: Mon, 9 Mar 2015 12:51:31 +0000 Message-ID: <1425905497-30835-16-git-send-email-wei.liu2@citrix.com> References: <1425905497-30835-1-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-1-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: xen-devel@lists.xen.org Cc: Ian Jackson , Wei Liu , Ian Campbell List-Id: xen-devel@lists.xenproject.org Signed-off-by: Wei Liu Reviewed-by: Dario Faggioli Cc: Ian Campbell Cc: Ian Jackson --- 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 -- 1.9.1