Add XEN_DOMCTL_SCHEDOP_getvcpuinfo and _putvcpuinfo hypercalls
to independently get and set the scheduling parameters of each
vCPU of a domain
Signed-off-by: Chong Li
Signed-off-by: Meng Xu
Signed-off-by: Sisu Xi
---
Changes on PATCH
>>> On 17.03.16 at 21:42, wrote:
> On Thu, Mar 17, 2016 at 5:03 AM, Dario Faggioli
> wrote:
>> On Wed, 2016-03-16 at 11:47 -0500, Chong Li wrote:
>
>>
>>> --- a/xen/common/sched_rt.c
>>> +++ b/xen/common/sched_rt.c
>>> @@ -1129,24 +1145,22 @@
On Fri, 2016-03-18 at 01:39 -0600, Jan Beulich wrote:
> >
> > > > On 17.03.16 at 21:42, wrote:
> > On Thu, Mar 17, 2016 at 5:03 AM, Dario Faggioli
> > wrote:
> > >
> > > I'd say that, in this specific case, is not a big deal which one
> > > of
On Wed, 2016-03-16 at 11:47 -0500, Chong Li wrote:
> --- a/xen/common/sched_credit.c
> +++ b/xen/common/sched_credit.c
> @@ -1054,15 +1054,16 @@ csched_dom_cntl(
> * lock. Runq lock not needed anywhere in here. */
> spin_lock_irqsave(>lock, flags);
>
> -if ( op->cmd ==
>>> On 17.03.16 at 11:03, wrote:
> On Wed, 2016-03-16 at 11:47 -0500, Chong Li wrote:
>> --- a/xen/common/sched_credit.c
>> +++ b/xen/common/sched_credit.c
>> @@ -1054,15 +1054,16 @@ csched_dom_cntl(
>> * lock. Runq lock not needed anywhere in here. */
>>
On Thu, Mar 17, 2016 at 5:03 AM, Dario Faggioli
wrote:
> On Wed, 2016-03-16 at 11:47 -0500, Chong Li wrote:
>
>> --- a/xen/common/sched_rt.c
>> +++ b/xen/common/sched_rt.c
>> @@ -1129,24 +1145,22 @@ rt_dom_cntl(
>> struct vcpu *v;
>> unsigned long flags;
>>
On Fri, Mar 18, 2016 at 5:47 AM, Dario Faggioli
wrote:
> On Fri, 2016-03-18 at 01:39 -0600, Jan Beulich wrote:
>> >
>> > > > On 17.03.16 at 21:42, wrote:
>> > On Thu, Mar 17, 2016 at 5:03 AM, Dario Faggioli
>> > wrote: