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

Re: [Xen-devel] [PATCH 3/4] sched/arinc653: Remove MAX_VIRT_CPUS bounds check



>>> On 19.01.15 at 12:21, <andrew.cooper3@xxxxxxxxxx> wrote:
> The arinc653 interface is capable of specifying a domain in the schedule 
> (from
> the toolstack) before the domain itself exists, or is present in the cpupool
> (The domain is identified by UUID rather than domid). As a result, the
> schedule can't be validated at this point.
> 
> The vcpu_id from userspace is only ever used to compare against a list of 
> real
> vcpus available to the scheduler, which prevents ill-specified vcpus from
> actually being scheduled.
> 
> Remove the MAX_VIRT_CPUS test, as it is not an appropriate bound for 
> vcpu_id.
> 
> Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>

Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>


_______________________________________________
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®.