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

Re: [Xen-devel] [PATCH v2 11/16] libxc: get and set soft and hard affinity

On 13/11/13 19:12, Dario Faggioli wrote:
by using the new flag introduced in the parameters of

This happens in two new xc calls: xc_vcpu_setaffinity_hard()
and xc_vcpu_setaffinity_soft() (an in the corresponding
getters, of course).

Personally I think:
* You should be able to set both HARD and SOFT flags, in which case it will set both hard and soft affinities * You should expose the "flags" to the xc caller, so that the caller can set either one or both.

The existing xc_vcpu_{set,get}affinity() call is also retained,
with the following behavior:

  * xc_vcpu_setaffinity() sets both the hard and soft affinity;
  * xc_vcpu_getaffinity() gets the hard affinity.

This is mainly for backward compatibility reasons, i.e., trying
not to break existing callers/users.

The xc interface isn't stable, right? Couldn't we just change the callers (presumably just xend and libxl)?


Xen-devel mailing list



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