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

Re: [Xen-devel] [PATCH v6 4/9] xen/libxc: sched: DOMCTL_*vcpuaffinity works with hard and soft affinity

>>> On 28.05.14 at 02:42, <dario.faggioli@xxxxxxxxxx> wrote:
> by adding a flag for the caller to specify which one he cares about.
> At the same time, enable the caller to get back the "effective affinity"
> of the vCPU. That is the intersection between cpupool's cpus, the (new)
> hard affinity and, for soft affinity, the (new) soft affinity. In fact,
> despite what has been successfully set with the DOMCTL_setvcpuaffinity
> hypercall, the Xen scheduler will never run a vCPU outside of its hard
> affinity or of its domain's cpupool.
> This happens by adding another cpumap to the interface and making both
> the cpumaps IN/OUT parameters (for DOMCTL_setvcpuaffinity, they're of
> course out-only for DOMCTL_getvcpuaffinity).
> Signed-off-by: Dario Faggioli <dario.faggioli@xxxxxxxxxx>
> Reviewed-by: George Dunlap <george.dunlap@xxxxxxxxxxxxx>

Hypervisor side (pending tools maintainers too being okay with the
public interface change)
Acked-by: Jan Beulich <jbeulich@xxxxxxxx>

Xen-devel mailing list



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