[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v6 6/9] libxl: get and set soft affinity



On Wed, 2014-05-28 at 16:13 +0100, Ian Campbell wrote:
> On Wed, 2014-05-28 at 01:42 +0100, Dario Faggioli wrote:
> > diff --git a/tools/libxl/libxl.h b/tools/libxl/libxl.h
> > index 80947c3..e761881 100644
> > --- a/tools/libxl/libxl.h
> > +++ b/tools/libxl/libxl.h
> > @@ -82,6 +82,15 @@
> >  #define LIBXL_HAVE_DOMAIN_NODEAFFINITY 1
> >  
> >  /*
> > + * LIBXL_HAVE_SOFT_AFFINITY indicates that a 'cpumap_soft'
> > + * field (of libxl_bitmap type) is present in:
> > + *  - libxl_vcpuinfo, containing the soft affinity of a vcpu;
> > + *  - libxl_domain_build_info, for setting the soft affinity od
> 
> s/od/of/
> 
Ok!

> >  int libxl_get_physinfo(libxl_ctx *ctx, libxl_physinfo *physinfo);
> >  int libxl_set_vcpuaffinity(libxl_ctx *ctx, uint32_t domid, uint32_t vcpuid,
> > -                           libxl_bitmap *cpumap);
> > +                           const libxl_bitmap *cpumap_hard,
> > +                           const libxl_bitmap *cpumap_soft);
> >  int libxl_set_vcpuaffinity_all(libxl_ctx *ctx, uint32_t domid,
> > -                               unsigned int max_vcpus, libxl_bitmap 
> > *cpumap);
> > +                               unsigned int max_vcpus,
> > +                               const libxl_bitmap *cpumap_hard,
> > +                               const libxl_bitmap *cpumap_soft);
> > +
> > +#if defined (LIBXL_API_VERSION) && LIBXL_API_VERSION < 0x040400
> 
> This now needs to be 0x040500 I think.
> 
Indeed it does. :-)

Thanks, Dario

-- 
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://about.me/dario.faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.