From: Ian Campbell Subject: Re: [PATCH V5 01/32] libxl: make cpupool_qualifier_to_cpupoolid a library function Date: Wed, 21 May 2014 09:27:06 +0100 Message-ID: <1400660826.6946.108.camel@kazak.uk.xensource.com> References: <1400018054-26038-1-git-send-email-wei.liu2@citrix.com> <1400018054-26038-2-git-send-email-wei.liu2@citrix.com> <1400171325.883.18.camel@kazak.uk.xensource.com> <21371.27406.226242.217059@mariner.uk.xensource.com> <20140520172411.GB21047@zion.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20140520172411.GB21047@zion.uk.xensource.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 Tue, 2014-05-20 at 18:24 +0100, Wei Liu wrote: > On Tue, May 20, 2014 at 03:47:42PM +0100, Ian Jackson wrote: > > Ian Campbell writes ("Re: [PATCH V5 01/32] libxl: make cpupool_qualifier_to_cpupoolid a library function"): > > > On Tue, 2014-05-13 at 22:53 +0100, Wei Liu wrote: > > > > Signed-off-by: Wei Liu > > > > > > Acked-by: Ian Campbell > > > > > > I'm unsure whether additions to libxl_utils.h should have a > > > corresponding #define LIBXL_HAVE. > > > > Yes, I think they probably should. Actually I was confusing libxl_utils.h with libxlu_*.h here. libxl_utils.h is part of libxl proper so you are of course correct. > I will have the following snippet in libxl.h > > /* LIBXL_HAVE_CPUPOOL_QUALIFIER_TO_CPUPOOLID > * > * If this is defined, libxl has a library function called > * libxl_cpupool_qualifier_to_cpupoolid, which takes in a CPU pool > * qualifier in the form of number or string, then returns the ID of > * that CPU pool. > */ > #define LIBXL_HAVE_CPUPOOL_QUALIFIER_TO_CPUPOOLID 1 > > Do you think it is OK? Can I retain Ian's ack? Ack. > > Wei. > > > Ian.