From: Ian Campbell Subject: Re: [PATCH RFC 5/7] libxl/vnuma: vnuma enabler. Date: Tue, 27 Aug 2013 10:46:32 +0100 Message-ID: <1377596792.2348.67.camel@kazak.uk.xensource.com> References: <1377590066-8832-1-git-send-email-ufimtseva@gmail.com> <1377590066-8832-6-git-send-email-ufimtseva@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1377590066-8832-6-git-send-email-ufimtseva@gmail.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: Elena Ufimtseva Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Tue, 2013-08-27 at 03:54 -0400, Elena Ufimtseva wrote: > Enables libxl vnuma ABI by LIBXL_HAVE_BUILDINFO_VNUMA. This should be in the patch which introduces the libxl interface and as I mentioned it doesn't need to be ifdef'd in the library. A more natural way to structure this series would be to add the libxl stuff in one patch and the xl stuff in a second. > > Signed-off-by: Elena Ufimtseva > --- > tools/libxl/libxl.h | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/tools/libxl/libxl.h b/tools/libxl/libxl.h > index a1a5e33..ad0d0d8 100644 > --- a/tools/libxl/libxl.h > +++ b/tools/libxl/libxl.h > @@ -90,6 +90,14 @@ > #define LIBXL_HAVE_BUILDINFO_HVM_VENDOR_DEVICE 1 > > /* > + * LIBXL_HAVE_BUILDINFO_VNUMA indicates that vnuma topology will be > + * build for the guest upon request and with VM configuration. > + * It will try to define best allocation for vNUMA > + * nodes on real NUMA nodes. > + */ > +#define LIBXL_HAVE_BUILDINFO_VNUMA 1 > + > +/* > * libxl ABI compatibility > * > * The only guarantee which libxl makes regarding ABI compatibility