Files
xen/tools/libxc
Dario Faggioli 6cc89d3101 libxc: get and set soft and hard affinity
by using the flag and the new cpumap arguments introduced in
the parameters of the DOMCTL_{get,set}_vcpuaffinity hypercalls.

Now, both xc_vcpu_setaffinity() and xc_vcpu_getaffinity() have
a new flag parameter, to specify whether the user wants to
set/get hard affinity, soft affinity or both. They also have
two cpumap parameters instead of only one. This way, it is
possible to set/get both hard and soft affinity at the same
time (and, in case of set, each one to its own value).

In xc_vcpu_setaffinity(), the cpumaps are IN/OUT parameters,
as it is for the corresponding arguments of the
DOMCTL_set_vcpuaffinity hypercall. What Xen puts there is the
hard and soft effective affinity, that is what Xen will actually
use for scheduling.

In-tree callers are also fixed to cope with the new interface.

Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
Acked-by: George Dunlap <george.dunlap@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
2014-06-27 13:38:32 +01:00
..
2010-08-24 18:42:59 +01:00
2014-06-27 13:38:32 +01:00
2013-04-11 11:09:25 +01:00
2010-08-24 18:42:59 +01:00
2010-08-24 18:42:59 +01:00
2010-08-24 18:42:59 +01:00
2010-08-24 18:42:59 +01:00
2014-03-12 13:26:15 +00:00
2014-06-18 17:17:49 +01:00
2013-11-12 11:47:07 +01:00
2010-08-24 18:42:59 +01:00
2014-06-05 13:53:59 +01:00
2014-05-02 13:34:34 +01:00
2010-08-24 18:42:59 +01:00